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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.009125/0.009126, allocations: 1.917 MB / 15.18 MB, free: 128 kB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.27/1.27, allocations: 205.2 MB / 221.4 MB, free: 7.348 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000789/0.0007889, allocations: 80.34 kB / 270.1 MB, free: 7.145 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.263e-05/3.268e-05, allocations: 4 kB / 326.1 MB, free: 15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2289, allocations: 48.08 MB / 374.2 MB, free: 44.28 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08869/0.3176, allocations: 80.79 MB / 455 MB, free: 14.05 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/0.3179, allocations: 75.95 kB / 455 MB, free: 13.98 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo:395:7-396:74:writable] Warning: connect(inlet, inlet) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.02044/0.3383, allocations: 7.595 MB / 462.6 MB, free: 6.391 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3384, allocations: 1.641 kB / 462.6 MB, free: 6.391 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.14e-05/0.3384, allocations: 8 kB / 462.7 MB, free: 6.383 MB / 346.7 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.0009635/0.3394, allocations: 0.6549 MB / 463.3 MB, free: 5.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.3394, allocations: 8.031 kB / 463.3 MB, free: 5.672 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.796e-05/0.3395, allocations: 78.53 kB / 463.4 MB, free: 5.586 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.243e-05/0.3396, allocations: 51.42 kB / 463.4 MB, free: 5.535 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003769/0.34, allocations: 322.2 kB / 463.8 MB, free: 5.176 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.34, allocations: 25.22 kB / 463.8 MB, free: 5.152 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.371e-05/0.3401, allocations: 36 kB / 463.8 MB, free: 5.117 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005387/0.3406, allocations: 303.7 kB / 464.1 MB, free: 4.812 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.3407, allocations: 4 kB / 464.1 MB, free: 4.809 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.566e-05/0.3407, allocations: 15.94 kB / 464.1 MB, free: 4.793 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.3407, allocations: 8 kB / 464.1 MB, free: 4.785 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004352/0.3412, allocations: 223.1 kB / 464.4 MB, free: 4.566 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001682/0.3428, allocations: 1.042 MB / 465.4 MB, free: 3.473 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003985/0.3433, allocations: 242.6 kB / 465.6 MB, free: 3.227 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.3434, allocations: 100.9 kB / 465.7 MB, free: 3.125 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.3435, allocations: 7.984 kB / 465.7 MB, free: 3.117 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002872/0.3438, allocations: 159.8 kB / 465.9 MB, free: 2.949 MB / 346.7 MB Notification: Performance of pre-optimization done (n=30): time 1.583e-06/0.3438, allocations: 0 / 465.9 MB, free: 2.949 MB / 346.7 MB Notification: Performance of matching and sorting (n=35): time 0.001812/0.3456, allocations: 1.067 MB / 467 MB, free: 1.789 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.3457, allocations: 57.94 kB / 467 MB, free: 1.723 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000301/0.346, allocations: 282.8 kB / 467.3 MB, free: 1.441 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.346, allocations: 37.69 kB / 467.3 MB, free: 1.398 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.3462, allocations: 208.5 kB / 467.5 MB, free: 1.188 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.793e-05/0.3462, allocations: 122.3 kB / 467.7 MB, free: 1.066 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.728e-05/0.3463, allocations: 4 kB / 467.7 MB, free: 1.062 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.3464, allocations: 350.8 kB / 468 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.3466, allocations: 84.81 kB / 468.1 MB, free: 0.625 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.3468, allocations: 138.5 kB / 468.2 MB, free: 492 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.347, allocations: 141.5 kB / 468.4 MB, free: 344 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.347, allocations: 0 / 468.4 MB, free: 344 kB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005409/0.3476, allocations: 358.7 kB / 468.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001617/0.3477, allocations: 393.7 kB / 469.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3477, allocations: 1.719 kB / 469.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.3478, allocations: 7.984 kB / 469.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004036/0.3482, allocations: 87.83 kB / 469.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.3482, allocations: 7.938 kB / 469.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.3484, allocations: 23.98 kB / 469.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/0.3485, allocations: 12 kB / 469.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.704e-06/0.3485, allocations: 4 kB / 469.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00052/0.349, allocations: 301.5 kB / 469.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.349, allocations: 3.984 kB / 469.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.617e-06/0.349, allocations: 0 / 469.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003605/0.3494, allocations: 91.98 kB / 469.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.3494, allocations: 4 kB / 469.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.3496, allocations: 19.98 kB / 469.6 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.3497, allocations: 12 kB / 469.7 MB, free: 14.98 MB / 362.7 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 ($whenCondition1,$PRE.opening.T_start,opening.T_start,$PRE.opening.count,opening.count) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001/0.3498, allocations: 131.4 kB / 469.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.636e-05/0.3498, allocations: 35.62 kB / 469.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005109/0.3503, allocations: 293.8 kB / 470.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3504, allocations: 8 kB / 470.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.3504, allocations: 0 / 470.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3504, allocations: 0 / 470.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.3515, allocations: 0.8535 MB / 471 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.3515, allocations: 12.16 kB / 471 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004152/0.3519, allocations: 87.88 kB / 471.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.3519, allocations: 0 / 471.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/0.352, allocations: 13.36 kB / 471.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.352, allocations: 4 kB / 471.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.352, allocations: 0 / 471.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007488/0.3527, allocations: 0.5868 MB / 471.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.3529, allocations: 144.6 kB / 471.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.117e-05/0.353, allocations: 15.98 kB / 471.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002697/0.3533, allocations: 23.98 kB / 471.9 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.432e-05/0.3534, allocations: 35.84 kB / 471.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/0.3534, allocations: 12 kB / 471.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002249/0.3536, allocations: 226.2 kB / 472.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3536, allocations: 4 kB / 472.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004827/0.3541, allocations: 152 kB / 472.3 MB, free: 12.21 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00107/0.3552, allocations: 1.487 MB / 473.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007117/0.3559, allocations: 0.5061 MB / 474.3 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3559, allocations: 3.75 kB / 474.3 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002275/0.3562, allocations: 131.8 kB / 474.4 MB, free: 10 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.3566, allocations: 61.88 kB / 474.5 MB, free: 9.945 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.3581, allocations: 0.7918 MB / 475.3 MB, free: 9.102 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.3584, allocations: 0.8121 MB / 476.1 MB, free: 8.262 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002739/0.3587, allocations: 62.8 kB / 476.1 MB, free: 8.199 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/0.3589, allocations: 127.4 kB / 476.2 MB, free: 8.074 MB / 362.7 MB Notification: Performance of SimCode: time 3.4e-07/0.3589, allocations: 0 / 476.2 MB, free: 8.074 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01901/0.3779, allocations: 7.486 MB / 483.7 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001277/0.378, allocations: 126.5 kB / 483.9 MB, free: 480 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.883/2.261, allocations: 3.984 kB / 483.9 MB, free: 476 kB / 362.7 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/linux/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)