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.001273/0.001273, allocations: 113 kB / 18.94 MB, free: 2.934 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.001789/0.001789, allocations: 208 kB / 22.25 MB, free: 5.082 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.334/1.334, allocations: 207.6 MB / 233 MB, free: 10 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.00966/0.00966, allocations: 1.958 MB / 287.2 MB, free: 3.863 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.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: translateModel(MEV.Test.TestCylinderUnitOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinderUnitOnOff") translateModel(MEV.Test.TestCylinderUnitOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinderUnitOnOff") [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.002137/0.002137, allocations: 71.91 kB / 402.3 MB, free: 50.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08639/0.08853, allocations: 49.7 MB / 452 MB, free: 5.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.005167/0.0937, allocations: 3.431 MB / 455.4 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002324/0.09602, allocations: 0.9005 MB / 456.3 MB, free: 1.402 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005772/0.0966, allocations: 4 kB / 456.3 MB, free: 1.398 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004021/0.097, allocations: 59.36 kB / 456.4 MB, free: 1.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007103/0.09771, allocations: 142.8 kB / 456.5 MB, free: 1.199 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005663/0.09828, allocations: 131.7 kB / 456.6 MB, free: 1.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007187/0.099, allocations: 0.5134 MB / 457.2 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002486/0.09924, allocations: 113.3 kB / 457.3 MB, free: 444 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002402/0.09948, allocations: 203.2 kB / 457.5 MB, free: 240 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002733/0.09976, allocations: 199.1 kB / 457.7 MB, free: 40 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001183/0.09988, allocations: 44.05 kB / 457.7 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.1, allocations: 48 kB / 457.7 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.1002, allocations: 91.62 kB / 457.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003838/0.1005, allocations: 222.9 kB / 458.1 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008467/0.1014, allocations: 478.1 kB / 458.5 MB, free: 15.17 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.1014, allocations: 4 kB / 458.5 MB, free: 15.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1014, allocations: 0 / 458.5 MB, free: 15.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.856e-05/0.1014, allocations: 0 / 458.5 MB, free: 15.16 MB / 334.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.001892/0.1033, allocations: 0.68 MB / 459.2 MB, free: 14.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.325e-05/0.1034, allocations: 8.031 kB / 459.2 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.1035, allocations: 52.64 kB / 459.3 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000668/0.1042, allocations: 253.3 kB / 459.5 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.271e-05/0.1042, allocations: 21.03 kB / 459.5 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.611e-05/0.1043, allocations: 47.83 kB / 459.6 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008553/0.1052, allocations: 294 kB / 459.9 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.1052, allocations: 0 / 459.9 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.536e-05/0.1053, allocations: 20 kB / 459.9 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.1053, allocations: 8 kB / 459.9 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007752/0.1061, allocations: 234.5 kB / 460.1 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001788/0.1078, allocations: 0.8824 MB / 461 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005648/0.1084, allocations: 243.2 kB / 461.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002451/0.1087, allocations: 114 kB / 461.4 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.1087, allocations: 240 / 461.4 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003906/0.1091, allocations: 187.4 kB / 461.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.663e-06/0.1091, allocations: 0 / 461.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.003145/0.1122, allocations: 1.093 MB / 462.6 MB, free: 10.87 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/0.1123, allocations: 59.34 kB / 462.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005122/0.1128, allocations: 308.5 kB / 463 MB, free: 10.49 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.617e-05/0.1128, allocations: 33.7 kB / 463 MB, free: 10.45 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002218/0.1131, allocations: 196.9 kB / 463.2 MB, free: 10.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.1132, allocations: 123 kB / 463.3 MB, free: 10.13 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001844/0.1134, allocations: 74.02 kB / 463.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002133/0.1136, allocations: 342.8 kB / 463.7 MB, free: 9.711 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003782/0.114, allocations: 118.4 kB / 463.9 MB, free: 9.594 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004251/0.1144, allocations: 149.8 kB / 464 MB, free: 9.438 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007673/0.1152, allocations: 281.8 kB / 464.3 MB, free: 9.145 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1152, allocations: 0 / 464.3 MB, free: 9.145 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001154/0.1163, allocations: 382.1 kB / 464.7 MB, free: 8.762 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.169e-05/0.1164, allocations: 37.69 kB / 464.7 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.1164, allocations: 4.062 kB / 464.7 MB, free: 8.715 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.1164, allocations: 4 kB / 464.7 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004741/0.1169, allocations: 71.91 kB / 464.8 MB, free: 8.641 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.1169, allocations: 0 / 464.8 MB, free: 8.641 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003401/0.1172, allocations: 23.97 kB / 464.8 MB, free: 8.617 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.843e-05/0.1173, allocations: 12 kB / 464.8 MB, free: 8.605 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004994/0.1178, allocations: 224.5 kB / 465 MB, free: 8.383 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003795/0.1181, allocations: 148.9 kB / 465.2 MB, free: 8.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006457/0.1188, allocations: 276.1 kB / 465.4 MB, free: 7.945 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.563e-06/0.1188, allocations: 0 / 465.4 MB, free: 7.945 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008869/0.1197, allocations: 382.5 kB / 465.8 MB, free: 7.559 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.847e-05/0.1197, allocations: 41.64 kB / 465.9 MB, free: 7.512 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.1197, allocations: 0 / 465.9 MB, free: 7.512 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.734e-06/0.1197, allocations: 4 kB / 465.9 MB, free: 7.508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004149/0.1202, allocations: 63.91 kB / 465.9 MB, free: 7.445 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.1202, allocations: 7.938 kB / 465.9 MB, free: 7.438 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003206/0.1205, allocations: 31.91 kB / 466 MB, free: 7.406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.1205, allocations: 12 kB / 466 MB, free: 7.395 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.0001941/0.1207, allocations: 200.3 kB / 466.2 MB, free: 7.191 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.377e-05/0.1208, allocations: 39.7 kB / 466.2 MB, free: 7.152 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009722/0.1218, allocations: 332.7 kB / 466.5 MB, free: 6.816 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.1218, allocations: 4 kB / 466.5 MB, free: 6.812 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1218, allocations: 0 / 466.5 MB, free: 6.812 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.1218, allocations: 11.92 kB / 466.5 MB, free: 6.801 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001927/0.1237, allocations: 0.8425 MB / 467.4 MB, free: 5.895 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.1237, allocations: 4 kB / 467.4 MB, free: 5.891 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005114/0.1242, allocations: 75.89 kB / 467.5 MB, free: 5.816 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.906e-06/0.1242, allocations: 8.156 kB / 467.5 MB, free: 5.809 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.657e-05/0.1243, allocations: 11.98 kB / 467.5 MB, free: 5.797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.1243, allocations: 0 / 467.5 MB, free: 5.797 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/0.1243, allocations: 7.938 kB / 467.5 MB, free: 5.789 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/0.1257, allocations: 0.5751 MB / 468.1 MB, free: 5.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001889/0.1259, allocations: 59.81 kB / 468.1 MB, free: 5.121 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.111e-05/0.1259, allocations: 16 kB / 468.1 MB, free: 5.105 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003934/0.1263, allocations: 27.97 kB / 468.2 MB, free: 5.078 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.1265, allocations: 43.81 kB / 468.2 MB, free: 5.035 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.182e-05/0.1265, allocations: 12 kB / 468.2 MB, free: 5.023 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003545/0.1269, allocations: 215.1 kB / 468.4 MB, free: 4.812 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1269, allocations: 4 kB / 468.4 MB, free: 4.809 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007932/0.1276, allocations: 144 kB / 468.6 MB, free: 4.668 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.0002245/0.1279, allocations: 115.1 kB / 468.7 MB, free: 4.547 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001447/0.1293, allocations: 0.5183 MB / 469.2 MB, free: 4.004 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1293, allocations: 0 / 469.2 MB, free: 4.004 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004756/0.1298, allocations: 151.8 kB / 469.4 MB, free: 3.855 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007171/0.1305, allocations: 69.62 kB / 469.4 MB, free: 3.789 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002642/0.1332, allocations: 0.9596 MB / 470.4 MB, free: 2.781 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005946/0.1337, allocations: 0.7923 MB / 471.2 MB, free: 1.965 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002938/0.134, allocations: 46.94 kB / 471.2 MB, free: 1.918 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.1342, allocations: 27.44 kB / 471.2 MB, free: 1.891 MB / 334.1 MB Notification: Performance of SimCode: time 9.72e-07/0.1342, allocations: 0 / 471.2 MB, free: 1.891 MB / 334.1 MB Notification: Performance of Templates: time 0.009845/0.144, allocations: 4.515 MB / 475.8 MB, free: 13.37 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f MEV_MEV.Test.TestCylinderUnitOnOff.makefile [Timeout 660] (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 & ./MEV_MEV.Test.TestCylinderUnitOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestCylinderUnitOnOff.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.402464745100588] Failed to read output from testmodel.py, exit status != 0: 0.15278893196955323 0.169269409 0.06446104600000001 Calling exit ...