Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestCylinderUnitOnOff.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.TestCylinderUnitOnOff,fileNamePrefix="MEV_MEV_Test_TestCylinderUnitOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestCylinderUnitOnOff,fileNamePrefix="MEV_MEV_Test_TestCylinderUnitOnOff",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.0008524/0.0008523, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005538/0.005538, allocations: 168.8 kB / 16.26 MB, free: 6.652 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.472/1.472, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008928/0.008929, allocations: 1.928 MB / 272.7 MB, free: 3.281 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.0005394/0.0005394, allocations: 20.67 kB / 331.6 MB, free: 32.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08095/0.0815, allocations: 48.09 MB / 379.7 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.003428/0.08495, allocations: 3.618 MB / 383.3 MB, free: 13.09 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.08639, allocations: 0.9361 MB / 384.3 MB, free: 12.15 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.08656, allocations: 8 kB / 384.3 MB, free: 12.14 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.08668, allocations: 43.61 kB / 384.3 MB, free: 12.1 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002335/0.08692, allocations: 123 kB / 384.4 MB, free: 11.98 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.08718, allocations: 103.9 kB / 384.5 MB, free: 11.88 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000405/0.0876, allocations: 493.7 kB / 385 MB, free: 11.39 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002061/0.08781, allocations: 132.5 kB / 385.1 MB, free: 11.26 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.08799, allocations: 163.2 kB / 385.3 MB, free: 11.1 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.08819, allocations: 183 kB / 385.5 MB, free: 10.92 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.675e-05/0.08824, allocations: 20 kB / 385.5 MB, free: 10.9 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.751e-05/0.08833, allocations: 32 kB / 385.5 MB, free: 10.87 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.273e-05/0.08839, allocations: 59.75 kB / 385.6 MB, free: 10.81 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001814/0.08857, allocations: 220.6 kB / 385.8 MB, free: 10.59 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003528/0.08894, allocations: 438.4 kB / 386.2 MB, free: 10.16 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.08895, allocations: 4 kB / 386.2 MB, free: 10.15 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.08896, allocations: 0 / 386.2 MB, free: 10.15 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.08897, allocations: 0 / 386.2 MB, free: 10.15 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001078/0.09005, allocations: 0.6739 MB / 386.9 MB, free: 9.422 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.0901, allocations: 19.91 kB / 386.9 MB, free: 9.402 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.73e-05/0.09017, allocations: 66.72 kB / 387 MB, free: 9.328 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.576e-05/0.09025, allocations: 44.47 kB / 387 MB, free: 9.285 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003276/0.09058, allocations: 315.4 kB / 387.3 MB, free: 8.938 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.09062, allocations: 32.78 kB / 387.4 MB, free: 8.906 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.505e-05/0.09069, allocations: 32 kB / 387.4 MB, free: 8.875 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005497/0.09124, allocations: 302 kB / 387.7 MB, free: 8.57 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.09127, allocations: 4 kB / 387.7 MB, free: 8.566 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.009e-05/0.0913, allocations: 12 kB / 387.7 MB, free: 8.555 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.09131, allocations: 8 kB / 387.7 MB, free: 8.547 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005184/0.09184, allocations: 250.5 kB / 388 MB, free: 8.305 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.0932, allocations: 0.9324 MB / 388.9 MB, free: 7.32 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005298/0.09374, allocations: 279.2 kB / 389.2 MB, free: 7.039 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002447/0.094, allocations: 121.3 kB / 389.3 MB, free: 6.918 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.09403, allocations: 8.219 kB / 389.3 MB, free: 6.91 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003849/0.09442, allocations: 191.4 kB / 389.5 MB, free: 6.711 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.583e-06/0.09444, allocations: 4 kB / 389.5 MB, free: 6.707 MB / 286.1 MB Notification: Performance of matching and sorting (n=36): time 0.002284/0.09673, allocations: 1.262 MB / 390.8 MB, free: 5.355 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.09677, allocations: 63.41 kB / 390.8 MB, free: 5.281 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/0.09708, allocations: 304.6 kB / 391.1 MB, free: 4.977 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.09711, allocations: 29.7 kB / 391.1 MB, free: 4.941 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.09725, allocations: 188.7 kB / 391.3 MB, free: 4.754 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.45e-05/0.09735, allocations: 126.1 kB / 391.4 MB, free: 4.629 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-05/0.09741, allocations: 37.7 kB / 391.5 MB, free: 4.586 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.09754, allocations: 346.8 kB / 391.8 MB, free: 4.238 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002714/0.09782, allocations: 116.8 kB / 391.9 MB, free: 4.125 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/0.0981, allocations: 153.6 kB / 392.1 MB, free: 3.965 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000499/0.0986, allocations: 290 kB / 392.4 MB, free: 3.668 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.09862, allocations: 0 / 392.4 MB, free: 3.668 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006514/0.09927, allocations: 414.7 kB / 392.8 MB, free: 3.25 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.982e-05/0.09934, allocations: 135.2 kB / 392.9 MB, free: 3.102 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.09935, allocations: 0 / 392.9 MB, free: 3.102 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.646e-06/0.09937, allocations: 0 / 392.9 MB, free: 3.102 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003047/0.09968, allocations: 79.95 kB / 393 MB, free: 3.023 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.09969, allocations: 0 / 393 MB, free: 3.023 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002353/0.09993, allocations: 35.97 kB / 393 MB, free: 2.988 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.09997, allocations: 12 kB / 393 MB, free: 2.977 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.481e-06/0.09998, allocations: 4 kB / 393 MB, free: 2.973 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000576/0.1006, allocations: 345 kB / 393.4 MB, free: 2.629 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.1006, allocations: 3.938 kB / 393.4 MB, free: 2.625 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.25e-06/0.1006, allocations: 4 kB / 393.4 MB, free: 2.621 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.1009, allocations: 75.84 kB / 393.5 MB, free: 2.547 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1009, allocations: 4 kB / 393.5 MB, free: 2.543 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.1011, allocations: 32.03 kB / 393.5 MB, free: 2.512 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.1011, allocations: 12 kB / 393.5 MB, free: 2.5 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (controller.on,$PRE.controller.on,opening.count,$PRE.opening.count,opening.T_start,$PRE.opening.T_start,$whenCondition1,$whenCondition3,$whenCondition2) * 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.0001651/0.1013, allocations: 237 kB / 393.7 MB, free: 2.258 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.113e-05/0.1013, allocations: 35.56 kB / 393.8 MB, free: 2.223 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006322/0.102, allocations: 348.7 kB / 394.1 MB, free: 1.875 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.102, allocations: 4 kB / 394.1 MB, free: 1.871 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.102, allocations: 4 kB / 394.1 MB, free: 1.867 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.102, allocations: 3.984 kB / 394.1 MB, free: 1.863 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.1031, allocations: 0.8858 MB / 395 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.1032, allocations: 4.141 kB / 395 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003424/0.1035, allocations: 87.89 kB / 395.1 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.1035, allocations: 0 / 395.1 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.1036, allocations: 8 kB / 395.1 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.1036, allocations: 4 kB / 395.1 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1036, allocations: 0 / 395.1 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008672/0.1044, allocations: 0.6008 MB / 395.7 MB, free: 172 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.1046, allocations: 144.6 kB / 395.8 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.823e-05/0.1046, allocations: 12.05 kB / 395.9 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002599/0.1049, allocations: 35.92 kB / 395.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.404e-05/0.105, allocations: 35.89 kB / 395.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.105, allocations: 12 kB / 395.9 MB, free: 15.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001934/0.1052, allocations: 219.1 kB / 396.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1052, allocations: 7.875 kB / 396.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004663/0.1057, allocations: 148 kB / 396.3 MB, free: 15.55 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (bellJar.cylinder.M,bellJar.damper.s_rel,bellJar.damper.v_rel) * Number of discrete variables: 6 ($whenCondition2,$whenCondition3,$whenCondition1,opening.T_start,opening.count,controller.on) * Number of discrete states: 1 (opening.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001159/0.1069, allocations: 1.146 MB / 397.5 MB, free: 14.36 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009054/0.1078, allocations: 0.5578 MB / 398 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1078, allocations: 0 / 398 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003114/0.1081, allocations: 163.8 kB / 398.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005107/0.1086, allocations: 69.55 kB / 398.2 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00465/0.1133, allocations: 3.87 MB / 402.1 MB, free: 9.555 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.1136, allocations: 0.8039 MB / 402.9 MB, free: 8.727 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001935/0.1138, allocations: 42.94 kB / 403 MB, free: 8.688 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.114, allocations: 115.4 kB / 403.1 MB, free: 8.574 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.114, allocations: 0 / 403.1 MB, free: 8.574 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2611/0.3751, allocations: 7.031 MB / 410.1 MB, free: 1.535 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000227/0.3753, allocations: 155.3 kB / 410.3 MB, free: 1.285 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.161/2.537, allocations: 7.984 kB / 410.3 MB, free: 1.277 MB / 302.1 MB (rm -f MEV_MEV.Test.TestCylinderUnitOnOff.pipe ; mkfifo MEV_MEV.Test.TestCylinderUnitOnOff.pipe ; head -c 1048576 < MEV_MEV.Test.TestCylinderUnitOnOff.pipe >> ../files/MEV_MEV.Test.TestCylinderUnitOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestCylinderUnitOnOff_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestCylinderUnitOnOff.fmu > MEV_MEV.Test.TestCylinderUnitOnOff.pipe 2>&1)