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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) 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.TestBellJarLinearControl,fileNamePrefix="MEV_MEV_Test_TestBellJarLinearControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestBellJarLinearControl,fileNamePrefix="MEV_MEV_Test_TestBellJarLinearControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006737/0.006737, allocations: 95.05 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001867/0.001867, allocations: 205.6 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 205.1 MB / 222.6 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009477/0.009477, allocations: 1.931 MB / 271.8 MB, free: 3.258 MB / 222.1 MB 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.002226/0.002226, allocations: 64.23 kB / 377.7 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08767/0.08991, allocations: 47.13 MB / 424.9 MB, free: 1.699 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.1668/0.2567, allocations: 3.66 MB / 428.5 MB, free: 9.801 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.2585, allocations: 0.8989 MB / 429.4 MB, free: 9.418 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003053/0.2588, allocations: 11.25 kB / 429.5 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000228/0.2591, allocations: 65.5 kB / 429.5 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003534/0.2594, allocations: 148.2 kB / 429.7 MB, free: 9.281 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004148/0.2599, allocations: 135.8 kB / 429.8 MB, free: 9.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006069/0.2605, allocations: 0.5465 MB / 430.3 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002883/0.2608, allocations: 184.8 kB / 430.5 MB, free: 9.094 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003068/0.2611, allocations: 198.5 kB / 430.7 MB, free: 8.996 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000274/0.2614, allocations: 221.5 kB / 430.9 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.095e-05/0.2615, allocations: 46.16 kB / 431 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.2616, allocations: 50 kB / 431 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.032e-05/0.2617, allocations: 104.6 kB / 431.1 MB, free: 8.809 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002161/0.2619, allocations: 236.8 kB / 431.4 MB, free: 8.664 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006531/0.2626, allocations: 0.5138 MB / 431.9 MB, free: 8.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2626, allocations: 1.438 kB / 431.9 MB, free: 8.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2626, allocations: 0 / 431.9 MB, free: 8.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.397e-05/0.2626, allocations: 0 / 431.9 MB, free: 8.43 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001323/0.2639, allocations: 0.7729 MB / 432.6 MB, free: 7.805 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.264, allocations: 14.44 kB / 432.7 MB, free: 7.801 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.598e-05/0.2641, allocations: 74.25 kB / 432.7 MB, free: 7.738 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.667e-05/0.2642, allocations: 54.41 kB / 432.8 MB, free: 7.711 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004525/0.2646, allocations: 331.7 kB / 433.1 MB, free: 7.414 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.232e-05/0.2647, allocations: 29.16 kB / 433.1 MB, free: 7.402 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.074e-05/0.2648, allocations: 45.19 kB / 433.2 MB, free: 7.383 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006634/0.2654, allocations: 330.6 kB / 433.5 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.2655, allocations: 0 / 433.5 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.475e-05/0.2655, allocations: 16.81 kB / 433.5 MB, free: 7.227 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.2655, allocations: 9.031 kB / 433.5 MB, free: 7.227 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005867/0.2661, allocations: 264.1 kB / 433.8 MB, free: 7.137 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001887/0.268, allocations: 1.114 MB / 434.9 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000578/0.2686, allocations: 280.6 kB / 435.2 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002527/0.2689, allocations: 118.6 kB / 435.3 MB, free: 6.297 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.655e-05/0.2689, allocations: 9.016 kB / 435.3 MB, free: 6.293 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003752/0.2693, allocations: 175.3 kB / 435.5 MB, free: 6.199 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 2.444e-06/0.2693, allocations: 0 / 435.5 MB, free: 6.199 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.002491/0.2718, allocations: 1.22 MB / 436.7 MB, free: 5.406 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.2719, allocations: 56.98 kB / 436.7 MB, free: 5.344 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000411/0.2723, allocations: 349.4 kB / 437.1 MB, free: 5.152 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/0.2724, allocations: 35.67 kB / 437.1 MB, free: 5.113 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.2725, allocations: 212.9 kB / 437.3 MB, free: 4.938 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.633e-05/0.2726, allocations: 127.7 kB / 437.5 MB, free: 4.836 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.2727, allocations: 71.7 kB / 437.5 MB, free: 4.789 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.047e-05/0.2728, allocations: 345.3 kB / 437.9 MB, free: 4.461 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000318/0.2731, allocations: 114.5 kB / 438 MB, free: 4.418 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002771/0.2734, allocations: 164.3 kB / 438.1 MB, free: 4.332 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005068/0.2739, allocations: 283.2 kB / 438.4 MB, free: 4.172 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.2739, allocations: 6.625 kB / 438.4 MB, free: 4.168 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007453/0.2747, allocations: 397.6 kB / 438.8 MB, free: 3.977 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.526e-05/0.2747, allocations: 39.42 kB / 438.8 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.403e-06/0.2747, allocations: 1.062 kB / 438.8 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.2748, allocations: 3.156 kB / 438.8 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003993/0.2752, allocations: 85.39 kB / 438.9 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.2752, allocations: 12.5 kB / 438.9 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000297/0.2755, allocations: 22.52 kB / 439 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/0.2755, allocations: 13.38 kB / 439 MB, free: 3.91 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003694/0.2759, allocations: 227.2 kB / 439.2 MB, free: 3.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000269/0.2762, allocations: 152.9 kB / 439.3 MB, free: 3.695 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005135/0.2767, allocations: 286.3 kB / 439.6 MB, free: 3.531 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.983e-06/0.2767, allocations: 0.5938 kB / 439.6 MB, free: 3.531 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.000856/0.2776, allocations: 386.6 kB / 440 MB, free: 3.348 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.2776, allocations: 32.78 kB / 440 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.2776, allocations: 5.531 kB / 440 MB, free: 3.312 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.474e-06/0.2776, allocations: 2.312 kB / 440 MB, free: 3.312 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003836/0.278, allocations: 90.03 kB / 440.1 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.278, allocations: 3.5 kB / 440.1 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002767/0.2783, allocations: 23 kB / 440.2 MB, free: 3.289 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.2784, allocations: 10.33 kB / 440.2 MB, free: 3.289 MB / 318.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.0001157/0.2785, allocations: 203.5 kB / 440.4 MB, free: 3.09 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.469e-05/0.2785, allocations: 38.97 kB / 440.4 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006861/0.2792, allocations: 323.5 kB / 440.7 MB, free: 2.918 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.2793, allocations: 3.562 kB / 440.7 MB, free: 2.918 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.2793, allocations: 7.875 kB / 440.7 MB, free: 2.91 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.2793, allocations: 3.891 kB / 440.7 MB, free: 2.91 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/0.2806, allocations: 0.8711 MB / 441.6 MB, free: 2.352 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.2806, allocations: 1.125 kB / 441.6 MB, free: 2.352 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004001/0.281, allocations: 75.31 kB / 441.7 MB, free: 2.348 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.281, allocations: 3.516 kB / 441.7 MB, free: 2.348 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/0.281, allocations: 7.547 kB / 441.7 MB, free: 2.344 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.281, allocations: 2.75 kB / 441.7 MB, free: 2.344 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.281, allocations: 2.062 kB / 441.7 MB, free: 2.344 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009027/0.282, allocations: 0.5756 MB / 442.3 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/0.2821, allocations: 145.2 kB / 442.4 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.757e-05/0.2822, allocations: 13.47 kB / 442.4 MB, free: 1.855 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/0.2825, allocations: 18.78 kB / 442.4 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.154e-05/0.2826, allocations: 26.27 kB / 442.5 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/0.2826, allocations: 16.86 kB / 442.5 MB, free: 1.844 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002348/0.2828, allocations: 242.4 kB / 442.7 MB, free: 1.715 MB / 318.1 MB Notification: Performance of sort global known variables: time 7.12e-07/0.2829, allocations: 0 / 442.7 MB, free: 1.715 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006124/0.2835, allocations: 155.5 kB / 442.9 MB, free: 1.695 MB / 318.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.001096/0.2846, allocations: 1.121 MB / 444 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.2856, allocations: 0.5509 MB / 444.6 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.2857, allocations: 0 / 444.6 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003122/0.286, allocations: 148.1 kB / 444.7 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005886/0.2866, allocations: 76.91 kB / 444.8 MB, free: 480 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006282/0.2929, allocations: 3.745 MB / 448.5 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005547/0.2935, allocations: 0.8052 MB / 449.3 MB, free: 13.42 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003065/0.2938, allocations: 45.78 kB / 449.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002184/0.294, allocations: 128.7 kB / 449.5 MB, free: 13.32 MB / 334.1 MB Notification: Performance of SimCode: time 9.82e-07/0.2941, allocations: 0 / 449.5 MB, free: 13.32 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03384/0.3279, allocations: 7.945 MB / 457.4 MB, free: 9.59 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.412/8.74, allocations: 11.73 kB / 457.4 MB, free: 9.578 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestBellJarLinearControl_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestBellJarLinearControl.fmu > MEV_MEV.Test.TestBellJarLinearControl.pipe 2>&1)