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.005769/0.005769, allocations: 101.2 kB / 15.73 MB, free: 6.043 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.001396/0.001396, allocations: 197.5 kB / 16.68 MB, free: 5.961 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.336/1.336, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009175/0.009175, allocations: 1.935 MB / 271.8 MB, free: 3.25 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.001564/0.001564, allocations: 71.91 kB / 377.7 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08747/0.08904, allocations: 47.13 MB / 424.9 MB, free: 1.691 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.1795/0.2686, allocations: 3.673 MB / 428.5 MB, free: 9.742 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.2705, allocations: 0.9011 MB / 429.4 MB, free: 9.359 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000482/0.271, allocations: 5.375 kB / 429.5 MB, free: 9.359 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002918/0.2713, allocations: 65.62 kB / 429.5 MB, free: 9.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005389/0.2719, allocations: 147.2 kB / 429.7 MB, free: 9.223 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004998/0.2724, allocations: 128.9 kB / 429.8 MB, free: 9.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008142/0.2732, allocations: 0.5562 MB / 430.3 MB, free: 9.074 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003066/0.2735, allocations: 176.5 kB / 430.5 MB, free: 9.047 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003779/0.2739, allocations: 201.2 kB / 430.7 MB, free: 8.949 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004094/0.2743, allocations: 225 kB / 430.9 MB, free: 8.832 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.2745, allocations: 45.19 kB / 431 MB, free: 8.832 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002026/0.2747, allocations: 53.22 kB / 431 MB, free: 8.832 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.451e-05/0.2748, allocations: 98.8 kB / 431.1 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000332/0.2751, allocations: 244.2 kB / 431.4 MB, free: 8.609 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006893/0.2758, allocations: 0.5079 MB / 431.9 MB, free: 8.379 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.2758, allocations: 0 / 431.9 MB, free: 8.379 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2758, allocations: 0 / 431.9 MB, free: 8.379 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.2759, allocations: 0 / 431.9 MB, free: 8.379 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.001345/0.2772, allocations: 0.763 MB / 432.6 MB, free: 7.766 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.2773, allocations: 14.62 kB / 432.6 MB, free: 7.762 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.453e-05/0.2774, allocations: 78.05 kB / 432.7 MB, free: 7.695 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.916e-05/0.2774, allocations: 49.5 kB / 432.8 MB, free: 7.672 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004299/0.2779, allocations: 334.2 kB / 433.1 MB, free: 7.375 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.2779, allocations: 32.55 kB / 433.1 MB, free: 7.359 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.966e-05/0.278, allocations: 42.16 kB / 433.2 MB, free: 7.344 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000605/0.2786, allocations: 329.1 kB / 433.5 MB, free: 7.199 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.2786, allocations: 5.219 kB / 433.5 MB, free: 7.195 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.2787, allocations: 15.28 kB / 433.5 MB, free: 7.184 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.2787, allocations: 8.906 kB / 433.5 MB, free: 7.184 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005648/0.2792, allocations: 257.3 kB / 433.8 MB, free: 7.098 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001708/0.281, allocations: 1.11 MB / 434.9 MB, free: 6.422 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000539/0.2815, allocations: 280.2 kB / 435.2 MB, free: 6.309 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002439/0.2818, allocations: 120.3 kB / 435.3 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.2818, allocations: 4.672 kB / 435.3 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003471/0.2822, allocations: 169.7 kB / 435.4 MB, free: 6.172 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.744e-06/0.2822, allocations: 192 / 435.4 MB, free: 6.172 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.002234/0.2844, allocations: 1.216 MB / 436.7 MB, free: 5.383 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.2845, allocations: 60.23 kB / 436.7 MB, free: 5.316 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003231/0.2848, allocations: 350 kB / 437.1 MB, free: 5.125 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.2848, allocations: 34.02 kB / 437.1 MB, free: 5.09 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.409e-05/0.2849, allocations: 211.5 kB / 437.3 MB, free: 4.914 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.319e-05/0.285, allocations: 116.5 kB / 437.4 MB, free: 4.824 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.2851, allocations: 73.78 kB / 437.5 MB, free: 4.773 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.784e-05/0.2852, allocations: 346.6 kB / 437.8 MB, free: 4.445 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002524/0.2854, allocations: 114.5 kB / 437.9 MB, free: 4.402 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.2857, allocations: 165.7 kB / 438.1 MB, free: 4.316 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004781/0.2862, allocations: 282.9 kB / 438.4 MB, free: 4.156 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2862, allocations: 5.031 kB / 438.4 MB, free: 4.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006736/0.2869, allocations: 397 kB / 438.8 MB, free: 3.961 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.2869, allocations: 39.81 kB / 438.8 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.2869, allocations: 1.125 kB / 438.8 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.287, allocations: 7.25 kB / 438.8 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004072/0.2874, allocations: 82.16 kB / 438.9 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.2874, allocations: 13.78 kB / 438.9 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/0.2876, allocations: 24.77 kB / 438.9 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.2877, allocations: 13.59 kB / 438.9 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000351/0.288, allocations: 226.6 kB / 439.2 MB, free: 3.75 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002558/0.2883, allocations: 148 kB / 439.3 MB, free: 3.68 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004913/0.2888, allocations: 291.2 kB / 439.6 MB, free: 3.512 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/0.2888, allocations: 0 / 439.6 MB, free: 3.512 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0007934/0.2896, allocations: 382.1 kB / 440 MB, free: 3.332 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.2897, allocations: 32.94 kB / 440 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2897, allocations: 5.984 kB / 440 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.073e-06/0.2897, allocations: 2.688 kB / 440 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00038/0.2901, allocations: 84.22 kB / 440.1 MB, free: 3.289 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.2901, allocations: 7.188 kB / 440.1 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.2903, allocations: 23.23 kB / 440.1 MB, free: 3.273 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/0.2903, allocations: 11.45 kB / 440.1 MB, free: 3.273 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 8.53e-05/0.2904, allocations: 203.2 kB / 440.3 MB, free: 3.074 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.352e-05/0.2905, allocations: 40.86 kB / 440.4 MB, free: 3.051 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006209/0.2911, allocations: 317.9 kB / 440.7 MB, free: 2.906 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.2911, allocations: 3.562 kB / 440.7 MB, free: 2.906 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2911, allocations: 5.719 kB / 440.7 MB, free: 2.902 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.2911, allocations: 1.594 kB / 440.7 MB, free: 2.902 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.2923, allocations: 0.8767 MB / 441.6 MB, free: 2.336 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2923, allocations: 1.312 kB / 441.6 MB, free: 2.336 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003763/0.2927, allocations: 76.03 kB / 441.6 MB, free: 2.332 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.2927, allocations: 2.281 kB / 441.6 MB, free: 2.332 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.2927, allocations: 10.2 kB / 441.7 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.2927, allocations: 3.375 kB / 441.7 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.2927, allocations: 1.125 kB / 441.7 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008584/0.2936, allocations: 0.5713 MB / 442.2 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.2937, allocations: 150.4 kB / 442.4 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.167e-05/0.2938, allocations: 8.766 kB / 442.4 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002539/0.2941, allocations: 19.31 kB / 442.4 MB, free: 1.84 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.709e-05/0.2941, allocations: 27.11 kB / 442.4 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.2942, allocations: 12.05 kB / 442.4 MB, free: 1.832 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000223/0.2944, allocations: 243.2 kB / 442.7 MB, free: 1.703 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2944, allocations: 3.938 kB / 442.7 MB, free: 1.699 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005007/0.2949, allocations: 151.5 kB / 442.8 MB, free: 1.684 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.001015/0.2959, allocations: 1.12 MB / 444 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000925/0.2969, allocations: 0.5506 MB / 444.5 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2969, allocations: 1.656 kB / 444.5 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002868/0.2972, allocations: 152.8 kB / 444.7 MB, free: 500 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005026/0.2977, allocations: 63.02 kB / 444.7 MB, free: 476 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005066/0.3028, allocations: 3.73 MB / 448.4 MB, free: 14.13 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.3032, allocations: 0.8058 MB / 449.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002338/0.3034, allocations: 46.62 kB / 449.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/0.3036, allocations: 128.6 kB / 449.4 MB, free: 13.33 MB / 334.1 MB Notification: Performance of SimCode: time 6.02e-07/0.3036, allocations: 0 / 449.4 MB, free: 13.33 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02876/0.3324, allocations: 8.069 MB / 457.5 MB, free: 9.523 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.8/8.132, allocations: 11.86 kB / 457.5 MB, free: 9.512 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)