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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.000959/0.000959, allocations: 174.6 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.007333/0.007333, 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.315/1.315, allocations: 205.2 MB / 221.4 MB, free: 7.336 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.0008773/0.0008773, allocations: 89.19 kB / 270.1 MB, free: 7.133 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.553e-05/2.555e-05, allocations: 3.938 kB / 326.1 MB, free: 14.98 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2239, allocations: 48.06 MB / 374.2 MB, free: 44.25 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0851/0.3091, allocations: 79.86 MB / 454 MB, free: 14.97 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002001/0.3093, allocations: 67.97 kB / 454.1 MB, free: 14.91 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.0184/0.3277, allocations: 6.879 MB / 461 MB, free: 8.031 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3278, allocations: 0 / 461 MB, free: 8.031 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.378e-05/0.3278, allocations: 12 kB / 461 MB, free: 8.02 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001032/0.3288, allocations: 0.6391 MB / 461.6 MB, free: 7.336 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.3289, allocations: 8.031 kB / 461.6 MB, free: 7.328 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.313e-05/0.329, allocations: 70.53 kB / 461.7 MB, free: 7.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.133e-05/0.3291, allocations: 39.53 kB / 461.7 MB, free: 7.211 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003832/0.3295, allocations: 310.2 kB / 462.1 MB, free: 6.863 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.3295, allocations: 20.78 kB / 462.1 MB, free: 6.844 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.829e-05/0.3296, allocations: 35.91 kB / 462.1 MB, free: 6.809 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004844/0.3301, allocations: 271.8 kB / 462.4 MB, free: 6.535 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.3301, allocations: 0 / 462.4 MB, free: 6.535 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.395e-05/0.3301, allocations: 16 kB / 462.4 MB, free: 6.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.3301, allocations: 12.22 kB / 462.4 MB, free: 6.508 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003745/0.3305, allocations: 203 kB / 462.6 MB, free: 6.309 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.3321, allocations: 0.9526 MB / 463.5 MB, free: 5.301 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003748/0.3325, allocations: 235.3 kB / 463.8 MB, free: 5.062 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/0.3326, allocations: 109.3 kB / 463.9 MB, free: 4.953 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.3327, allocations: 4.234 kB / 463.9 MB, free: 4.949 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002979/0.333, allocations: 167.5 kB / 464.1 MB, free: 4.773 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 1.893e-06/0.333, allocations: 0 / 464.1 MB, free: 4.773 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.001724/0.3347, allocations: 1.057 MB / 465.1 MB, free: 3.625 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.3348, allocations: 63.39 kB / 465.2 MB, free: 3.551 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/0.335, allocations: 258.7 kB / 465.4 MB, free: 3.293 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.3351, allocations: 37.7 kB / 465.5 MB, free: 3.25 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.3352, allocations: 192.3 kB / 465.7 MB, free: 3.059 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.419e-05/0.3353, allocations: 110.4 kB / 465.8 MB, free: 2.949 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.958e-05/0.3353, allocations: 12 kB / 465.8 MB, free: 2.938 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.3354, allocations: 342.8 kB / 466.1 MB, free: 2.594 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.3356, allocations: 88.81 kB / 466.2 MB, free: 2.504 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.3358, allocations: 125.7 kB / 466.3 MB, free: 2.375 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.336, allocations: 137.6 kB / 466.4 MB, free: 2.238 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.336, allocations: 0 / 466.4 MB, free: 2.238 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004924/0.3365, allocations: 347.8 kB / 466.8 MB, free: 1.887 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.3367, allocations: 304.7 kB / 467.1 MB, free: 1.562 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3367, allocations: 0 / 467.1 MB, free: 1.562 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.3367, allocations: 4 kB / 467.1 MB, free: 1.559 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/0.337, allocations: 71.91 kB / 467.2 MB, free: 1.488 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.3371, allocations: 4 kB / 467.2 MB, free: 1.484 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002541/0.3373, allocations: 31.97 kB / 467.2 MB, free: 1.453 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.3374, allocations: 15.94 kB / 467.2 MB, free: 1.438 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/0.3374, allocations: 4 kB / 467.2 MB, free: 1.434 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000452/0.3378, allocations: 304.8 kB / 467.5 MB, free: 1.129 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.3378, allocations: 3.516 kB / 467.5 MB, free: 1.129 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.133e-06/0.3379, allocations: 7.953 kB / 467.5 MB, free: 1.121 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002936/0.3381, allocations: 75.89 kB / 467.6 MB, free: 1.047 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.3382, allocations: 7.938 kB / 467.6 MB, free: 1.039 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.3384, allocations: 32.05 kB / 467.6 MB, free: 1.008 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.3384, allocations: 12 kB / 467.6 MB, free: 0.9961 MB / 346.7 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 ($whenCondition2,$whenCondition3,$whenCondition1,$PRE.opening.T_start,opening.T_start,$PRE.opening.count,opening.count,$PRE.controller.on,controller.on) * 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 9.99e-05/0.3385, allocations: 130.3 kB / 467.8 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.373e-05/0.3386, allocations: 31.62 kB / 467.8 MB, free: 0.832 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004825/0.3391, allocations: 292.3 kB / 468.1 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3391, allocations: 7.953 kB / 468.1 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3391, allocations: 8 kB / 468.1 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3391, allocations: 0 / 468.1 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.3402, allocations: 0.8504 MB / 469 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3402, allocations: 4 kB / 469 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003749/0.3406, allocations: 84.03 kB / 469 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.393e-06/0.3406, allocations: 4.656 kB / 469 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/0.3406, allocations: 8 kB / 469.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.3406, allocations: 0 / 469.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.3407, allocations: 4 kB / 469.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006893/0.3413, allocations: 0.5865 MB / 469.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.3415, allocations: 140.7 kB / 469.8 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.985e-05/0.3416, allocations: 16 kB / 469.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002738/0.3418, allocations: 28.91 kB / 469.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.407e-05/0.3419, allocations: 35.89 kB / 469.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.342, allocations: 12 kB / 469.9 MB, free: 14.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001911/0.3422, allocations: 210.2 kB / 470.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3422, allocations: 4 kB / 470.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004705/0.3426, allocations: 156 kB / 470.2 MB, free: 14.24 MB / 362.7 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) * 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 (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.001093/0.3437, allocations: 1.493 MB / 471.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006875/0.3444, allocations: 0.4976 MB / 472.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3445, allocations: 7.531 kB / 472.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002404/0.3447, allocations: 151.8 kB / 472.4 MB, free: 12.01 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.3451, allocations: 60.69 kB / 472.4 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.3465, allocations: 0.7454 MB / 473.2 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.3469, allocations: 0.8001 MB / 474 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002695/0.3472, allocations: 58.92 kB / 474 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.3473, allocations: 115.4 kB / 474.2 MB, free: 10.16 MB / 362.7 MB Notification: Performance of SimCode: time 3e-07/0.3473, allocations: 0 / 474.2 MB, free: 10.16 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01926/0.3666, allocations: 7.121 MB / 481.3 MB, free: 3.125 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001383/0.3668, allocations: 119.5 kB / 481.4 MB, free: 2.926 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.957/2.324, allocations: 0 / 481.4 MB, free: 2.926 MB / 362.7 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/linux/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)