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.001015/0.001015, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.00116/0.00116, allocations: 199.1 kB / 16.26 MB, free: 6.629 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.515/1.515, allocations: 205.1 MB / 222.1 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01008/0.01008, allocations: 1.928 MB / 271.4 MB, free: 3.504 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.001419/0.001419, allocations: 71.84 kB / 329.4 MB, free: 33.06 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08769/0.08912, allocations: 47.13 MB / 376.6 MB, free: 1.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinder): time 0.003833/0.09299, allocations: 2.816 MB / 379.4 MB, free: 15.04 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009101/0.09393, allocations: 0.6243 MB / 380 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.09405, allocations: 4 kB / 380 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001197/0.09419, allocations: 23.83 kB / 380 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001431/0.09434, allocations: 59.53 kB / 380.1 MB, free: 14.33 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001467/0.09449, allocations: 47.89 kB / 380.1 MB, free: 14.28 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000245/0.09475, allocations: 230.9 kB / 380.4 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.09489, allocations: 48.56 kB / 380.4 MB, free: 14.01 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.095, allocations: 99.58 kB / 380.5 MB, free: 13.91 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.09514, allocations: 87.56 kB / 380.6 MB, free: 13.83 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.09517, allocations: 16 kB / 380.6 MB, free: 13.81 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.152e-05/0.09521, allocations: 16 kB / 380.6 MB, free: 13.8 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.37e-05/0.09525, allocations: 31.86 kB / 380.7 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.09535, allocations: 103.5 kB / 380.8 MB, free: 13.66 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.09555, allocations: 191.3 kB / 380.9 MB, free: 13.48 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.09557, allocations: 0 / 380.9 MB, free: 13.48 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.09557, allocations: 0 / 380.9 MB, free: 13.48 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.09558, allocations: 0 / 380.9 MB, free: 13.48 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.0007063/0.0963, allocations: 0.4989 MB / 381.4 MB, free: 12.93 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.09635, allocations: 15.89 kB / 381.5 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.609e-05/0.09641, allocations: 46.73 kB / 381.5 MB, free: 12.86 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.412e-05/0.09646, allocations: 24.66 kB / 381.5 MB, free: 12.84 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.0967, allocations: 219.9 kB / 381.7 MB, free: 12.58 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.09671, allocations: 12.7 kB / 381.8 MB, free: 12.57 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.09675, allocations: 23.94 kB / 381.8 MB, free: 12.55 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002935/0.09705, allocations: 152.2 kB / 381.9 MB, free: 12.39 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.09707, allocations: 0 / 381.9 MB, free: 12.39 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.09709, allocations: 8 kB / 381.9 MB, free: 12.39 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.0971, allocations: 4 kB / 381.9 MB, free: 12.38 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002514/0.09736, allocations: 120.1 kB / 382.1 MB, free: 12.27 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008913/0.09826, allocations: 0.5428 MB / 382.6 MB, free: 11.67 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.09847, allocations: 106.5 kB / 382.7 MB, free: 11.56 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.0986, allocations: 52.83 kB / 382.8 MB, free: 11.5 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.09863, allocations: 0 / 382.8 MB, free: 11.5 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.09866, allocations: 42.5 kB / 382.8 MB, free: 11.45 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 8.52e-07/0.09867, allocations: 0 / 382.8 MB, free: 11.45 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001699/0.1004, allocations: 0.6294 MB / 383.4 MB, free: 10.77 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.1004, allocations: 55.41 kB / 383.5 MB, free: 10.71 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.1006, allocations: 202.7 kB / 383.7 MB, free: 10.5 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.1006, allocations: 33.69 kB / 383.7 MB, free: 10.46 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.787e-05/0.1007, allocations: 120.4 kB / 383.8 MB, free: 10.34 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.939e-05/0.1008, allocations: 59.11 kB / 383.9 MB, free: 10.28 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.909e-05/0.1008, allocations: 37.7 kB / 383.9 MB, free: 10.24 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.101, allocations: 326.8 kB / 384.2 MB, free: 9.91 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.1011, allocations: 47.97 kB / 384.3 MB, free: 9.863 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.1012, allocations: 75.58 kB / 384.4 MB, free: 9.785 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.1014, allocations: 133.8 kB / 384.5 MB, free: 9.648 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1015, allocations: 0 / 384.5 MB, free: 9.648 MB / 286.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000289/0.1017, allocations: 165.5 kB / 384.7 MB, free: 9.48 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1018, allocations: 12.03 kB / 384.7 MB, free: 9.469 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1018, allocations: 0 / 384.7 MB, free: 9.469 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.1018, allocations: 3.938 kB / 384.7 MB, free: 9.465 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.102, allocations: 43.92 kB / 384.7 MB, free: 9.422 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.102, allocations: 4 kB / 384.7 MB, free: 9.418 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.454e-05/0.1021, allocations: 7.984 kB / 384.7 MB, free: 9.41 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.1021, allocations: 8 kB / 384.7 MB, free: 9.402 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 0.0001103/0.1022, allocations: 129.8 kB / 384.9 MB, free: 9.266 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.234e-05/0.1023, allocations: 23.72 kB / 384.9 MB, free: 9.242 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.09e-05/0.1024, allocations: 29.8 kB / 384.9 MB, free: 9.211 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1024, allocations: 4 kB / 384.9 MB, free: 9.207 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1024, allocations: 0 / 384.9 MB, free: 9.207 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1024, allocations: 0 / 384.9 MB, free: 9.207 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007585/0.1031, allocations: 0.579 MB / 385.5 MB, free: 8.547 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1032, allocations: 4 kB / 385.5 MB, free: 8.543 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.1033, allocations: 43.91 kB / 385.5 MB, free: 8.5 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.1034, allocations: 4 kB / 385.5 MB, free: 8.496 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.1034, allocations: 4 kB / 385.5 MB, free: 8.492 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.1034, allocations: 4.344 kB / 385.6 MB, free: 8.488 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.1034, allocations: 15.88 kB / 385.6 MB, free: 8.473 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004856/0.1039, allocations: 373.9 kB / 385.9 MB, free: 8.066 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.402e-05/0.104, allocations: 108.9 kB / 386 MB, free: 7.941 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.104, allocations: 4 kB / 386 MB, free: 7.938 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.1042, allocations: 15.98 kB / 386.1 MB, free: 7.922 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.386e-05/0.1042, allocations: 19.98 kB / 386.1 MB, free: 7.902 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.1042, allocations: 8 kB / 386.1 MB, free: 7.895 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001076/0.1044, allocations: 144.6 kB / 386.2 MB, free: 7.754 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1044, allocations: 0 / 386.2 MB, free: 7.754 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002701/0.1046, allocations: 40 kB / 386.3 MB, free: 7.715 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.0007006/0.1054, allocations: 0.9084 MB / 387.2 MB, free: 6.758 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002947/0.1057, allocations: 139.7 kB / 387.3 MB, free: 6.621 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1057, allocations: 0 / 387.3 MB, free: 6.621 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.1058, allocations: 64.42 kB / 387.4 MB, free: 6.559 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004258/0.1062, allocations: 36.05 kB / 387.4 MB, free: 6.523 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002413/0.1087, allocations: 2.278 MB / 389.7 MB, free: 4.113 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.1089, allocations: 0.7319 MB / 390.4 MB, free: 3.355 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.82e-05/0.109, allocations: 21.34 kB / 390.4 MB, free: 3.332 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.364e-05/0.1091, allocations: 51.42 kB / 390.5 MB, free: 3.285 MB / 286.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1091, allocations: 0 / 390.5 MB, free: 3.285 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2678/0.3769, allocations: 3.319 MB / 393.8 MB, free: 15.95 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001936/0.3772, allocations: 144.2 kB / 394 MB, free: 15.7 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.693/2.071, allocations: 3.984 kB / 394 MB, free: 15.7 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestCylinder_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestCylinder.fmu > MEV_MEV.Test.TestCylinder.pipe 2>&1)