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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.005737/0.005737, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.009069/0.009069, allocations: 1.932 MB / 17.79 MB, free: 4.168 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.591/1.591, allocations: 205.4 MB / 224.4 MB, free: 11.91 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.0009663/0.0009663, allocations: 90.2 kB / 273.3 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003496, allocations: 8.219 kB / 331.9 MB, free: 10.8 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1089, allocations: 48.1 MB / 380 MB, free: 10.62 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3037/0.4127, allocations: 77.12 MB / 457.1 MB, free: 10.36 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/0.413, allocations: 71.97 kB / 457.2 MB, free: 10.29 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008973/0.422, allocations: 3.277 MB / 460.5 MB, free: 7.016 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.422, allocations: 0 / 460.5 MB, free: 7.016 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.86e-05/0.4221, allocations: 4 kB / 460.5 MB, free: 7.012 MB / 330.7 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.0006608/0.4227, allocations: 479.7 kB / 461 MB, free: 6.492 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.4228, allocations: 8.031 kB / 461 MB, free: 6.484 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.024e-05/0.4228, allocations: 46.55 kB / 461 MB, free: 6.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/0.4229, allocations: 19.81 kB / 461 MB, free: 6.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.4232, allocations: 211.6 kB / 461.2 MB, free: 6.164 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.4232, allocations: 16.27 kB / 461.3 MB, free: 6.148 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.658e-05/0.4232, allocations: 20 kB / 461.3 MB, free: 6.129 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000325/0.4236, allocations: 152.2 kB / 461.4 MB, free: 5.977 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.4236, allocations: 0 / 461.4 MB, free: 5.977 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.4236, allocations: 4 kB / 461.4 MB, free: 5.973 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.4236, allocations: 4 kB / 461.4 MB, free: 5.969 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000267/0.4239, allocations: 128.4 kB / 461.6 MB, free: 5.844 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009823/0.4249, allocations: 0.5546 MB / 462.1 MB, free: 5.238 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.4251, allocations: 110.5 kB / 462.2 MB, free: 5.121 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.4251, allocations: 4 kB / 462.2 MB, free: 5.117 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.4252, allocations: 30.56 kB / 462.3 MB, free: 5.078 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.753e-06/0.4252, allocations: 0 / 462.3 MB, free: 5.078 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.001795/0.427, allocations: 0.6368 MB / 462.9 MB, free: 4.391 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.427, allocations: 59.39 kB / 462.9 MB, free: 4.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.4272, allocations: 165.5 kB / 463.1 MB, free: 4.148 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.4273, allocations: 38.47 kB / 463.1 MB, free: 4.105 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.406e-05/0.4273, allocations: 128.3 kB / 463.3 MB, free: 3.977 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.345e-05/0.4274, allocations: 51.2 kB / 463.3 MB, free: 3.926 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.947e-06/0.4274, allocations: 4 kB / 463.3 MB, free: 3.922 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.4276, allocations: 334.7 kB / 463.7 MB, free: 3.586 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.4277, allocations: 51.97 kB / 463.7 MB, free: 3.535 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.4278, allocations: 73.62 kB / 463.8 MB, free: 3.457 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.428, allocations: 68.22 kB / 463.8 MB, free: 3.391 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.428, allocations: 0 / 463.8 MB, free: 3.391 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003207/0.4283, allocations: 181.4 kB / 464 MB, free: 3.207 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.4283, allocations: 4 kB / 464 MB, free: 3.203 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.4284, allocations: 4 kB / 464 MB, free: 3.199 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.4284, allocations: 3.953 kB / 464 MB, free: 3.195 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.4286, allocations: 43.97 kB / 464.1 MB, free: 3.152 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.4286, allocations: 4 kB / 464.1 MB, free: 3.148 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.4287, allocations: 4 kB / 464.1 MB, free: 3.145 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.4287, allocations: 12 kB / 464.1 MB, free: 3.133 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001327/0.4289, allocations: 133.8 kB / 464.2 MB, free: 2.992 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.284e-05/0.4289, allocations: 19.8 kB / 464.2 MB, free: 2.973 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.684e-05/0.429, allocations: 21.88 kB / 464.3 MB, free: 2.945 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.429, allocations: 4 kB / 464.3 MB, free: 2.941 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.429, allocations: 7.953 kB / 464.3 MB, free: 2.934 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.429, allocations: 3.984 kB / 464.3 MB, free: 2.93 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000806/0.4298, allocations: 0.5909 MB / 464.9 MB, free: 2.258 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.4298, allocations: 4 kB / 464.9 MB, free: 2.254 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.43, allocations: 39.97 kB / 464.9 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.4301, allocations: 4 kB / 464.9 MB, free: 2.211 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.4301, allocations: 8 kB / 464.9 MB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.4301, allocations: 3.938 kB / 464.9 MB, free: 2.199 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4301, allocations: 4 kB / 464.9 MB, free: 2.195 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005912/0.4307, allocations: 479.7 kB / 465.4 MB, free: 1.637 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.4308, allocations: 112.8 kB / 465.5 MB, free: 1.508 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.4309, allocations: 11.98 kB / 465.5 MB, free: 1.496 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.431, allocations: 12 kB / 465.5 MB, free: 1.484 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.575e-05/0.4311, allocations: 23.98 kB / 465.6 MB, free: 1.461 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.4311, allocations: 8 kB / 465.6 MB, free: 1.453 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001168/0.4312, allocations: 136.5 kB / 465.7 MB, free: 1.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.974e-06/0.4312, allocations: 0 / 465.7 MB, free: 1.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002672/0.4315, allocations: 44.19 kB / 465.7 MB, free: 1.277 MB / 330.7 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 (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.001042/0.4325, allocations: 1.563 MB / 467.3 MB, free: 15.64 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003071/0.4329, allocations: 135.8 kB / 467.4 MB, free: 15.5 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4329, allocations: 0 / 467.4 MB, free: 15.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.433, allocations: 71.97 kB / 467.5 MB, free: 15.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.4333, allocations: 26.16 kB / 467.5 MB, free: 15.41 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.4353, allocations: 1.368 MB / 468.9 MB, free: 13.96 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.4356, allocations: 0.7322 MB / 469.6 MB, free: 13.21 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.64e-05/0.4357, allocations: 17.41 kB / 469.7 MB, free: 13.19 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.401e-05/0.4358, allocations: 51.41 kB / 469.7 MB, free: 13.14 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4358, allocations: 0 / 469.7 MB, free: 13.14 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01405/0.4499, allocations: 3.071 MB / 472.8 MB, free: 10.08 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/0.4501, allocations: 133.9 kB / 472.9 MB, free: 9.863 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.763/2.213, allocations: 0 / 472.9 MB, free: 9.863 MB / 346.7 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/linux/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)