Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.SSVTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008648/0.0008648, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008985/0.0008985, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8903/0.8903, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo): time 0.01092/0.01092, allocations: 2.257 MB / 261.4 MB, free: 10.98 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternData with version 3.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ExternData.Examples.SSVTest,fileNamePrefix="ExternData_ExternData_Examples_SSVTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternData.Examples.SSVTest,fileNamePrefix="ExternData_ExternData_Examples_SSVTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 385.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.527e-05/1.699e-05, allocations: 6.281 kB / 385.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.002088/0.002105, allocations: 1.658 MB / 387 MB, free: 10.73 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.00393, allocations: 1.815 MB / 388.8 MB, free: 8.906 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.634e-05/0.003986, allocations: 0 / 388.8 MB, free: 8.906 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:147:3-177:14:writable] Warning: Pure function 'ExternData.SSVFile' contains a call to impure function 'ExternData.Types.ExternXML2File.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0006144/0.0046, allocations: 163.3 kB / 388.9 MB, free: 8.746 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.004715, allocations: 71.61 kB / 389 MB, free: 8.676 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.004896, allocations: 88.39 kB / 389.1 MB, free: 8.59 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.005023, allocations: 83.77 kB / 389.2 MB, free: 8.508 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.231e-05/0.005096, allocations: 23.77 kB / 389.2 MB, free: 8.484 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.518e-05/0.005161, allocations: 43.91 kB / 389.2 MB, free: 8.441 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.005261, allocations: 38.45 kB / 389.3 MB, free: 8.406 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.005276, allocations: 7.938 kB / 389.3 MB, free: 8.398 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002697/0.005546, allocations: 235.7 kB / 389.5 MB, free: 8.168 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.914e-05/0.005605, allocations: 19.92 kB / 389.5 MB, free: 8.148 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.224e-05/0.005647, allocations: 27.91 kB / 389.6 MB, free: 8.121 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003155/0.005962, allocations: 307.1 kB / 389.9 MB, free: 7.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.005964, allocations: 0 / 389.9 MB, free: 7.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.005965, allocations: 0 / 389.9 MB, free: 7.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.005969, allocations: 4 kB / 389.9 MB, free: 7.816 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005059/0.006475, allocations: 415 kB / 390.3 MB, free: 7.375 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.006514, allocations: 12.03 kB / 390.3 MB, free: 7.363 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.879e-05/0.006542, allocations: 30.75 kB / 390.3 MB, free: 7.324 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.047e-05/0.006583, allocations: 12.89 kB / 390.3 MB, free: 7.312 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.00676, allocations: 149.6 kB / 390.5 MB, free: 7.141 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.00677, allocations: 384 / 390.5 MB, free: 7.141 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.006784, allocations: 8.375 kB / 390.5 MB, free: 7.133 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.006952, allocations: 129.3 kB / 390.6 MB, free: 6.988 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-06/0.006959, allocations: 0 / 390.6 MB, free: 6.988 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.006968, allocations: 4 kB / 390.6 MB, free: 6.984 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.006974, allocations: 0 / 390.6 MB, free: 6.984 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.933e-05/0.007064, allocations: 77.67 kB / 390.7 MB, free: 6.902 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002934/0.007357, allocations: 272.7 kB / 390.9 MB, free: 6.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.93e-05/0.007456, allocations: 106.9 kB / 391.1 MB, free: 6.461 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.738e-05/0.007524, allocations: 75.45 kB / 391.1 MB, free: 6.375 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.007545, allocations: 0 / 391.1 MB, free: 6.375 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.00771, allocations: 176.4 kB / 391.3 MB, free: 6.172 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 7.72e-07/0.007711, allocations: 0 / 391.3 MB, free: 6.172 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003287/0.008039, allocations: 290.8 kB / 391.6 MB, free: 5.863 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.008081, allocations: 106.8 kB / 391.7 MB, free: 5.734 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.008181, allocations: 156.9 kB / 391.8 MB, free: 5.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.008194, allocations: 29.7 kB / 391.9 MB, free: 5.535 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.743e-05/0.008232, allocations: 92.14 kB / 392 MB, free: 5.441 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.008258, allocations: 27.8 kB / 392 MB, free: 5.414 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/0.008291, allocations: 29.66 kB / 392 MB, free: 5.379 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.725e-05/0.008369, allocations: 326.9 kB / 392.3 MB, free: 5.051 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.816e-05/0.008427, allocations: 73.61 kB / 392.4 MB, free: 4.973 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.748e-05/0.008484, allocations: 83.39 kB / 392.5 MB, free: 4.879 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.008601, allocations: 149 kB / 392.6 MB, free: 4.715 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.008602, allocations: 0 / 392.6 MB, free: 4.715 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001848/0.008787, allocations: 220.9 kB / 392.8 MB, free: 4.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/0.008816, allocations: 41.69 kB / 392.9 MB, free: 4.434 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.00882, allocations: 4.031 kB / 392.9 MB, free: 4.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.008831, allocations: 0 / 392.9 MB, free: 4.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.91e-05/0.00889, allocations: 11.98 kB / 392.9 MB, free: 4.418 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.008895, allocations: 0 / 392.9 MB, free: 4.418 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.862e-05/0.008943, allocations: 15.89 kB / 392.9 MB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.008954, allocations: 4 kB / 392.9 MB, free: 4.398 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.368e-05/0.009047, allocations: 163.4 kB / 393.1 MB, free: 4.223 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.009066, allocations: 15.94 kB / 393.1 MB, free: 4.207 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.342e-05/0.009089, allocations: 12.78 kB / 393.1 MB, free: 4.191 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.009091, allocations: 0 / 393.1 MB, free: 4.191 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.009096, allocations: 4 kB / 393.1 MB, free: 4.188 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.0091, allocations: 4 kB / 393.1 MB, free: 4.184 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.009209, allocations: 164.6 kB / 393.3 MB, free: 3.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.009211, allocations: 4.062 kB / 393.3 MB, free: 3.977 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.257e-05/0.009234, allocations: 4 kB / 393.3 MB, free: 3.973 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.009237, allocations: 4 kB / 393.3 MB, free: 3.969 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.009246, allocations: 0 / 393.3 MB, free: 3.969 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.009251, allocations: 7.984 kB / 393.3 MB, free: 3.961 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.009252, allocations: 240 / 393.3 MB, free: 3.961 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.009494, allocations: 281.1 kB / 393.6 MB, free: 3.652 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.981e-05/0.009514, allocations: 23.97 kB / 393.6 MB, free: 3.629 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.009536, allocations: 8 kB / 393.6 MB, free: 3.621 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.4e-05/0.00957, allocations: 7.984 kB / 393.6 MB, free: 3.613 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-05/0.009601, allocations: 7.984 kB / 393.6 MB, free: 3.605 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.009616, allocations: 4 kB / 393.6 MB, free: 3.602 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.318e-05/0.009679, allocations: 120.8 kB / 393.7 MB, free: 3.484 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009679, allocations: 0 / 393.7 MB, free: 3.484 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002395/0.009918, allocations: 91.73 kB / 393.8 MB, free: 3.395 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001108/0.01103, allocations: 1.179 MB / 395 MB, free: 2.289 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002054/0.01123, allocations: 222.7 kB / 395.2 MB, free: 2.047 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.01123, allocations: 0 / 395.2 MB, free: 2.047 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.048e-05/0.01131, allocations: 141 kB / 395.4 MB, free: 1.891 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.01149, allocations: 15.98 kB / 395.4 MB, free: 1.875 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.01314, allocations: 2.035 MB / 397.4 MB, free: 15.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.179e-05/0.01319, allocations: 87.31 kB / 397.5 MB, free: 15.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.432e-05/0.01323, allocations: 8.734 kB / 397.5 MB, free: 15.58 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.446e-05/0.01329, allocations: 48.45 kB / 397.6 MB, free: 15.54 MB / 378.7 MB Notification: Performance of SimCode: time 3.8e-07/0.01329, allocations: 0 / 397.6 MB, free: 15.54 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02006/0.03335, allocations: 5.537 MB / 403.1 MB, free: 10.01 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.72/6.754, allocations: 10.81 kB / 403.1 MB, free: 10.01 MB / 378.7 MB " [Timeout remaining time 653] (rm -f ExternData_ExternData.Examples.SSVTest.pipe ; mkfifo ExternData_ExternData.Examples.SSVTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.SSVTest.pipe >> ../files/ExternData_ExternData.Examples.SSVTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternData_ExternData_Examples_SSVTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ExternData_ExternData_Examples_SSVTest.fmu > ExternData_ExternData.Examples.SSVTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.476243231445551] Failed to read output from testmodel.py, exit status != 0: 6.8620285633951426 6.870756077 6.86308695 Calling exit ...