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.001522/0.001522, allocations: 109.9 kB / 16.42 MB, free: 6.508 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.001783/0.001784, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.357/1.357, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009008/0.009008, allocations: 1.943 MB / 272.5 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.001492/0.001492, allocations: 66.56 kB / 378.9 MB, free: 51.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06291/0.06442, allocations: 47.14 MB / 426.1 MB, free: 19.96 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.002321/0.06677, allocations: 1.949 MB / 428 MB, free: 18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006844/0.06747, allocations: 0.5703 MB / 428.6 MB, free: 17.42 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.293e-05/0.06753, allocations: 11.88 kB / 428.6 MB, free: 17.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.107e-05/0.0676, allocations: 23.78 kB / 428.6 MB, free: 17.38 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.06772, allocations: 35.64 kB / 428.6 MB, free: 17.35 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001828/0.06791, allocations: 39.89 kB / 428.7 MB, free: 17.31 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.06805, allocations: 143.2 kB / 428.8 MB, free: 17.17 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.06816, allocations: 36.97 kB / 428.9 MB, free: 17.13 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.955e-05/0.06822, allocations: 47.8 kB / 428.9 MB, free: 17.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.826e-05/0.06831, allocations: 51.72 kB / 429 MB, free: 17.04 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.06833, allocations: 8 kB / 429 MB, free: 17.03 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.523e-05/0.06839, allocations: 16 kB / 429 MB, free: 17.01 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.06842, allocations: 19.92 kB / 429 MB, free: 16.99 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.897e-05/0.06847, allocations: 63.66 kB / 429.1 MB, free: 16.93 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.0686, allocations: 111.6 kB / 429.2 MB, free: 16.82 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.06861, allocations: 0 / 429.2 MB, free: 16.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.06862, allocations: 4 kB / 429.2 MB, free: 16.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.06863, allocations: 4 kB / 429.2 MB, free: 16.81 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.0004273/0.06906, allocations: 408.4 kB / 429.6 MB, free: 16.37 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.0691, allocations: 15.89 kB / 429.6 MB, free: 16.35 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.838e-05/0.06914, allocations: 16.75 kB / 429.6 MB, free: 16.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.06928, allocations: 203.9 kB / 429.8 MB, free: 16.1 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-06/0.06929, allocations: 8.375 kB / 429.8 MB, free: 16.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.06931, allocations: 4.375 kB / 429.8 MB, free: 16.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.06949, allocations: 98.81 kB / 429.9 MB, free: 15.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.0695, allocations: 0 / 429.9 MB, free: 15.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.06952, allocations: 4 kB / 429.9 MB, free: 15.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.06953, allocations: 7.938 kB / 429.9 MB, free: 15.97 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.06966, allocations: 51.97 kB / 430 MB, free: 15.92 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000442/0.07011, allocations: 396.5 kB / 430.4 MB, free: 15.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004298/0.07056, allocations: 74.47 kB / 430.4 MB, free: 15.4 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.503e-05/0.07062, allocations: 24.94 kB / 430.5 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.07064, allocations: 0 / 430.5 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.065e-05/0.07066, allocations: 30.56 kB / 430.5 MB, free: 15.34 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.07067, allocations: 0 / 430.5 MB, free: 15.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002367/0.07091, allocations: 89.52 kB / 430.6 MB, free: 15.24 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.23e-05/0.07093, allocations: 55.41 kB / 430.6 MB, free: 15.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.07106, allocations: 190.6 kB / 430.8 MB, free: 14.97 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.985e-06/0.07107, allocations: 25.7 kB / 430.8 MB, free: 14.94 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.84e-05/0.07112, allocations: 107.9 kB / 430.9 MB, free: 14.83 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.977e-06/0.07113, allocations: 11.84 kB / 431 MB, free: 14.82 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.07117, allocations: 25.61 kB / 431 MB, free: 14.79 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.686e-05/0.07121, allocations: 322.8 kB / 431.3 MB, free: 14.46 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.168e-05/0.07128, allocations: 28.78 kB / 431.3 MB, free: 14.43 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.732e-05/0.07133, allocations: 23.98 kB / 431.4 MB, free: 14.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.825e-05/0.07144, allocations: 44.84 kB / 431.4 MB, free: 14.36 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.07145, allocations: 0 / 431.4 MB, free: 14.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001433/0.0716, allocations: 85.58 kB / 431.5 MB, free: 14.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.07162, allocations: 4 kB / 431.5 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.07162, allocations: 3.938 kB / 431.5 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.07164, allocations: 3.938 kB / 431.5 MB, free: 14.26 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.626e-05/0.07172, allocations: 19.98 kB / 431.5 MB, free: 14.24 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.177e-06/0.07174, allocations: 0 / 431.5 MB, free: 14.24 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.751e-05/0.07181, allocations: 8 kB / 431.5 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.07182, allocations: 0 / 431.5 MB, free: 14.23 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.161e-05/0.0719, allocations: 108.1 kB / 431.6 MB, free: 14.12 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.734e-05/0.07194, allocations: 12 kB / 431.6 MB, free: 14.11 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.686e-05/0.07202, allocations: 41.16 kB / 431.7 MB, free: 14.07 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.91e-07/0.07203, allocations: 0 / 431.7 MB, free: 14.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001257/0.07216, allocations: 97.42 kB / 431.8 MB, free: 13.97 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.841e-06/0.07218, allocations: 11.84 kB / 431.8 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-06/0.07218, allocations: 0 / 431.8 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-06/0.07219, allocations: 0 / 431.8 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.546e-05/0.07225, allocations: 11.94 kB / 431.8 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-06/0.07226, allocations: 7.984 kB / 431.8 MB, free: 13.94 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.372e-05/0.07232, allocations: 3.938 kB / 431.8 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-06/0.07232, allocations: 0 / 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 4.146e-05/0.07237, allocations: 192.2 kB / 432 MB, free: 13.74 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.0724, allocations: 7.906 kB / 432 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000153/0.07256, allocations: 90.64 kB / 432.1 MB, free: 13.63 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.07258, allocations: 0 / 432.1 MB, free: 13.63 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.07258, allocations: 0 / 432.1 MB, free: 13.63 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.07263, allocations: 96.91 kB / 432.2 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.07265, allocations: 0 / 432.2 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.7e-05/0.07274, allocations: 4 kB / 432.2 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.732e-05/0.07278, allocations: 3.984 kB / 432.2 MB, free: 13.51 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001332/0.07292, allocations: 145 kB / 432.3 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001366/0.07306, allocations: 250.6 kB / 432.6 MB, free: 13.1 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.779e-05/0.07312, allocations: 15.98 kB / 432.6 MB, free: 13.09 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.111e-05/0.0732, allocations: 136 kB / 432.7 MB, free: 12.95 MB / 318.1 MB Notification: Performance of Backend: time 3.4e-07/0.07321, allocations: 0 / 432.7 MB, free: 12.95 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004036/0.07361, allocations: 126.4 kB / 432.8 MB, free: 12.82 MB / 318.1 MB Notification: Performance of SimCode: time 0.0004059/0.07403, allocations: 0.7034 MB / 433.6 MB, free: 12.07 MB / 318.1 MB Notification: Performance of Templates: time 0.00307/0.07711, allocations: 1.187 MB / 434.7 MB, free: 10.88 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)