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.007471/0.007471, allocations: 96.8 kB / 15.73 MB, free: 6.039 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.001793/0.001793, allocations: 200.5 kB / 16.68 MB, free: 5.965 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.321/1.321, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008243/0.008243, allocations: 1.945 MB / 271.8 MB, free: 10.06 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.1261/0.1261, allocations: 61.81 kB / 377.7 MB, free: 52.06 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07057/0.1968, allocations: 47.13 MB / 424.9 MB, free: 20.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinder): time 0.002593/0.1994, allocations: 2.381 MB / 427.2 MB, free: 18.17 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006592/0.2001, allocations: 0.5816 MB / 427.8 MB, free: 17.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.109e-05/0.2002, allocations: 4 kB / 427.8 MB, free: 17.58 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001144/0.2003, allocations: 35.64 kB / 427.9 MB, free: 17.55 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.2004, allocations: 63.42 kB / 427.9 MB, free: 17.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001369/0.2006, allocations: 51.88 kB / 428 MB, free: 17.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.2008, allocations: 238.8 kB / 428.2 MB, free: 17.2 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.2009, allocations: 52.28 kB / 428.3 MB, free: 17.14 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.758e-05/0.201, allocations: 91.64 kB / 428.4 MB, free: 17.05 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.2011, allocations: 91.5 kB / 428.4 MB, free: 16.96 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.2012, allocations: 16 kB / 428.5 MB, free: 16.95 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.224e-05/0.2012, allocations: 16 kB / 428.5 MB, free: 16.93 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.874e-05/0.2012, allocations: 31.86 kB / 428.5 MB, free: 16.9 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.016e-05/0.2013, allocations: 103.5 kB / 428.6 MB, free: 16.8 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.2015, allocations: 197.3 kB / 428.8 MB, free: 16.61 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2015, allocations: 3.938 kB / 428.8 MB, free: 16.61 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2015, allocations: 0 / 428.8 MB, free: 16.61 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.2015, allocations: 4 kB / 428.8 MB, free: 16.61 MB / 318.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.0005878/0.2021, allocations: 0.4987 MB / 429.3 MB, free: 16.05 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.2021, allocations: 15.89 kB / 429.3 MB, free: 16.04 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.431e-05/0.2022, allocations: 46.73 kB / 429.4 MB, free: 15.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.2022, allocations: 24.8 kB / 429.4 MB, free: 15.96 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.2024, allocations: 224 kB / 429.6 MB, free: 15.7 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.2024, allocations: 12.7 kB / 429.6 MB, free: 15.69 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.2025, allocations: 19.94 kB / 429.6 MB, free: 15.67 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.2027, allocations: 156.2 kB / 429.8 MB, free: 15.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.2027, allocations: 0 / 429.8 MB, free: 15.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.2028, allocations: 4 kB / 429.8 MB, free: 15.51 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.2028, allocations: 4 kB / 429.8 MB, free: 15.51 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002163/0.203, allocations: 116.5 kB / 429.9 MB, free: 15.39 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007152/0.2037, allocations: 0.5507 MB / 430.5 MB, free: 14.79 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.2039, allocations: 98.47 kB / 430.6 MB, free: 14.69 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.892e-05/0.204, allocations: 56.83 kB / 430.6 MB, free: 14.63 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.204, allocations: 4 kB / 430.6 MB, free: 14.62 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.362e-05/0.2041, allocations: 34.56 kB / 430.7 MB, free: 14.58 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.2041, allocations: 0 / 430.7 MB, free: 14.58 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001456/0.2055, allocations: 0.6284 MB / 431.3 MB, free: 13.9 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.772e-05/0.2056, allocations: 55.34 kB / 431.3 MB, free: 13.84 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.2057, allocations: 195 kB / 431.5 MB, free: 13.64 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.2057, allocations: 29.7 kB / 431.6 MB, free: 13.6 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.708e-05/0.2058, allocations: 128.5 kB / 431.7 MB, free: 13.47 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.2058, allocations: 63.47 kB / 431.7 MB, free: 13.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.914e-05/0.2059, allocations: 45.66 kB / 431.8 MB, free: 13.36 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.917e-05/0.2059, allocations: 322.8 kB / 432.1 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.915e-05/0.206, allocations: 51.91 kB / 432.2 MB, free: 12.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.2061, allocations: 65.69 kB / 432.2 MB, free: 12.91 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.2063, allocations: 133.9 kB / 432.4 MB, free: 12.78 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2063, allocations: 4 kB / 432.4 MB, free: 12.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002494/0.2066, allocations: 173.5 kB / 432.5 MB, free: 12.6 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.2066, allocations: 4 kB / 432.5 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2066, allocations: 7.922 kB / 432.5 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.2066, allocations: 7.938 kB / 432.5 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.2068, allocations: 35.98 kB / 432.6 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.2068, allocations: 7.969 kB / 432.6 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.091e-05/0.2069, allocations: 11.98 kB / 432.6 MB, free: 12.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.2069, allocations: 4 kB / 432.6 MB, free: 12.52 MB / 318.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 6.689e-05/0.207, allocations: 125.8 kB / 432.7 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.207, allocations: 23.86 kB / 432.7 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.394e-05/0.2071, allocations: 29.8 kB / 432.8 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.2071, allocations: 0 / 432.8 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.2071, allocations: 0 / 432.8 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2071, allocations: 0 / 432.8 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005825/0.2077, allocations: 0.591 MB / 433.4 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.2077, allocations: 8.031 kB / 433.4 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.2079, allocations: 35.92 kB / 433.4 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.2079, allocations: 4 kB / 433.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.2079, allocations: 11.98 kB / 433.4 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.2079, allocations: 4 kB / 433.4 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2079, allocations: 0 / 433.4 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003724/0.2083, allocations: 362.1 kB / 433.8 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.839e-05/0.2084, allocations: 121 kB / 433.9 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.2084, allocations: 11.94 kB / 433.9 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.2086, allocations: 11.98 kB / 433.9 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.2086, allocations: 23.86 kB / 434 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.2086, allocations: 4 kB / 434 MB, free: 11.02 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.581e-05/0.2087, allocations: 148.4 kB / 434.1 MB, free: 10.87 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2087, allocations: 0 / 434.1 MB, free: 10.87 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002689/0.209, allocations: 44 kB / 434.1 MB, free: 10.83 MB / 318.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.000507/0.2095, allocations: 0.8985 MB / 435 MB, free: 9.875 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002652/0.2098, allocations: 139.8 kB / 435.2 MB, free: 9.738 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2098, allocations: 4 kB / 435.2 MB, free: 9.734 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.2099, allocations: 71.84 kB / 435.3 MB, free: 9.664 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.2103, allocations: 27.98 kB / 435.3 MB, free: 9.637 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.2121, allocations: 2.216 MB / 437.5 MB, free: 7.285 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.2123, allocations: 0.7358 MB / 438.2 MB, free: 6.523 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.289e-05/0.2123, allocations: 17.41 kB / 438.2 MB, free: 6.508 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.034e-05/0.2124, allocations: 51.42 kB / 438.3 MB, free: 6.457 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2124, allocations: 0 / 438.3 MB, free: 6.457 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01882/0.2313, allocations: 3.508 MB / 441.8 MB, free: 2.898 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.476/7.707, allocations: 7.984 kB / 441.8 MB, free: 2.891 MB / 318.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)