Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestSupplyValve.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.TestSupplyValve,fileNamePrefix="MEV_MEV_Test_TestSupplyValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestSupplyValve,fileNamePrefix="MEV_MEV_Test_TestSupplyValve",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.007962/0.007962, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.008305/0.008305, allocations: 1.934 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.536/1.536, allocations: 205.4 MB / 224.4 MB, free: 11.98 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.001027/0.001027, allocations: 90.16 kB / 273.3 MB, free: 11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003473, allocations: 8.219 kB / 331.9 MB, free: 10.79 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1075, allocations: 48.09 MB / 380 MB, free: 10.61 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3352/0.4428, allocations: 76.29 MB / 456.3 MB, free: 11.17 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/0.4431, allocations: 71.97 kB / 456.4 MB, free: 11.1 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006797/0.4499, allocations: 2.406 MB / 458.8 MB, free: 8.691 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4499, allocations: 0 / 458.8 MB, free: 8.691 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.4499, allocations: 4 kB / 458.8 MB, free: 8.688 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005517/0.4505, allocations: 408 kB / 459.2 MB, free: 8.242 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.4506, allocations: 8.031 kB / 459.2 MB, free: 8.234 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.674e-05/0.4506, allocations: 42.55 kB / 459.2 MB, free: 8.184 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.4507, allocations: 11.81 kB / 459.3 MB, free: 8.172 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.4509, allocations: 203.3 kB / 459.5 MB, free: 7.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.4509, allocations: 8 kB / 459.5 MB, free: 7.922 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.4509, allocations: 11.95 kB / 459.5 MB, free: 7.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002337/0.4512, allocations: 92.47 kB / 459.6 MB, free: 7.816 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.4512, allocations: 0 / 459.6 MB, free: 7.816 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.4512, allocations: 0 / 459.6 MB, free: 7.816 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.4512, allocations: 0 / 459.6 MB, free: 7.816 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.4514, allocations: 67.84 kB / 459.6 MB, free: 7.75 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006672/0.4521, allocations: 394.6 kB / 460 MB, free: 7.316 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004108/0.4525, allocations: 61.19 kB / 460.1 MB, free: 7.25 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.4525, allocations: 8 kB / 460.1 MB, free: 7.242 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.4526, allocations: 34.56 kB / 460.1 MB, free: 7.199 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.4526, allocations: 0 / 460.1 MB, free: 7.199 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003073/0.4529, allocations: 97.73 kB / 460.2 MB, free: 7.098 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.453, allocations: 55.34 kB / 460.3 MB, free: 7.031 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.4531, allocations: 162.8 kB / 460.4 MB, free: 6.863 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.4532, allocations: 26.47 kB / 460.4 MB, free: 6.832 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.266e-05/0.4532, allocations: 107.9 kB / 460.6 MB, free: 6.723 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.4533, allocations: 19.75 kB / 460.6 MB, free: 6.703 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/0.4533, allocations: 0 / 460.6 MB, free: 6.703 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.4534, allocations: 318.8 kB / 460.9 MB, free: 6.383 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.514e-05/0.4535, allocations: 16 kB / 460.9 MB, free: 6.367 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.912e-05/0.4535, allocations: 19.98 kB / 460.9 MB, free: 6.348 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.826e-05/0.4536, allocations: 31.92 kB / 461 MB, free: 6.316 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4536, allocations: 0 / 461 MB, free: 6.316 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000167/0.4538, allocations: 85.59 kB / 461 MB, free: 6.227 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.942e-05/0.4539, allocations: 92.98 kB / 461.1 MB, free: 6.129 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.4539, allocations: 3.953 kB / 461.1 MB, free: 6.125 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.4539, allocations: 4 kB / 461.1 MB, free: 6.121 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.553e-05/0.454, allocations: 15.94 kB / 461.1 MB, free: 6.105 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.454, allocations: 1.25 kB / 461.1 MB, free: 6.105 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.953e-05/0.4541, allocations: 8.859 kB / 461.2 MB, free: 6.098 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.914e-06/0.4541, allocations: 0 / 461.2 MB, free: 6.098 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.744e-06/0.4541, allocations: 4 kB / 461.2 MB, free: 6.094 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001168/0.4542, allocations: 47.98 kB / 461.2 MB, free: 6.047 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-06/0.4542, allocations: 0.625 kB / 461.2 MB, free: 6.047 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-06/0.4543, allocations: 4 kB / 461.2 MB, free: 6.043 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.971e-05/0.4543, allocations: 15.98 kB / 461.2 MB, free: 6.027 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-06/0.4543, allocations: 0 / 461.2 MB, free: 6.027 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.2e-05/0.4544, allocations: 11.84 kB / 461.2 MB, free: 6.016 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.4544, allocations: 256 / 461.2 MB, free: 6.016 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0001516/0.4546, allocations: 201 kB / 461.4 MB, free: 5.809 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/0.4546, allocations: 7.906 kB / 461.4 MB, free: 5.801 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002196/0.4548, allocations: 90.5 kB / 461.5 MB, free: 5.699 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.4548, allocations: 0 / 461.5 MB, free: 5.699 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.4548, allocations: 8 kB / 461.5 MB, free: 5.691 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4549, allocations: 0 / 461.5 MB, free: 5.691 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004323/0.4553, allocations: 351.3 kB / 461.9 MB, free: 5.289 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4553, allocations: 8.031 kB / 461.9 MB, free: 5.281 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.255e-05/0.4554, allocations: 11.94 kB / 461.9 MB, free: 5.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.4554, allocations: 0 / 461.9 MB, free: 5.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.4554, allocations: 3.984 kB / 461.9 MB, free: 5.266 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4554, allocations: 0 / 461.9 MB, free: 5.266 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4554, allocations: 0 / 461.9 MB, free: 5.266 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.4556, allocations: 197.9 kB / 462.1 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.359e-05/0.4557, allocations: 96.91 kB / 462.2 MB, free: 4.934 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.4558, allocations: 0 / 462.2 MB, free: 4.934 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.374e-05/0.4558, allocations: 4 kB / 462.2 MB, free: 4.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.4559, allocations: 7.953 kB / 462.2 MB, free: 4.922 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.4559, allocations: 3.938 kB / 462.2 MB, free: 4.918 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001278/0.456, allocations: 139.2 kB / 462.3 MB, free: 4.781 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.456, allocations: 4 kB / 462.4 MB, free: 4.777 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003083/0.4564, allocations: 39.94 kB / 462.4 MB, free: 4.738 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 4 * 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.0006065/0.457, allocations: 0.7953 MB / 463.2 MB, free: 3.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002154/0.4572, allocations: 67.91 kB / 463.3 MB, free: 3.844 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4572, allocations: 0 / 463.3 MB, free: 3.844 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.485e-05/0.4573, allocations: 19.98 kB / 463.3 MB, free: 3.824 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.4575, allocations: 20.02 kB / 463.3 MB, free: 3.805 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.4588, allocations: 0.736 MB / 464 MB, free: 3.016 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.4592, allocations: 0.7159 MB / 464.7 MB, free: 2.273 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.956e-05/0.4593, allocations: 8.422 kB / 464.8 MB, free: 2.266 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.527e-05/0.4593, allocations: 35.42 kB / 464.8 MB, free: 2.23 MB / 330.7 MB Notification: Performance of SimCode: time 8.32e-07/0.4593, allocations: 0 / 464.8 MB, free: 2.23 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01868/0.478, allocations: 2.138 MB / 466.9 MB, free: 112 kB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003066/0.4784, allocations: 149.7 kB / 467.1 MB, free: 15.88 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.622/2.101, allocations: 0 / 467.1 MB, free: 15.88 MB / 346.7 MB (rm -f MEV_MEV.Test.TestSupplyValve.pipe ; mkfifo MEV_MEV.Test.TestSupplyValve.pipe ; head -c 1048576 < MEV_MEV.Test.TestSupplyValve.pipe >> ../files/MEV_MEV.Test.TestSupplyValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestSupplyValve_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestSupplyValve.fmu > MEV_MEV.Test.TestSupplyValve.pipe 2>&1)