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-master/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/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.0009087/0.0009144, allocations: 100 kB / 15.05 MB, free: 1.105 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.0009288/0.000929, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.804/1.804, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.01456/0.01456, allocations: 1.92 MB / 272.3 MB, free: 3.406 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.0009815/0.0009817, allocations: 16.22 kB / 331 MB, free: 33.27 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1453, allocations: 48.1 MB / 379.1 MB, free: 1.129 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.006107/0.1515, allocations: 3.432 MB / 382.5 MB, free: 13.68 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002724/0.1543, allocations: 0.987 MB / 383.5 MB, free: 12.68 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003808/0.1547, allocations: 11.94 kB / 383.5 MB, free: 12.67 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001569/0.1549, allocations: 59.5 kB / 383.5 MB, free: 12.61 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006099/0.1555, allocations: 219.3 kB / 383.8 MB, free: 12.4 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004176/0.1559, allocations: 83.84 kB / 383.8 MB, free: 12.32 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005928/0.1565, allocations: 367.2 kB / 384.2 MB, free: 11.96 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003328/0.1569, allocations: 140.2 kB / 384.3 MB, free: 11.81 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002529/0.1571, allocations: 163.3 kB / 384.5 MB, free: 11.65 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002934/0.1574, allocations: 175.2 kB / 384.7 MB, free: 11.48 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.634e-05/0.1575, allocations: 20 kB / 384.7 MB, free: 11.46 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.1576, allocations: 35.92 kB / 384.7 MB, free: 11.42 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.161e-05/0.1577, allocations: 63.69 kB / 384.8 MB, free: 11.36 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.1579, allocations: 105.5 kB / 384.9 MB, free: 11.25 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004845/0.1584, allocations: 367 kB / 385.2 MB, free: 10.89 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.1584, allocations: 0 / 385.2 MB, free: 10.89 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1584, allocations: 3.938 kB / 385.3 MB, free: 10.89 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.1584, allocations: 0 / 385.3 MB, free: 10.89 MB / 286.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.001647/0.1601, allocations: 0.7044 MB / 386 MB, free: 10.13 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.1601, allocations: 8.031 kB / 386 MB, free: 10.12 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001109/0.1603, allocations: 70.53 kB / 386 MB, free: 10.04 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.1604, allocations: 51.44 kB / 386.1 MB, free: 9.992 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005337/0.1609, allocations: 318.2 kB / 386.4 MB, free: 9.641 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.021e-05/0.161, allocations: 32.98 kB / 386.4 MB, free: 9.609 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.859e-05/0.1611, allocations: 39.91 kB / 386.5 MB, free: 9.57 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000939/0.1621, allocations: 330.4 kB / 386.8 MB, free: 9.242 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.1621, allocations: 0 / 386.8 MB, free: 9.242 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.357e-05/0.1622, allocations: 16 kB / 386.8 MB, free: 9.227 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/0.1622, allocations: 12 kB / 386.8 MB, free: 9.215 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008967/0.1631, allocations: 267.8 kB / 387.1 MB, free: 8.953 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002651/0.1658, allocations: 1.124 MB / 388.2 MB, free: 7.773 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000889/0.1667, allocations: 283.4 kB / 388.5 MB, free: 7.488 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.1667, allocations: 8.172 kB / 388.5 MB, free: 7.48 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005565/0.1673, allocations: 175.7 kB / 388.7 MB, free: 7.297 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 2.826e-06/0.1673, allocations: 0 / 388.7 MB, free: 7.297 MB / 286.1 MB Notification: Performance of matching and sorting (n=34): time 0.003249/0.1706, allocations: 1.251 MB / 389.9 MB, free: 5.957 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.1706, allocations: 55.41 kB / 390 MB, free: 5.891 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004917/0.1711, allocations: 345.5 kB / 390.3 MB, free: 5.547 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/0.1712, allocations: 37.7 kB / 390.3 MB, free: 5.504 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000183/0.1714, allocations: 216.4 kB / 390.5 MB, free: 5.289 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.1715, allocations: 110.3 kB / 390.7 MB, free: 5.18 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/0.1715, allocations: 12 kB / 390.7 MB, free: 5.168 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002335/0.1718, allocations: 346.8 kB / 391 MB, free: 4.82 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/0.1722, allocations: 112.8 kB / 391.1 MB, free: 4.711 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000418/0.1726, allocations: 158.7 kB / 391.3 MB, free: 4.543 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004349/0.1731, allocations: 149.6 kB / 391.4 MB, free: 4.391 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1731, allocations: 3.938 kB / 391.4 MB, free: 4.387 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001045/0.1741, allocations: 402.8 kB / 391.8 MB, free: 3.98 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002123/0.1744, allocations: 386.1 kB / 392.2 MB, free: 3.57 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.1744, allocations: 4 kB / 392.2 MB, free: 3.566 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.1744, allocations: 0 / 392.2 MB, free: 3.566 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005806/0.175, allocations: 83.89 kB / 392.3 MB, free: 3.484 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.175, allocations: 8 kB / 392.3 MB, free: 3.477 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003763/0.1754, allocations: 23.98 kB / 392.3 MB, free: 3.453 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.902e-05/0.1755, allocations: 15.98 kB / 392.3 MB, free: 3.438 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.1755, allocations: 4 kB / 392.3 MB, free: 3.434 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009458/0.1764, allocations: 353.4 kB / 392.7 MB, free: 3.082 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1765, allocations: 4 kB / 392.7 MB, free: 3.078 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.969e-06/0.1765, allocations: 0 / 392.7 MB, free: 3.078 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005108/0.177, allocations: 87.89 kB / 392.8 MB, free: 2.992 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.177, allocations: 7.953 kB / 392.8 MB, free: 2.984 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00032/0.1774, allocations: 15.98 kB / 392.8 MB, free: 2.969 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.1774, allocations: 16 kB / 392.8 MB, free: 2.953 MB / 286.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 ($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.0003075/0.1777, allocations: 241.1 kB / 393 MB, free: 2.707 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.942e-05/0.1778, allocations: 39.47 kB / 393.1 MB, free: 2.668 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.1788, allocations: 329.3 kB / 393.4 MB, free: 2.34 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.1789, allocations: 8 kB / 393.4 MB, free: 2.332 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.1789, allocations: 3.953 kB / 393.4 MB, free: 2.328 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.1789, allocations: 0 / 393.4 MB, free: 2.328 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002/0.1809, allocations: 0.8881 MB / 394.3 MB, free: 1.371 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/0.1809, allocations: 11.95 kB / 394.3 MB, free: 1.359 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005736/0.1815, allocations: 79.89 kB / 394.4 MB, free: 1.281 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.081e-05/0.1815, allocations: 4 kB / 394.4 MB, free: 1.277 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/0.1816, allocations: 11.88 kB / 394.4 MB, free: 1.266 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.1816, allocations: 4 kB / 394.4 MB, free: 1.262 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/0.1816, allocations: 8.125 kB / 394.4 MB, free: 1.254 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.1831, allocations: 0.619 MB / 395 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00023/0.1834, allocations: 140.7 kB / 395.2 MB, free: 432 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.829e-05/0.1835, allocations: 12 kB / 395.2 MB, free: 420 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004149/0.1839, allocations: 27.98 kB / 395.2 MB, free: 392 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.184, allocations: 31.91 kB / 395.2 MB, free: 360 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.513e-05/0.1841, allocations: 8 kB / 395.2 MB, free: 352 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003897/0.1845, allocations: 243.2 kB / 395.5 MB, free: 108 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1845, allocations: 0 / 395.5 MB, free: 108 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.000957/0.1854, allocations: 160 kB / 395.6 MB, free: 15.95 MB / 302.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 (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.001945/0.1874, allocations: 1.443 MB / 397.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001609/0.189, allocations: 0.5505 MB / 397.6 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.189, allocations: 0 / 397.6 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004758/0.1895, allocations: 155.7 kB / 397.8 MB, free: 13.72 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006869/0.1902, allocations: 61.78 kB / 397.8 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006884/0.1971, allocations: 2.903 MB / 400.7 MB, free: 10.69 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000654/0.1978, allocations: 0.8157 MB / 401.6 MB, free: 9.848 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004158/0.1983, allocations: 50.86 kB / 401.6 MB, free: 9.797 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000323/0.1986, allocations: 127.4 kB / 401.7 MB, free: 9.672 MB / 302.1 MB Notification: Performance of SimCode: time 1.653e-06/0.1986, allocations: 0 / 401.7 MB, free: 9.672 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02973/0.2284, allocations: 7.156 MB / 408.9 MB, free: 2.516 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002773/0.2287, allocations: 155.1 kB / 409 MB, free: 2.266 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.063/2.292, allocations: 0 / 409 MB, free: 2.266 MB / 302.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/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) Environment - environmentSimulation: