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-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.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.0007779/0.0007777, allocations: 92 kB / 15.06 MB, free: 1.098 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.0007398/0.00074, allocations: 172.7 kB / 15.95 MB, free: 208 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.201/1.201, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.007479/0.007479, allocations: 1.924 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.000443/0.000443, allocations: 12 kB / 331 MB, free: 33.24 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06519/0.06564, allocations: 48.09 MB / 379.1 MB, free: 1.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.003093/0.06877, allocations: 3.441 MB / 382.5 MB, free: 13.63 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.06999, allocations: 0.9169 MB / 383.4 MB, free: 12.71 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.07015, allocations: 4 kB / 383.4 MB, free: 12.7 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001311/0.07029, allocations: 55.52 kB / 383.5 MB, free: 12.65 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002619/0.07056, allocations: 178.5 kB / 383.7 MB, free: 12.47 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.0708, allocations: 79.91 kB / 383.8 MB, free: 12.39 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003804/0.07119, allocations: 473.8 kB / 384.2 MB, free: 11.93 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.07139, allocations: 122.9 kB / 384.3 MB, free: 11.81 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.07155, allocations: 155.3 kB / 384.5 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.07174, allocations: 175.2 kB / 384.7 MB, free: 11.48 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.339e-05/0.07179, allocations: 20 kB / 384.7 MB, free: 11.46 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.193e-05/0.07187, allocations: 27.98 kB / 384.7 MB, free: 11.44 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.211e-05/0.07193, allocations: 63.7 kB / 384.8 MB, free: 11.38 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.282e-05/0.07202, allocations: 101.5 kB / 384.9 MB, free: 11.27 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002982/0.07232, allocations: 339.1 kB / 385.2 MB, free: 10.94 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.07233, allocations: 0 / 385.2 MB, free: 10.94 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.07234, allocations: 0 / 385.2 MB, free: 10.94 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.07235, allocations: 3.938 kB / 385.2 MB, free: 10.93 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.001012/0.07337, allocations: 0.6931 MB / 385.9 MB, free: 10.18 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.07341, allocations: 12.03 kB / 385.9 MB, free: 10.17 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.422e-05/0.07349, allocations: 66.53 kB / 386 MB, free: 10.1 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.48e-05/0.07356, allocations: 47.53 kB / 386 MB, free: 10.05 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.07388, allocations: 302.2 kB / 386.3 MB, free: 9.711 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.07391, allocations: 24.66 kB / 386.3 MB, free: 9.688 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.059e-05/0.07396, allocations: 39.98 kB / 386.4 MB, free: 9.648 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005208/0.07449, allocations: 298 kB / 386.7 MB, free: 9.348 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.07451, allocations: 0 / 386.7 MB, free: 9.348 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.07455, allocations: 12 kB / 386.7 MB, free: 9.336 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.07456, allocations: 8 kB / 386.7 MB, free: 9.328 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004675/0.07504, allocations: 246.5 kB / 386.9 MB, free: 9.09 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.0763, allocations: 0.9479 MB / 387.9 MB, free: 8.09 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004703/0.07678, allocations: 266.5 kB / 388.1 MB, free: 7.824 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002223/0.07702, allocations: 129.3 kB / 388.3 MB, free: 7.695 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.07705, allocations: 4.234 kB / 388.3 MB, free: 7.691 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003542/0.07741, allocations: 187.4 kB / 388.5 MB, free: 7.496 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.673e-06/0.07742, allocations: 4 kB / 388.5 MB, free: 7.492 MB / 286.1 MB Notification: Performance of matching and sorting (n=36): time 0.002044/0.07947, allocations: 1.263 MB / 389.7 MB, free: 6.141 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.07952, allocations: 55.41 kB / 389.8 MB, free: 6.074 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.07979, allocations: 308.5 kB / 390.1 MB, free: 5.77 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.07982, allocations: 29.7 kB / 390.1 MB, free: 5.734 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.07994, allocations: 188.7 kB / 390.3 MB, free: 5.547 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.985e-05/0.08002, allocations: 122.3 kB / 390.4 MB, free: 5.426 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.69e-05/0.08005, allocations: 8 kB / 390.4 MB, free: 5.418 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.08016, allocations: 342.8 kB / 390.7 MB, free: 5.074 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.08039, allocations: 108.8 kB / 390.9 MB, free: 4.965 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.08064, allocations: 149.9 kB / 391 MB, free: 4.809 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002457/0.08089, allocations: 147.2 kB / 391.1 MB, free: 4.66 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.0809, allocations: 0 / 391.1 MB, free: 4.66 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005891/0.08149, allocations: 395.9 kB / 391.5 MB, free: 4.262 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.256e-05/0.08157, allocations: 132.4 kB / 391.7 MB, free: 4.113 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.08158, allocations: 0 / 391.7 MB, free: 4.113 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.08159, allocations: 4 kB / 391.7 MB, free: 4.109 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002977/0.0819, allocations: 75.83 kB / 391.7 MB, free: 4.035 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.08192, allocations: 8 kB / 391.7 MB, free: 4.027 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/0.08212, allocations: 31.98 kB / 391.8 MB, free: 3.996 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.08215, allocations: 16 kB / 391.8 MB, free: 3.98 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.352e-06/0.08217, allocations: 4 kB / 391.8 MB, free: 3.977 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000543/0.08271, allocations: 344.7 kB / 392.1 MB, free: 3.633 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-06/0.08273, allocations: 3.938 kB / 392.1 MB, free: 3.629 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.048e-06/0.08274, allocations: 4 kB / 392.1 MB, free: 3.625 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.08301, allocations: 75.89 kB / 392.2 MB, free: 3.551 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.08302, allocations: 7.938 kB / 392.2 MB, free: 3.543 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.08321, allocations: 35.98 kB / 392.3 MB, free: 3.508 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.906e-05/0.08324, allocations: 12 kB / 392.3 MB, free: 3.496 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 ($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 () * 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.0001641/0.08341, allocations: 233.1 kB / 392.5 MB, free: 3.258 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.883e-05/0.08345, allocations: 35.53 kB / 392.5 MB, free: 3.223 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005792/0.08404, allocations: 348.8 kB / 392.9 MB, free: 2.875 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.08405, allocations: 4 kB / 392.9 MB, free: 2.871 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.08406, allocations: 0 / 392.9 MB, free: 2.871 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.08407, allocations: 3.953 kB / 392.9 MB, free: 2.867 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.08514, allocations: 0.8812 MB / 393.8 MB, free: 1.914 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.08516, allocations: 0 / 393.8 MB, free: 1.914 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00033/0.08549, allocations: 88 kB / 393.8 MB, free: 1.828 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.08551, allocations: 7.984 kB / 393.9 MB, free: 1.82 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.08553, allocations: 8 kB / 393.9 MB, free: 1.812 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.08554, allocations: 4 kB / 393.9 MB, free: 1.809 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.08555, allocations: 0 / 393.9 MB, free: 1.809 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008059/0.08636, allocations: 0.5969 MB / 394.5 MB, free: 1.176 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.08649, allocations: 144.6 kB / 394.6 MB, free: 1.016 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.67e-05/0.08654, allocations: 11.95 kB / 394.6 MB, free: 1.004 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.08678, allocations: 35.97 kB / 394.7 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.565e-05/0.08687, allocations: 31.95 kB / 394.7 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.0869, allocations: 12 kB / 394.7 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001788/0.08709, allocations: 219.1 kB / 394.9 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of sort global known variables: time 2e-07/0.08709, allocations: 0 / 394.9 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000436/0.08753, allocations: 144 kB / 395.1 MB, free: 0.5703 MB / 286.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 (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.001061/0.0886, allocations: 1.15 MB / 396.2 MB, free: 15.37 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008195/0.08943, allocations: 0.5578 MB / 396.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.08944, allocations: 0 / 396.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002818/0.08973, allocations: 159.8 kB / 396.9 MB, free: 14.63 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.09018, allocations: 69.44 kB / 397 MB, free: 14.57 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003184/0.09337, allocations: 2.313 MB / 399.3 MB, free: 12.19 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.09371, allocations: 0.7962 MB / 400.1 MB, free: 11.37 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001888/0.09391, allocations: 46.94 kB / 400.1 MB, free: 11.33 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.09407, allocations: 119.4 kB / 400.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of SimCode: time 6.01e-07/0.09408, allocations: 0 / 400.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0165/0.1106, allocations: 6.876 MB / 407.1 MB, free: 4.332 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002122/0.1108, allocations: 160.2 kB / 407.3 MB, free: 4.082 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.562/1.672, allocations: 0 / 407.3 MB, free: 4.082 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/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) Environment - environmentSimulation: