Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestCylinderUnitOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 109.2 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001943/0.001943, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.358/1.358, allocations: 207.6 MB / 229.8 MB, free: 11.42 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01125/0.01125, allocations: 1.975 MB / 283.6 MB, free: 5.078 MB / 222.1 MB " [Timeout remaining time 180] Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(MEV.Test.TestCylinderUnitOnOff,fileNamePrefix="MEV_MEV_Test_TestCylinderUnitOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestCylinderUnitOnOff,fileNamePrefix="MEV_MEV_Test_TestCylinderUnitOnOff",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 75.73 kB / 396.5 MB, free: 51.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0686/0.07069, allocations: 49.66 MB / 446.2 MB, free: 7.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.003448/0.07414, allocations: 3.427 MB / 449.6 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.07519, allocations: 0.8849 MB / 450.5 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.07534, allocations: 4 kB / 450.5 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.07549, allocations: 59.36 kB / 450.6 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002099/0.0757, allocations: 142.8 kB / 450.7 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.07598, allocations: 131.7 kB / 450.8 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003371/0.07632, allocations: 0.5173 MB / 451.4 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.07649, allocations: 100.8 kB / 451.5 MB, free: 2.516 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.07664, allocations: 203.2 kB / 451.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.07681, allocations: 195.2 kB / 451.8 MB, free: 2.125 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.434e-05/0.07685, allocations: 44 kB / 451.9 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.042e-05/0.07694, allocations: 44 kB / 451.9 MB, free: 2.039 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.328e-05/0.07699, allocations: 99.61 kB / 452 MB, free: 1.941 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.07713, allocations: 222.9 kB / 452.2 MB, free: 1.723 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003715/0.0775, allocations: 474.1 kB / 452.7 MB, free: 1.258 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.0775, allocations: 0 / 452.7 MB, free: 1.258 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.0775, allocations: 0 / 452.7 MB, free: 1.258 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.07751, allocations: 4 kB / 452.7 MB, free: 1.254 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001095/0.07861, allocations: 0.7514 MB / 453.5 MB, free: 452 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.07864, allocations: 15.89 kB / 453.5 MB, free: 436 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.432e-05/0.0787, allocations: 74.66 kB / 453.5 MB, free: 352 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.757e-05/0.07876, allocations: 44.66 kB / 453.6 MB, free: 308 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/0.07913, allocations: 311.6 kB / 453.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.378e-05/0.07916, allocations: 32.72 kB / 453.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.538e-05/0.07924, allocations: 35.95 kB / 454 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005974/0.07983, allocations: 298 kB / 454.3 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.07985, allocations: 0 / 454.3 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.44e-05/0.07988, allocations: 16 kB / 454.3 MB, free: 15.58 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.07989, allocations: 8 kB / 454.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005573/0.08045, allocations: 238.5 kB / 454.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001581/0.08203, allocations: 0.9172 MB / 455.4 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005562/0.08259, allocations: 255.2 kB / 455.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002522/0.08284, allocations: 105.3 kB / 455.8 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.143e-05/0.08287, allocations: 8.219 kB / 455.8 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003909/0.08326, allocations: 183.5 kB / 456 MB, free: 13.81 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.593e-06/0.08326, allocations: 4 kB / 456 MB, free: 13.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002462/0.08572, allocations: 1.224 MB / 457.2 MB, free: 12.49 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.655e-05/0.08579, allocations: 63.34 kB / 457.3 MB, free: 12.42 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003477/0.08614, allocations: 304.5 kB / 457.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.602e-05/0.08618, allocations: 37.64 kB / 457.6 MB, free: 12.06 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.08633, allocations: 188.9 kB / 457.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.08644, allocations: 130.9 kB / 457.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.08656, allocations: 77.97 kB / 458 MB, free: 11.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.08673, allocations: 346.8 kB / 458.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.08701, allocations: 114.4 kB / 458.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002873/0.08729, allocations: 149.6 kB / 458.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005447/0.08784, allocations: 282 kB / 458.9 MB, free: 10.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.08784, allocations: 0 / 458.9 MB, free: 10.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000719/0.08856, allocations: 385.9 kB / 459.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.605e-05/0.0886, allocations: 33.7 kB / 459.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.08861, allocations: 4.062 kB / 459.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.08863, allocations: 3.984 kB / 459.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000331/0.08896, allocations: 75.91 kB / 459.3 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.08897, allocations: 4 kB / 459.3 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.08919, allocations: 23.97 kB / 459.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/0.08922, allocations: 12 kB / 459.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003546/0.08957, allocations: 220.5 kB / 459.6 MB, free: 9.984 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002735/0.08985, allocations: 149.1 kB / 459.7 MB, free: 9.832 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004936/0.09034, allocations: 275.9 kB / 460 MB, free: 9.547 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.282e-06/0.09034, allocations: 0 / 460 MB, free: 9.547 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0006894/0.09103, allocations: 390.8 kB / 460.4 MB, free: 9.152 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.09106, allocations: 33.69 kB / 460.4 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.09107, allocations: 4 kB / 460.4 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-06/0.09107, allocations: 0 / 460.4 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002897/0.09136, allocations: 71.91 kB / 460.5 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.09136, allocations: 0 / 460.5 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.09158, allocations: 27.97 kB / 460.5 MB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.0916, allocations: 12 kB / 460.5 MB, free: 9 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (controller.on,$PRE.controller.on,opening.count,$PRE.opening.count,opening.T_start,$PRE.opening.T_start,$whenCondition1,$whenCondition3,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 0.0001497/0.09175, allocations: 208.7 kB / 460.7 MB, free: 8.789 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.69e-05/0.09181, allocations: 39.7 kB / 460.8 MB, free: 8.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006953/0.0925, allocations: 332.9 kB / 461.1 MB, free: 8.418 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.423e-06/0.09251, allocations: 4 kB / 461.1 MB, free: 8.414 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.09251, allocations: 0 / 461.1 MB, free: 8.414 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.09252, allocations: 3.984 kB / 461.1 MB, free: 8.41 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/0.09388, allocations: 0.8776 MB / 462 MB, free: 7.457 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.09388, allocations: 3.984 kB / 462 MB, free: 7.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003667/0.09425, allocations: 79.89 kB / 462.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.09425, allocations: 160 / 462.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.09427, allocations: 15.94 kB / 462.1 MB, free: 7.359 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.09428, allocations: 4 kB / 462.1 MB, free: 7.355 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.09428, allocations: 3.938 kB / 462.1 MB, free: 7.352 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009629/0.09525, allocations: 0.5906 MB / 462.7 MB, free: 6.727 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/0.09542, allocations: 136.9 kB / 462.8 MB, free: 6.574 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.133e-05/0.09547, allocations: 8 kB / 462.8 MB, free: 6.566 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002592/0.09573, allocations: 27.97 kB / 462.9 MB, free: 6.539 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.09583, allocations: 39.89 kB / 462.9 MB, free: 6.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.09585, allocations: 12 kB / 462.9 MB, free: 6.488 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002323/0.09608, allocations: 219.1 kB / 463.1 MB, free: 6.277 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.09608, allocations: 0 / 463.1 MB, free: 6.277 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004863/0.09657, allocations: 144 kB / 463.3 MB, free: 6.137 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (bellJar.cylinder.M,bellJar.damper.s_rel,bellJar.damper.v_rel) * Number of discrete variables: 6 ($whenCondition2,$whenCondition3,$whenCondition1,opening.T_start,opening.count,controller.on) * Number of discrete states: 1 (opening.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001332/0.0979, allocations: 1.142 MB / 464.4 MB, free: 4.953 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009766/0.09888, allocations: 0.518 MB / 464.9 MB, free: 4.41 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.09888, allocations: 4 kB / 464.9 MB, free: 4.406 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003151/0.0992, allocations: 143.8 kB / 465.1 MB, free: 4.266 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004826/0.09968, allocations: 73.5 kB / 465.1 MB, free: 4.191 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005158/0.1048, allocations: 3.575 MB / 468.7 MB, free: 492 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000473/0.1053, allocations: 0.8001 MB / 469.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001885/0.1055, allocations: 42.94 kB / 469.6 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/0.1057, allocations: 123.3 kB / 469.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1057, allocations: 0 / 469.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03109/0.1368, allocations: 7.711 MB / 477.4 MB, free: 7.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.505/8.642, allocations: 3.938 kB / 477.4 MB, free: 7.727 MB / 350.1 MB " [Timeout remaining time 651] (rm -f MEV_MEV.Test.TestCylinderUnitOnOff.pipe ; mkfifo MEV_MEV.Test.TestCylinderUnitOnOff.pipe ; head -c 1048576 < MEV_MEV.Test.TestCylinderUnitOnOff.pipe >> ../files/MEV_MEV.Test.TestCylinderUnitOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestCylinderUnitOnOff_fmu --startTime=0 --stopTime=100 --stepSize=0.2 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestCylinderUnitOnOff.fmu > MEV_MEV.Test.TestCylinderUnitOnOff.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.07570166606456] Failed to read output from testmodel.py, exit status != 0: 8.714746689423919 8.739346119 8.657252391 Calling exit ...