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/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: translateModel(MEV.Test.TestSupplyValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestSupplyValve") translateModel(MEV.Test.TestSupplyValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestSupplyValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 105.4 kB / 16.41 MB, free: 6.496 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.001093/0.001093, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.123/1.123, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007371/0.007371, allocations: 1.943 MB / 272.5 MB, free: 10.07 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.001323/0.001323, allocations: 72.52 kB / 378.9 MB, free: 51.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05862/0.05996, allocations: 47.13 MB / 426 MB, free: 19.96 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.002037/0.06201, allocations: 1.958 MB / 428 MB, free: 18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005999/0.06263, allocations: 0.5741 MB / 428.6 MB, free: 17.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.927e-05/0.0627, allocations: 4 kB / 428.6 MB, free: 17.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.535e-05/0.06275, allocations: 19.84 kB / 428.6 MB, free: 17.39 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.986e-05/0.06285, allocations: 43.56 kB / 428.6 MB, free: 17.35 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001642/0.06302, allocations: 35.95 kB / 428.7 MB, free: 17.31 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.06315, allocations: 139.3 kB / 428.8 MB, free: 17.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.719e-05/0.06326, allocations: 36.97 kB / 428.8 MB, free: 17.14 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.502e-05/0.06332, allocations: 47.8 kB / 428.9 MB, free: 17.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.016e-05/0.06339, allocations: 55.7 kB / 428.9 MB, free: 17.04 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.06341, allocations: 8 kB / 429 MB, free: 17.03 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.735e-05/0.06347, allocations: 16 kB / 429 MB, free: 17.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.06349, allocations: 23.86 kB / 429 MB, free: 16.99 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.527e-05/0.06354, allocations: 59.67 kB / 429 MB, free: 16.93 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.06366, allocations: 111.6 kB / 429.2 MB, free: 16.82 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.06367, allocations: 0 / 429.2 MB, free: 16.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.06368, allocations: 0 / 429.2 MB, free: 16.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.06369, allocations: 4 kB / 429.2 MB, free: 16.82 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003973/0.06409, allocations: 416.4 kB / 429.6 MB, free: 16.37 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.682e-05/0.06413, allocations: 11.89 kB / 429.6 MB, free: 16.36 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.317e-05/0.06416, allocations: 16.75 kB / 429.6 MB, free: 16.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.06429, allocations: 207.9 kB / 429.8 MB, free: 16.1 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.06431, allocations: 4.375 kB / 429.8 MB, free: 16.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.06433, allocations: 8.375 kB / 429.8 MB, free: 16.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.06449, allocations: 97.88 kB / 429.9 MB, free: 15.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.06451, allocations: 4 kB / 429.9 MB, free: 15.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.06452, allocations: 3.938 kB / 429.9 MB, free: 15.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.06453, allocations: 0 / 429.9 MB, free: 15.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.06466, allocations: 59.91 kB / 430 MB, free: 15.92 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003896/0.06505, allocations: 380.5 kB / 430.3 MB, free: 15.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003754/0.06544, allocations: 74.47 kB / 430.4 MB, free: 15.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.962e-05/0.0655, allocations: 28.94 kB / 430.4 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.06552, allocations: 0 / 430.4 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.428e-06/0.06553, allocations: 34.56 kB / 430.5 MB, free: 15.34 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.06554, allocations: 0 / 430.5 MB, free: 15.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002139/0.06576, allocations: 93.44 kB / 430.6 MB, free: 15.24 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.776e-05/0.06578, allocations: 55.41 kB / 430.6 MB, free: 15.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.599e-05/0.06588, allocations: 182.7 kB / 430.8 MB, free: 14.98 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.172e-06/0.0659, allocations: 25.7 kB / 430.8 MB, free: 14.95 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.506e-05/0.06594, allocations: 119.9 kB / 430.9 MB, free: 14.83 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.744e-06/0.06595, allocations: 7.844 kB / 431 MB, free: 14.82 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.06599, allocations: 29.61 kB / 431 MB, free: 14.79 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.454e-05/0.06602, allocations: 314.8 kB / 431.3 MB, free: 14.47 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.436e-05/0.06608, allocations: 32.84 kB / 431.3 MB, free: 14.43 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.207e-05/0.06613, allocations: 19.98 kB / 431.3 MB, free: 14.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.835e-05/0.06623, allocations: 44.84 kB / 431.4 MB, free: 14.37 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.06623, allocations: 0 / 431.4 MB, free: 14.37 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001285/0.06637, allocations: 89.52 kB / 431.5 MB, free: 14.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.947e-06/0.06638, allocations: 4 kB / 431.5 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.06639, allocations: 3.938 kB / 431.5 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.06641, allocations: 4 kB / 431.5 MB, free: 14.26 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.701e-05/0.06648, allocations: 15.98 kB / 431.5 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.06649, allocations: 0 / 431.5 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.71e-05/0.06655, allocations: 8 kB / 431.5 MB, free: 14.24 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.06656, allocations: 4.125 kB / 431.5 MB, free: 14.23 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.354e-05/0.06663, allocations: 104.1 kB / 431.6 MB, free: 14.13 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.481e-05/0.06667, allocations: 24 kB / 431.6 MB, free: 14.11 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.749e-05/0.06674, allocations: 32.84 kB / 431.7 MB, free: 14.07 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.363e-06/0.06675, allocations: 4 kB / 431.7 MB, free: 14.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001095/0.06687, allocations: 97.36 kB / 431.8 MB, free: 13.96 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.03e-06/0.06688, allocations: 7.906 kB / 431.8 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.32e-07/0.06688, allocations: 0 / 431.8 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-06/0.06689, allocations: 3.938 kB / 431.8 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.812e-05/0.06694, allocations: 15.98 kB / 431.8 MB, free: 13.94 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-06/0.06695, allocations: 0 / 431.8 MB, free: 13.94 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.562e-05/0.067, allocations: 3.938 kB / 431.8 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-06/0.06701, allocations: 4 kB / 431.8 MB, free: 13.93 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.666e-05/0.06705, allocations: 184.2 kB / 432 MB, free: 13.74 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.06708, allocations: 15.91 kB / 432 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001368/0.06722, allocations: 82.47 kB / 432.1 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.06723, allocations: 0 / 432.1 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.06724, allocations: 4 kB / 432.1 MB, free: 13.63 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.06724, allocations: 0 / 432.1 MB, free: 13.63 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.0675, allocations: 355.2 kB / 432.4 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.06751, allocations: 4.031 kB / 432.4 MB, free: 13.22 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.189e-05/0.06756, allocations: 8 kB / 432.4 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.06757, allocations: 0 / 432.4 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.06758, allocations: 0 / 432.4 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.06758, allocations: 0 / 432.4 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.06759, allocations: 3.984 kB / 432.4 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.06772, allocations: 172.2 kB / 432.6 MB, free: 13.02 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.648e-05/0.06776, allocations: 105 kB / 432.7 MB, free: 12.9 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.06779, allocations: 11.98 kB / 432.7 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.46e-05/0.06786, allocations: 0 / 432.7 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.57e-05/0.0679, allocations: 4 kB / 432.7 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.0679, allocations: 0 / 432.7 MB, free: 12.89 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.922e-05/0.06798, allocations: 144 kB / 432.9 MB, free: 12.75 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.06798, allocations: 0 / 432.9 MB, free: 12.75 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.06826, allocations: 36 kB / 432.9 MB, free: 12.71 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.703e-05/0.06833, allocations: 99.25 kB / 433 MB, free: 12.6 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001746/0.06851, allocations: 67.89 kB / 433.1 MB, free: 12.54 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.06852, allocations: 0 / 433.1 MB, free: 12.54 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.087e-05/0.06857, allocations: 16 kB / 433.1 MB, free: 12.52 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.06881, allocations: 24.22 kB / 433.1 MB, free: 12.5 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000348/0.06917, allocations: 302.3 kB / 433.4 MB, free: 12.17 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.875e-05/0.06927, allocations: 0.7002 MB / 434.1 MB, free: 11.44 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.569e-05/0.0693, allocations: 11.44 kB / 434.1 MB, free: 11.43 MB / 318.1 MB Notification: Performance of SimCode: time 2e-07/0.0693, allocations: 0 / 434.1 MB, free: 11.43 MB / 318.1 MB Notification: Performance of Templates: time 0.002059/0.07137, allocations: 1.254 MB / 435.4 MB, free: 10.17 MB / 318.1 MB make -j1 -f MEV_MEV.Test.TestSupplyValve.makefile (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 & ./MEV_MEV.Test.TestSupplyValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestSupplyValve.pipe 2>&1)