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.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.0008184/0.0008184, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008117/0.0008117, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8841/0.8841, allocations: 158.6 MB / 184.2 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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.008318/0.008318, allocations: 1.428 MB / 237.9 MB, free: 13.92 MB / 234.7 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.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(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: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 352.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.006e-05/2.162e-05, allocations: 6.219 kB / 352.5 MB, free: 15.9 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.002665/0.002686, allocations: 3.143 MB / 355.6 MB, free: 12.73 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.003905, allocations: 0.854 MB / 356.5 MB, free: 11.88 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001611/0.004066, allocations: 4 kB / 356.5 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001407/0.004207, allocations: 59.36 kB / 356.5 MB, free: 11.81 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002047/0.004411, allocations: 158.7 kB / 356.7 MB, free: 11.66 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003486/0.00476, allocations: 119.7 kB / 356.8 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003439/0.005104, allocations: 0.5444 MB / 357.3 MB, free: 10.99 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.005293, allocations: 113.2 kB / 357.4 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002305/0.005523, allocations: 287.3 kB / 357.7 MB, free: 10.59 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.005664, allocations: 151.5 kB / 357.9 MB, free: 10.45 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.887e-05/0.005713, allocations: 44 kB / 357.9 MB, free: 10.4 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.813e-05/0.005801, allocations: 44 kB / 358 MB, free: 10.36 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.859e-05/0.005849, allocations: 95.66 kB / 358.1 MB, free: 10.27 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.00595, allocations: 155.6 kB / 358.2 MB, free: 10.11 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003439/0.006294, allocations: 482.6 kB / 358.7 MB, free: 9.641 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.006299, allocations: 0 / 358.7 MB, free: 9.641 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.0063, allocations: 0 / 358.7 MB, free: 9.641 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.006307, allocations: 4 kB / 358.7 MB, free: 9.637 MB / 282.7 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.0008178/0.007125, allocations: 0.6721 MB / 359.4 MB, free: 8.926 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.007163, allocations: 8.031 kB / 359.4 MB, free: 8.918 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.353e-05/0.007207, allocations: 70.72 kB / 359.4 MB, free: 8.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.723e-05/0.007264, allocations: 44.66 kB / 359.5 MB, free: 8.797 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.007613, allocations: 268.4 kB / 359.7 MB, free: 8.508 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.007636, allocations: 25.03 kB / 359.8 MB, free: 8.484 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.004e-05/0.007676, allocations: 40.33 kB / 359.8 MB, free: 8.445 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000389/0.008065, allocations: 345.6 kB / 360.1 MB, free: 8.086 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.00808, allocations: 3.984 kB / 360.1 MB, free: 8.082 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.008103, allocations: 12 kB / 360.2 MB, free: 8.07 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.00811, allocations: 8 kB / 360.2 MB, free: 8.062 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003143/0.008424, allocations: 242.5 kB / 360.4 MB, free: 7.828 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.009582, allocations: 0.789 MB / 361.2 MB, free: 6.996 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004636/0.01005, allocations: 250.9 kB / 361.4 MB, free: 6.742 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.01018, allocations: 105.3 kB / 361.5 MB, free: 6.637 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.0102, allocations: 4.234 kB / 361.5 MB, free: 6.633 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002486/0.01045, allocations: 234.9 kB / 361.8 MB, free: 6.379 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 2.455e-06/0.01045, allocations: 7.875 kB / 361.8 MB, free: 6.371 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.001512/0.01196, allocations: 1.097 MB / 362.9 MB, free: 5.223 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.012, allocations: 55.41 kB / 362.9 MB, free: 5.156 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.01221, allocations: 308.5 kB / 363.2 MB, free: 4.848 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.01223, allocations: 41.64 kB / 363.3 MB, free: 4.801 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.324e-05/0.01232, allocations: 188.9 kB / 363.4 MB, free: 4.613 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.169e-05/0.01237, allocations: 123 kB / 363.6 MB, free: 4.492 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.286e-05/0.01244, allocations: 74.02 kB / 363.6 MB, free: 4.414 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.159e-05/0.01248, allocations: 342.8 kB / 364 MB, free: 4.07 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.01264, allocations: 144.1 kB / 364.1 MB, free: 3.922 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.0128, allocations: 179.9 kB / 364.3 MB, free: 3.73 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.01308, allocations: 277.6 kB / 364.6 MB, free: 3.441 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.01308, allocations: 3.984 kB / 364.6 MB, free: 3.438 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003972/0.01348, allocations: 415.9 kB / 365 MB, free: 3.016 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.01351, allocations: 36.61 kB / 365 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.01352, allocations: 4 kB / 365 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.01353, allocations: 3.938 kB / 365 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.01373, allocations: 75.89 kB / 365.1 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.01373, allocations: 4 kB / 365.1 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.01387, allocations: 19.98 kB / 365.1 MB, free: 2.871 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.01388, allocations: 20.05 kB / 365.1 MB, free: 2.852 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002012/0.01408, allocations: 242.3 kB / 365.4 MB, free: 2.605 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001414/0.01423, allocations: 179 kB / 365.5 MB, free: 2.414 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002608/0.01449, allocations: 272.3 kB / 365.8 MB, free: 2.133 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.082e-06/0.01449, allocations: 0 / 365.8 MB, free: 2.133 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.000356/0.01484, allocations: 412.2 kB / 366.2 MB, free: 1.711 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.01486, allocations: 41.69 kB / 366.3 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.295e-06/0.01486, allocations: 0 / 366.3 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.208e-06/0.01487, allocations: 7.922 kB / 366.3 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.01501, allocations: 67.91 kB / 366.3 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.816e-06/0.01502, allocations: 4 kB / 366.3 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.01514, allocations: 27.97 kB / 366.4 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.01515, allocations: 16.06 kB / 366.4 MB, free: 1.543 MB / 282.7 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 7.861e-05/0.01523, allocations: 195.8 kB / 366.6 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.283e-05/0.01526, allocations: 39.77 kB / 366.6 MB, free: 1.309 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003853/0.01565, allocations: 340.8 kB / 366.9 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.01565, allocations: 4 kB / 366.9 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.01566, allocations: 0 / 366.9 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.01566, allocations: 3.984 kB / 366.9 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007322/0.01639, allocations: 0.8033 MB / 367.8 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.0164, allocations: 4 kB / 367.8 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/0.0166, allocations: 75.89 kB / 367.8 MB, free: 16 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.0166, allocations: 7.938 kB / 367.8 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.01662, allocations: 8 kB / 367.8 MB, free: 0 / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.043e-05/0.01665, allocations: 4.062 kB / 367.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.01665, allocations: 8 kB / 367.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006369/0.01729, allocations: 0.575 MB / 368.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.01741, allocations: 63.77 kB / 368.5 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.01745, allocations: 12 kB / 368.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.01758, allocations: 27.97 kB / 368.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.139e-05/0.01766, allocations: 31.89 kB / 368.6 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.01767, allocations: 15.98 kB / 368.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000159/0.01783, allocations: 223 kB / 368.8 MB, free: 15.01 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01783, allocations: 0 / 368.8 MB, free: 15.01 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003748/0.01821, allocations: 148 kB / 368.9 MB, free: 14.87 MB / 298.7 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.0008675/0.01907, allocations: 1.131 MB / 370.1 MB, free: 13.69 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006873/0.01976, allocations: 0.5681 MB / 370.6 MB, free: 13.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.01976, allocations: 4 kB / 370.6 MB, free: 13.08 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002009/0.01996, allocations: 143.8 kB / 370.8 MB, free: 12.94 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.02035, allocations: 65.53 kB / 370.8 MB, free: 12.88 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00399/0.02434, allocations: 3.632 MB / 374.5 MB, free: 9.086 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/0.02448, allocations: 191.7 kB / 374.7 MB, free: 8.883 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001616/0.02464, allocations: 46.94 kB / 374.7 MB, free: 8.836 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.02478, allocations: 124.4 kB / 374.8 MB, free: 8.715 MB / 298.7 MB Notification: Performance of SimCode: time 1.032e-06/0.02478, allocations: 0 / 374.8 MB, free: 8.715 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02484/0.04962, allocations: 8.668 MB / 383.5 MB, free: 0 / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.232/7.282, allocations: 12.05 kB / 383.5 MB, free: 15.98 MB / 314.7 MB " [Timeout remaining time 653] (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: 9.05583762191236] Failed to read output from testmodel.py, exit status != 0: 7.370035026222467 7.3859515 7.377609057 Calling exit ...