Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestCylinder.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.TestCylinder,fileNamePrefix="MEV_MEV_Test_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestCylinder,fileNamePrefix="MEV_MEV_Test_TestCylinder",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.00159/0.00159, allocations: 108 kB / 15.6 MB, free: 124 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001916/0.001916, allocations: 195.6 kB / 16.54 MB, free: 6.668 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.441/1.441, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008672/0.008672, allocations: 1.935 MB / 271.7 MB, free: 3.344 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.00141/0.00141, allocations: 67.89 kB / 329.9 MB, free: 32.71 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07179/0.07321, allocations: 47.13 MB / 377.1 MB, free: 1.535 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinder): time 0.003239/0.07648, allocations: 2.381 MB / 379.5 MB, free: 15.13 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008093/0.07731, allocations: 0.566 MB / 380 MB, free: 14.56 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.173e-05/0.07742, allocations: 4 kB / 380 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.07754, allocations: 31.7 kB / 380.1 MB, free: 14.52 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.0777, allocations: 71.34 kB / 380.1 MB, free: 14.45 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001402/0.07784, allocations: 47.94 kB / 380.2 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002226/0.07808, allocations: 238.8 kB / 380.4 MB, free: 14.17 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.07822, allocations: 52.56 kB / 380.5 MB, free: 14.12 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.782e-05/0.07831, allocations: 87.64 kB / 380.5 MB, free: 14.04 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.07846, allocations: 87.56 kB / 380.6 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.97e-05/0.07849, allocations: 16 kB / 380.6 MB, free: 13.94 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.493e-05/0.07853, allocations: 16 kB / 380.7 MB, free: 13.92 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.694e-05/0.07857, allocations: 39.84 kB / 380.7 MB, free: 13.88 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.025e-05/0.07867, allocations: 103.5 kB / 380.8 MB, free: 13.78 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.07886, allocations: 191.3 kB / 381 MB, free: 13.59 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.07887, allocations: 0 / 381 MB, free: 13.59 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.07888, allocations: 0 / 381 MB, free: 13.59 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.07889, allocations: 4 kB / 381 MB, free: 13.59 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006532/0.07955, allocations: 498.9 kB / 381.5 MB, free: 13.05 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.07959, allocations: 15.89 kB / 381.5 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.666e-05/0.07964, allocations: 58.67 kB / 381.6 MB, free: 12.97 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.382e-05/0.07969, allocations: 24.66 kB / 381.6 MB, free: 12.95 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.0799, allocations: 219.9 kB / 381.8 MB, free: 12.7 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.07992, allocations: 16.7 kB / 381.8 MB, free: 12.68 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.307e-05/0.07996, allocations: 19.94 kB / 381.8 MB, free: 12.66 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003022/0.08027, allocations: 152.2 kB / 382 MB, free: 12.51 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.08029, allocations: 0 / 382 MB, free: 12.51 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.08031, allocations: 4 kB / 382 MB, free: 12.5 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.08032, allocations: 4 kB / 382 MB, free: 12.5 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002503/0.08058, allocations: 124.1 kB / 382.1 MB, free: 12.38 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008344/0.08142, allocations: 0.5428 MB / 382.6 MB, free: 11.79 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.08162, allocations: 102.5 kB / 382.7 MB, free: 11.68 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.08174, allocations: 56.83 kB / 382.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.08176, allocations: 0 / 382.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.08179, allocations: 34.55 kB / 382.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.08179, allocations: 7.938 kB / 382.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001641/0.08344, allocations: 0.6152 MB / 383.5 MB, free: 10.9 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.08349, allocations: 59.41 kB / 383.5 MB, free: 10.83 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.08365, allocations: 206.7 kB / 383.7 MB, free: 10.62 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.08368, allocations: 25.7 kB / 383.7 MB, free: 10.59 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.6e-05/0.08375, allocations: 124.4 kB / 383.9 MB, free: 10.46 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.088e-05/0.08379, allocations: 63.09 kB / 383.9 MB, free: 10.4 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.421e-05/0.08385, allocations: 29.72 kB / 384 MB, free: 10.36 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.297e-05/0.08395, allocations: 330.8 kB / 384.3 MB, free: 10.03 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.08409, allocations: 47.98 kB / 384.3 MB, free: 9.984 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.08422, allocations: 71.39 kB / 384.4 MB, free: 9.91 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.08445, allocations: 133.8 kB / 384.5 MB, free: 9.773 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.08446, allocations: 0 / 384.5 MB, free: 9.773 MB / 286.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002966/0.08476, allocations: 165.5 kB / 384.7 MB, free: 9.605 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.08479, allocations: 10.97 kB / 384.7 MB, free: 9.598 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.0848, allocations: 0 / 384.7 MB, free: 9.598 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.08482, allocations: 3.938 kB / 384.7 MB, free: 9.594 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.08501, allocations: 47.91 kB / 384.7 MB, free: 9.547 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.08503, allocations: 4 kB / 384.8 MB, free: 9.543 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.616e-05/0.08513, allocations: 4 kB / 384.8 MB, free: 9.539 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.08515, allocations: 4 kB / 384.8 MB, free: 9.535 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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 9.26e-05/0.08525, allocations: 137.8 kB / 384.9 MB, free: 9.391 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.26e-05/0.08529, allocations: 19.72 kB / 384.9 MB, free: 9.371 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.909e-05/0.08535, allocations: 29.8 kB / 384.9 MB, free: 9.34 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.08536, allocations: 0 / 384.9 MB, free: 9.34 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.08537, allocations: 4 kB / 384.9 MB, free: 9.336 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.08537, allocations: 3.938 kB / 385 MB, free: 9.332 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007254/0.0861, allocations: 0.5829 MB / 385.5 MB, free: 8.668 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.08612, allocations: 4 kB / 385.5 MB, free: 8.664 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.08631, allocations: 43.97 kB / 385.6 MB, free: 8.621 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.08632, allocations: 4 kB / 385.6 MB, free: 8.617 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.08634, allocations: 4.25 kB / 385.6 MB, free: 8.613 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.08635, allocations: 8 kB / 385.6 MB, free: 8.605 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.08636, allocations: 7.938 kB / 385.6 MB, free: 8.598 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000482/0.08684, allocations: 377.9 kB / 386 MB, free: 8.188 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.502e-05/0.08694, allocations: 104.9 kB / 386.1 MB, free: 8.066 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.301e-05/0.08698, allocations: 11.98 kB / 386.1 MB, free: 8.055 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.08714, allocations: 11.98 kB / 386.1 MB, free: 8.043 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/0.0872, allocations: 23.98 kB / 386.1 MB, free: 8.02 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.08722, allocations: 4 kB / 386.1 MB, free: 8.016 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001169/0.08734, allocations: 148.4 kB / 386.3 MB, free: 7.871 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08735, allocations: 0 / 386.3 MB, free: 7.871 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002798/0.08763, allocations: 40 kB / 386.3 MB, free: 7.832 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 1 (cylinder.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.000735/0.08837, allocations: 0.9023 MB / 387.2 MB, free: 6.879 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002975/0.08868, allocations: 146 kB / 387.4 MB, free: 6.738 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.08869, allocations: 0 / 387.4 MB, free: 6.738 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.08883, allocations: 76.47 kB / 387.4 MB, free: 6.664 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.08923, allocations: 28.2 kB / 387.5 MB, free: 6.637 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002396/0.09163, allocations: 2.203 MB / 389.7 MB, free: 4.297 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.09192, allocations: 0.7359 MB / 390.4 MB, free: 3.535 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001076/0.09204, allocations: 17.41 kB / 390.4 MB, free: 3.516 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.996e-05/0.09212, allocations: 55.42 kB / 390.5 MB, free: 3.465 MB / 286.1 MB Notification: Performance of SimCode: time 1.613e-06/0.09213, allocations: 0 / 390.5 MB, free: 3.465 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.021/0.1131, allocations: 3.435 MB / 393.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.355/7.469, allocations: 11.92 kB / 393.9 MB, free: 15.95 MB / 302.1 MB (rm -f MEV_MEV.Test.TestCylinder.pipe ; mkfifo MEV_MEV.Test.TestCylinder.pipe ; head -c 1048576 < MEV_MEV.Test.TestCylinder.pipe >> ../files/MEV_MEV.Test.TestCylinder.sim & python3 -m fmpy simulate --output-file MEV_MEV.Test.TestCylinder_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.060241 MEV_MEV_Test_TestCylinder.fmu > MEV_MEV.Test.TestCylinder.pipe 2>&1)