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.006381/0.006381, allocations: 169.3 kB / 15.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.008385/0.008385, allocations: 1.934 MB / 17.78 MB, free: 3.875 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.589/1.589, allocations: 205.4 MB / 224.4 MB, free: 11.98 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.001261/0.001261, allocations: 86.16 kB / 273.3 MB, free: 11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003411/0.0003409, allocations: 8.219 kB / 331.9 MB, free: 10.8 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1055, allocations: 48.1 MB / 380 MB, free: 10.61 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3411/0.4467, allocations: 80.88 MB / 460.9 MB, free: 6.566 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/0.447, allocations: 79.95 kB / 461 MB, free: 6.488 MB / 330.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.02142/0.4684, allocations: 7.601 MB / 468.6 MB, free: 14.88 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4685, allocations: 0 / 468.6 MB, free: 14.88 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.634e-05/0.4685, allocations: 12.42 kB / 468.6 MB, free: 14.87 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.001232/0.4698, allocations: 0.6945 MB / 469.3 MB, free: 14.12 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.4698, allocations: 12.03 kB / 469.3 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.988e-05/0.4699, allocations: 74.53 kB / 469.4 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.883e-05/0.47, allocations: 47.44 kB / 469.4 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00046/0.4705, allocations: 318.1 kB / 469.7 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.467e-05/0.4705, allocations: 32.98 kB / 469.8 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.408e-05/0.4706, allocations: 40 kB / 469.8 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007325/0.4714, allocations: 326.5 kB / 470.1 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.4714, allocations: 7.984 kB / 470.1 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.08e-05/0.4715, allocations: 16 kB / 470.2 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.4715, allocations: 8 kB / 470.2 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006282/0.4721, allocations: 271.8 kB / 470.4 MB, free: 12.94 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00202/0.4741, allocations: 1.043 MB / 471.5 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006243/0.4748, allocations: 286.5 kB / 471.7 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.4748, allocations: 7.938 kB / 471.8 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004334/0.4753, allocations: 176.3 kB / 471.9 MB, free: 11.36 MB / 346.7 MB Notification: Performance of pre-optimization done (n=30): time 3.457e-06/0.4753, allocations: 0 / 471.9 MB, free: 11.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=35): time 0.002656/0.4779, allocations: 1.255 MB / 473.2 MB, free: 10.02 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.478, allocations: 59.41 kB / 473.2 MB, free: 9.945 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00034/0.4783, allocations: 287.7 kB / 473.5 MB, free: 9.664 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.311e-05/0.4784, allocations: 33.7 kB / 473.6 MB, free: 9.625 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.4786, allocations: 212.4 kB / 473.8 MB, free: 9.414 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.01e-05/0.4787, allocations: 114.3 kB / 473.9 MB, free: 9.301 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.223e-05/0.4787, allocations: 12 kB / 473.9 MB, free: 9.289 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.4788, allocations: 338.8 kB / 474.2 MB, free: 8.949 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/0.4791, allocations: 116.8 kB / 474.3 MB, free: 8.832 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002964/0.4794, allocations: 158.7 kB / 474.5 MB, free: 8.668 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/0.4797, allocations: 161.6 kB / 474.6 MB, free: 8.504 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4797, allocations: 3.938 kB / 474.6 MB, free: 8.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007234/0.4805, allocations: 398.8 kB / 475 MB, free: 8.098 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000197/0.4807, allocations: 386 kB / 475.4 MB, free: 7.688 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.4807, allocations: 8 kB / 475.4 MB, free: 7.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.4807, allocations: 0 / 475.4 MB, free: 7.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004132/0.4811, allocations: 95.81 kB / 475.5 MB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.4812, allocations: 4 kB / 475.5 MB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002544/0.4814, allocations: 19.98 kB / 475.5 MB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.4815, allocations: 12 kB / 475.6 MB, free: 7.551 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/0.4815, allocations: 7.125 kB / 475.6 MB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006369/0.4821, allocations: 353.4 kB / 475.9 MB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-06/0.4821, allocations: 0 / 475.9 MB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.941e-06/0.4821, allocations: 4 kB / 475.9 MB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003843/0.4825, allocations: 87.89 kB / 476 MB, free: 7.105 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.4825, allocations: 12.03 kB / 476 MB, free: 7.094 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/0.4828, allocations: 15.98 kB / 476 MB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/0.4828, allocations: 12 kB / 476 MB, free: 7.066 MB / 346.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002474/0.4831, allocations: 241 kB / 476.3 MB, free: 6.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.682e-05/0.4831, allocations: 35.62 kB / 476.3 MB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007008/0.4838, allocations: 337.7 kB / 476.6 MB, free: 6.445 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.4838, allocations: 4 kB / 476.6 MB, free: 6.441 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4839, allocations: 0 / 476.6 MB, free: 6.441 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.4839, allocations: 4 kB / 476.6 MB, free: 6.438 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.4853, allocations: 0.9081 MB / 477.5 MB, free: 5.457 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.4853, allocations: 0 / 477.5 MB, free: 5.457 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004149/0.4857, allocations: 88.05 kB / 477.6 MB, free: 5.371 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.4857, allocations: 4 kB / 477.6 MB, free: 5.367 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.646e-05/0.4858, allocations: 11.94 kB / 477.6 MB, free: 5.355 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.4858, allocations: 8 kB / 477.7 MB, free: 5.348 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.4858, allocations: 7.938 kB / 477.7 MB, free: 5.34 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.4868, allocations: 0.6454 MB / 478.3 MB, free: 4.629 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001778/0.487, allocations: 136.6 kB / 478.4 MB, free: 4.477 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.736e-05/0.4871, allocations: 12 kB / 478.5 MB, free: 4.465 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002723/0.4873, allocations: 31.97 kB / 478.5 MB, free: 4.434 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.789e-05/0.4874, allocations: 35.86 kB / 478.5 MB, free: 4.398 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/0.4875, allocations: 15.98 kB / 478.5 MB, free: 4.383 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002499/0.4877, allocations: 223.1 kB / 478.8 MB, free: 4.168 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4877, allocations: 0 / 478.8 MB, free: 4.168 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000572/0.4883, allocations: 152 kB / 478.9 MB, free: 4.02 MB / 346.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) * Number of clocked states: 0 () * 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.001515/0.4898, allocations: 1.565 MB / 480.5 MB, free: 2.391 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.4909, allocations: 0.5505 MB / 481 MB, free: 1.816 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4909, allocations: 0 / 481 MB, free: 1.816 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003249/0.4913, allocations: 159.8 kB / 481.2 MB, free: 1.66 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004573/0.4917, allocations: 59.12 kB / 481.2 MB, free: 1.602 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004243/0.496, allocations: 2.891 MB / 484.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004457/0.4965, allocations: 0.8079 MB / 484.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002539/0.4967, allocations: 50.92 kB / 485 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/0.4969, allocations: 127.4 kB / 485.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.497, allocations: 0 / 485.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02544/0.5224, allocations: 7.185 MB / 492.3 MB, free: 6.438 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002816/0.5228, allocations: 156.4 kB / 492.4 MB, free: 6.188 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.284/2.807, allocations: 0 / 492.4 MB, free: 6.188 MB / 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)