Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestBellJarLinearControl.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.00144/0.00144, allocations: 99.64 kB / 18.95 MB, free: 2.836 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.001572/0.001572, allocations: 214 kB / 22.24 MB, free: 5.113 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.427/1.427, allocations: 207.7 MB / 233.1 MB, free: 9.797 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.008604/0.008604, allocations: 1.962 MB / 287.3 MB, free: 3.684 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.TestBellJarLinearControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestBellJarLinearControl") translateModel(MEV.Test.TestBellJarLinearControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestBellJarLinearControl") [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.002566/0.002566, allocations: 72.38 kB / 402.3 MB, free: 50.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07453/0.0771, allocations: 49.7 MB / 452 MB, free: 5.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.003968/0.08107, allocations: 3.395 MB / 455.4 MB, free: 2.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.08257, allocations: 0.881 MB / 456.2 MB, free: 1.293 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002493/0.08282, allocations: 12 kB / 456.2 MB, free: 1.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002256/0.08305, allocations: 67.28 kB / 456.3 MB, free: 1.215 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002848/0.08333, allocations: 158.7 kB / 456.5 MB, free: 1.059 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003707/0.0837, allocations: 131.8 kB / 456.6 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004593/0.08416, allocations: 0.5367 MB / 457.1 MB, free: 400 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002291/0.08439, allocations: 130.3 kB / 457.3 MB, free: 264 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.08458, allocations: 211.2 kB / 457.5 MB, free: 52 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002995/0.08488, allocations: 195 kB / 457.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.471e-05/0.08495, allocations: 48 kB / 457.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.08508, allocations: 56 kB / 457.8 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.08518, allocations: 99.61 kB / 457.9 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002191/0.0854, allocations: 191.1 kB / 458 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006845/0.08608, allocations: 0.5135 MB / 458.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.08609, allocations: 0 / 458.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.08609, allocations: 0 / 458.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.0861, allocations: 7.938 kB / 458.6 MB, free: 14.95 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001548/0.08765, allocations: 0.6972 MB / 459.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.08769, allocations: 11.98 kB / 459.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.08782, allocations: 60.55 kB / 459.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004822/0.0883, allocations: 282.2 kB / 459.6 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.538e-05/0.08834, allocations: 29.38 kB / 459.6 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.068e-05/0.08842, allocations: 40.12 kB / 459.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007117/0.08913, allocations: 377.9 kB / 460 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.08915, allocations: 0 / 460 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.904e-05/0.08919, allocations: 16 kB / 460.1 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.0892, allocations: 8 kB / 460.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000636/0.08984, allocations: 267.8 kB / 460.3 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001901/0.09174, allocations: 0.9072 MB / 461.2 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006523/0.09239, allocations: 263.1 kB / 461.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002729/0.09266, allocations: 110.9 kB / 461.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.09269, allocations: 4.234 kB / 461.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004373/0.09313, allocations: 222.9 kB / 461.8 MB, free: 11.54 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.613e-06/0.09313, allocations: 0 / 461.8 MB, free: 11.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.002619/0.09575, allocations: 1.074 MB / 462.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.09581, allocations: 59.39 kB / 463 MB, free: 10.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003593/0.09617, allocations: 292.5 kB / 463.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.799e-05/0.09621, allocations: 33.7 kB / 463.3 MB, free: 10 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.09639, allocations: 224.5 kB / 463.5 MB, free: 9.781 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.09652, allocations: 127 kB / 463.6 MB, free: 9.656 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.09665, allocations: 78.02 kB / 463.7 MB, free: 9.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.09683, allocations: 350.8 kB / 464 MB, free: 9.219 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003122/0.09714, allocations: 140.1 kB / 464.2 MB, free: 9.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003418/0.09749, allocations: 184.4 kB / 464.4 MB, free: 8.871 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005843/0.09807, allocations: 293 kB / 464.6 MB, free: 8.566 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.09807, allocations: 0 / 464.6 MB, free: 8.566 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008054/0.09888, allocations: 424.6 kB / 465.1 MB, free: 8.133 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.209e-05/0.09892, allocations: 37.7 kB / 465.1 MB, free: 8.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.09893, allocations: 0 / 465.1 MB, free: 8.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.09895, allocations: 4 kB / 465.1 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004233/0.09937, allocations: 79.89 kB / 465.2 MB, free: 8.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.09938, allocations: 7.938 kB / 465.2 MB, free: 8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.09963, allocations: 19.98 kB / 465.2 MB, free: 7.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/0.09967, allocations: 20.03 kB / 465.2 MB, free: 7.961 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004117/0.1001, allocations: 254.6 kB / 465.5 MB, free: 7.703 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003234/0.1004, allocations: 176.4 kB / 465.6 MB, free: 7.516 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005488/0.101, allocations: 285.3 kB / 465.9 MB, free: 7.219 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.673e-06/0.101, allocations: 0 / 465.9 MB, free: 7.219 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0007679/0.1017, allocations: 416.6 kB / 466.3 MB, free: 6.793 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.1017, allocations: 37.69 kB / 466.4 MB, free: 6.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-06/0.1018, allocations: 0 / 466.4 MB, free: 6.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.259e-06/0.1018, allocations: 4 kB / 466.4 MB, free: 6.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003601/0.1021, allocations: 83.89 kB / 466.4 MB, free: 6.664 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/0.1021, allocations: 7.938 kB / 466.5 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.1024, allocations: 24.02 kB / 466.5 MB, free: 6.633 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.1024, allocations: 12 kB / 466.5 MB, free: 6.621 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (opening.count,$PRE.opening.count,opening.T_start,$PRE.opening.T_start,$whenCondition1) * 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.0001626/0.1025, allocations: 204.1 kB / 466.7 MB, free: 6.414 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.524e-05/0.1026, allocations: 35.8 kB / 466.7 MB, free: 6.379 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007302/0.1033, allocations: 316.4 kB / 467 MB, free: 6.055 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.1033, allocations: 4 kB / 467 MB, free: 6.051 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1033, allocations: 0 / 467 MB, free: 6.051 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.1033, allocations: 3.984 kB / 467 MB, free: 6.047 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/0.1047, allocations: 0.7478 MB / 467.8 MB, free: 5.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.1047, allocations: 4 kB / 467.8 MB, free: 5.246 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000396/0.1051, allocations: 79.88 kB / 467.9 MB, free: 5.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/0.1051, allocations: 7.938 kB / 467.9 MB, free: 5.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.1051, allocations: 8 kB / 467.9 MB, free: 5.152 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.1051, allocations: 8 kB / 467.9 MB, free: 5.145 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1051, allocations: 0 / 467.9 MB, free: 5.145 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.1061, allocations: 0.5625 MB / 468.5 MB, free: 4.551 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.1063, allocations: 59.75 kB / 468.5 MB, free: 4.492 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.522e-05/0.1063, allocations: 15.92 kB / 468.5 MB, free: 4.477 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/0.1066, allocations: 23.98 kB / 468.6 MB, free: 4.453 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.969e-05/0.1067, allocations: 27.95 kB / 468.6 MB, free: 4.426 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/0.1067, allocations: 11.98 kB / 468.6 MB, free: 4.414 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002321/0.1069, allocations: 207.1 kB / 468.8 MB, free: 4.215 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1069, allocations: 4 kB / 468.8 MB, free: 4.211 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005559/0.1075, allocations: 151.9 kB / 469 MB, free: 4.062 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (controller.firstOrder.y,bellJar.cylinder.M,bellJar.damper.s_rel,bellJar.damper.v_rel) * Number of discrete variables: 3 ($whenCondition1,opening.T_start,opening.count) * Number of discrete states: 1 (opening.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001559/0.1076, allocations: 103.2 kB / 469.1 MB, free: 3.953 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.1087, allocations: 0.5768 MB / 469.6 MB, free: 3.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1087, allocations: 384 / 469.6 MB, free: 3.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000398/0.1091, allocations: 143.8 kB / 469.8 MB, free: 3.199 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004969/0.1096, allocations: 64.48 kB / 469.8 MB, free: 3.137 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.1117, allocations: 0.9995 MB / 470.8 MB, free: 2.094 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.1119, allocations: 200.2 kB / 471 MB, free: 1.879 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002126/0.1122, allocations: 46.94 kB / 471.1 MB, free: 1.832 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.1123, allocations: 31.44 kB / 471.1 MB, free: 1.801 MB / 334.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1123, allocations: 0 / 471.1 MB, free: 1.801 MB / 334.1 MB Notification: Performance of Templates: time 0.01071/0.123, allocations: 4.349 MB / 475.5 MB, free: 13.45 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f MEV_MEV.Test.TestBellJarLinearControl.makefile [Timeout 660] (rm -f MEV_MEV.Test.TestBellJarLinearControl.pipe ; mkfifo MEV_MEV.Test.TestBellJarLinearControl.pipe ; head -c 1048576 < MEV_MEV.Test.TestBellJarLinearControl.pipe >> ../files/MEV_MEV.Test.TestBellJarLinearControl.sim & ./MEV_MEV.Test.TestBellJarLinearControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestBellJarLinearControl.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.51965825073421] Failed to read output from testmodel.py, exit status != 0: 0.13145961426198483 0.147783449 0.058409395 Calling exit ...