Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Mean.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.001777/0.001777, allocations: 109 kB / 20.48 MB, free: 1.477 MB / 14.72 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.001642/0.001642, allocations: 209.7 kB / 23.79 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 207.6 MB / 234.6 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2358/0.2358, allocations: 44.24 MB / 331.1 MB, free: 9.52 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Blocks.Mean,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Mean",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Mean,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Mean",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002291/0.002291, allocations: 68.47 kB / 468.3 MB, free: 4.512 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1383, allocations: 61.03 MB / 0.5169 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Mean): time 0.003896/0.1422, allocations: 2.253 MB / 0.5191 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.144, allocations: 0.8305 MB / 0.5199 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001576/0.1441, allocations: 7.938 kB / 0.5199 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001826/0.1443, allocations: 35.55 kB / 0.52 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002567/0.1446, allocations: 59.44 kB / 0.52 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003639/0.1449, allocations: 143.7 kB / 0.5201 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004449/0.1454, allocations: 363 kB / 0.5205 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002357/0.1456, allocations: 84.8 kB / 0.5206 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002132/0.1458, allocations: 139.5 kB / 0.5207 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002469/0.1461, allocations: 155.2 kB / 0.5209 GB, free: 3.266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.517e-05/0.1461, allocations: 32 kB / 0.5209 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.586e-05/0.1462, allocations: 32 kB / 0.5209 GB, free: 3.203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.486e-05/0.1463, allocations: 87.69 kB / 0.521 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.1464, allocations: 159.1 kB / 0.5211 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004419/0.1469, allocations: 358.5 kB / 0.5215 GB, free: 2.609 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1469, allocations: 4 kB / 0.5215 GB, free: 2.605 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1469, allocations: 3.938 kB / 0.5215 GB, free: 2.602 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.1469, allocations: 0 / 0.5215 GB, free: 2.602 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.00146/0.1484, allocations: 0.6719 MB / 0.5222 GB, free: 1.887 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.1484, allocations: 12.03 kB / 0.5222 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.648e-05/0.1485, allocations: 16.84 kB / 0.5222 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001209/0.1486, allocations: 83.25 kB / 0.5223 GB, free: 1.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.479e-05/0.1487, allocations: 40.7 kB / 0.5223 GB, free: 1.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005689/0.1492, allocations: 273.5 kB / 0.5226 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.91e-05/0.1493, allocations: 29.03 kB / 0.5226 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.663e-05/0.1493, allocations: 48.06 kB / 0.5226 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005743/0.1499, allocations: 290 kB / 0.5229 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.1499, allocations: 11.95 kB / 0.5229 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.454e-05/0.15, allocations: 12 kB / 0.5229 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.15, allocations: 4 kB / 0.5229 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004743/0.1505, allocations: 214.5 kB / 0.5231 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001515/0.152, allocations: 0.8002 MB / 0.5239 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005088/0.1525, allocations: 231.6 kB / 0.5241 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002875/0.1528, allocations: 137.4 kB / 0.5243 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.1528, allocations: 4.328 kB / 0.5243 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005246/0.1533, allocations: 270.1 kB / 0.5245 GB, free: 15.33 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 2.104e-06/0.1533, allocations: 4 kB / 0.5245 GB, free: 15.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=54): time 0.002088/0.1554, allocations: 0.8166 MB / 0.5253 GB, free: 14.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.1555, allocations: 63.84 kB / 0.5254 GB, free: 14.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.1557, allocations: 237 kB / 0.5256 GB, free: 14.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.197e-05/0.1558, allocations: 45.69 kB / 0.5257 GB, free: 14.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000187/0.156, allocations: 169.1 kB / 0.5258 GB, free: 13.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.1561, allocations: 178.5 kB / 0.526 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.1563, allocations: 98.33 kB / 0.5261 GB, free: 13.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.1565, allocations: 350.7 kB / 0.5264 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002773/0.1567, allocations: 133.2 kB / 0.5266 GB, free: 13.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004538/0.1572, allocations: 298.2 kB / 0.5268 GB, free: 12.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007808/0.158, allocations: 467.3 kB / 0.5273 GB, free: 12.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.158, allocations: 4 kB / 0.5273 GB, free: 12.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009762/0.1589, allocations: 0.4971 MB / 0.5278 GB, free: 11.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.159, allocations: 8 kB / 0.5278 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.159, allocations: 4 kB / 0.5278 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.773e-05/0.159, allocations: 11.94 kB / 0.5278 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004732/0.1595, allocations: 115.8 kB / 0.5279 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.705e-05/0.1595, allocations: 15.92 kB / 0.5279 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.1597, allocations: 23.94 kB / 0.5279 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-05/0.1598, allocations: 23.98 kB / 0.528 GB, free: 11.62 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y,rectifiedMean.mean.y,$PRE.rectifiedMean.mean.y,mean.y,$PRE.mean.y,harmonic.mean1.y,$PRE.harmonic.mean1.y,harmonic.mean2.y,$PRE.harmonic.mean2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0002571/0.16, allocations: 193.6 kB / 0.5282 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.14e-05/0.1601, allocations: 35.8 kB / 0.5282 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009315/0.161, allocations: 457.5 kB / 0.5286 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.161, allocations: 11.98 kB / 0.5286 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.161, allocations: 4 kB / 0.5286 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.161, allocations: 3.938 kB / 0.5286 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.1629, allocations: 1.033 MB / 0.5297 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.1629, allocations: 0 / 0.5297 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000379/0.1633, allocations: 87.89 kB / 0.5297 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.1633, allocations: 4 kB / 0.5297 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.25e-05/0.1633, allocations: 15.98 kB / 0.5298 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.902e-05/0.1633, allocations: 4 kB / 0.5298 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/0.1633, allocations: 11.88 kB / 0.5298 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/0.1646, allocations: 0.7404 MB / 0.5305 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.969e-05/0.1647, allocations: 35.83 kB / 0.5305 GB, free: 8.879 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.042e-05/0.1647, allocations: 12 kB / 0.5305 GB, free: 8.867 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.165, allocations: 19.98 kB / 0.5306 GB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.1651, allocations: 48.23 kB / 0.5306 GB, free: 8.801 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.066e-05/0.1651, allocations: 23.98 kB / 0.5306 GB, free: 8.777 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001829/0.1653, allocations: 168.5 kB / 0.5308 GB, free: 8.609 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1653, allocations: 3.938 kB / 0.5308 GB, free: 8.605 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004682/0.1658, allocations: 76 kB / 0.5309 GB, free: 8.531 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (harmonic.mean2.x,harmonic.mean1.x,rootMeanSquare.mean.x,rectifiedMean.mean.x,mean.x) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,harmonic.mean2.y,harmonic.mean1.y,rootMeanSquare.mean.y,rectifiedMean.mean.y,mean.y) * Number of discrete states: 5 (harmonic.mean2.x,harmonic.mean1.x,rootMeanSquare.mean.x,rectifiedMean.mean.x,mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001725/0.1675, allocations: 1.312 MB / 0.5321 GB, free: 7.176 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009154/0.1684, allocations: 366.5 kB / 0.5325 GB, free: 6.816 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.1684, allocations: 1.125 kB / 0.5325 GB, free: 6.816 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003974/0.1688, allocations: 198.6 kB / 0.5327 GB, free: 6.617 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004627/0.1693, allocations: 44.55 kB / 0.5327 GB, free: 6.574 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005478/0.1747, allocations: 3.683 MB / 0.5363 GB, free: 2.633 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005188/0.1753, allocations: 0.8088 MB / 0.5371 GB, free: 1.801 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002169/0.1755, allocations: 51.27 kB / 0.5372 GB, free: 1.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002229/0.1757, allocations: 135.4 kB / 0.5373 GB, free: 1.617 MB / 414.1 MB Notification: Performance of SimCode: time 7.32e-07/0.1757, allocations: 0 / 0.5373 GB, free: 1.617 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2527/0.4284, allocations: 7.373 MB / 0.5445 GB, free: 27.71 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.43, allocations: 9.453 kB / 0.5445 GB, free: 27.71 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Mean.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Mean.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Mean.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Mean.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.Mean_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_Mean_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219736 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_Mean.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.Mean.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.502103173988871] Failed to read output from testmodel.py, exit status != 0: ['time', 'mean.x', 'mean.y'] 12.596841287973803 12.615992275 12.464858293 Calling exit ...