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.001003/0.001003, allocations: 115.2 kB / 16.42 MB, free: 6.453 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.001062/0.001062, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.179/1.179, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008178/0.008178, allocations: 1.935 MB / 272.5 MB, free: 10.05 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.001391/0.001391, allocations: 67.84 kB / 378.9 MB, free: 51.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0594/0.0608, allocations: 47.14 MB / 426 MB, free: 19.94 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.002225/0.06305, allocations: 1.961 MB / 428 MB, free: 17.96 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006648/0.06373, allocations: 0.5741 MB / 428.6 MB, free: 17.38 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.624e-05/0.06382, allocations: 3.938 kB / 428.6 MB, free: 17.38 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.346e-05/0.06387, allocations: 23.84 kB / 428.6 MB, free: 17.36 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.977e-05/0.06397, allocations: 43.56 kB / 428.6 MB, free: 17.31 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001447/0.06412, allocations: 31.97 kB / 428.7 MB, free: 17.28 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.06424, allocations: 139.3 kB / 428.8 MB, free: 17.14 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.535e-05/0.06434, allocations: 40.95 kB / 428.9 MB, free: 17.11 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.903e-05/0.0644, allocations: 43.8 kB / 428.9 MB, free: 17.06 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.193e-05/0.06448, allocations: 55.72 kB / 429 MB, free: 17.01 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.0645, allocations: 8 kB / 429 MB, free: 17 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.728e-05/0.06455, allocations: 19.98 kB / 429 MB, free: 16.98 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.543e-05/0.06457, allocations: 19.92 kB / 429 MB, free: 16.96 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.984e-05/0.06462, allocations: 59.67 kB / 429.1 MB, free: 16.9 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.06473, allocations: 107.6 kB / 429.2 MB, free: 16.8 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.06474, allocations: 0 / 429.2 MB, free: 16.8 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.06475, allocations: 0 / 429.2 MB, free: 16.8 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.06476, allocations: 4 kB / 429.2 MB, free: 16.79 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.0003824/0.06515, allocations: 415 kB / 429.6 MB, free: 16.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.723e-05/0.06518, allocations: 15.88 kB / 429.6 MB, free: 16.32 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.021e-05/0.06522, allocations: 16.75 kB / 429.6 MB, free: 16.31 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.06534, allocations: 204 kB / 429.8 MB, free: 16.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.142e-06/0.06535, allocations: 4.375 kB / 429.8 MB, free: 16.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.06537, allocations: 8.375 kB / 429.8 MB, free: 16.06 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.06552, allocations: 98.81 kB / 429.9 MB, free: 15.96 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.06553, allocations: 0 / 429.9 MB, free: 15.96 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.06555, allocations: 0 / 429.9 MB, free: 15.96 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.06556, allocations: 7.938 kB / 429.9 MB, free: 15.95 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.06568, allocations: 55.91 kB / 430 MB, free: 15.89 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003804/0.06607, allocations: 388.5 kB / 430.4 MB, free: 15.46 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003987/0.06648, allocations: 70.47 kB / 430.4 MB, free: 15.39 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.894e-05/0.06654, allocations: 32.94 kB / 430.5 MB, free: 15.35 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.06656, allocations: 0 / 430.5 MB, free: 15.35 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.117e-06/0.06657, allocations: 30.56 kB / 430.5 MB, free: 15.31 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.06658, allocations: 0 / 430.5 MB, free: 15.31 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002051/0.06679, allocations: 89.5 kB / 430.6 MB, free: 15.22 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.07e-05/0.06681, allocations: 67.33 kB / 430.6 MB, free: 15.14 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.06691, allocations: 178.7 kB / 430.8 MB, free: 14.95 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.043e-06/0.06693, allocations: 25.7 kB / 430.8 MB, free: 14.92 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.358e-05/0.06696, allocations: 111.9 kB / 430.9 MB, free: 14.8 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.606e-06/0.06698, allocations: 19.77 kB / 431 MB, free: 14.79 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.06701, allocations: 21.62 kB / 431 MB, free: 14.76 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.281e-05/0.06705, allocations: 322.8 kB / 431.3 MB, free: 14.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.443e-05/0.06711, allocations: 28.84 kB / 431.3 MB, free: 14.4 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.059e-05/0.06716, allocations: 16 kB / 431.3 MB, free: 14.39 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.625e-05/0.06725, allocations: 44.84 kB / 431.4 MB, free: 14.34 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.06726, allocations: 3.984 kB / 431.4 MB, free: 14.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001299/0.06739, allocations: 89.53 kB / 431.5 MB, free: 14.24 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.656e-06/0.06741, allocations: 4 kB / 431.5 MB, free: 14.24 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.06742, allocations: 0 / 431.5 MB, free: 14.24 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.06743, allocations: 3.938 kB / 431.5 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.253e-05/0.06751, allocations: 15.98 kB / 431.5 MB, free: 14.22 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.06752, allocations: 4.188 kB / 431.5 MB, free: 14.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.412e-05/0.06759, allocations: 8 kB / 431.5 MB, free: 14.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.0676, allocations: 4 kB / 431.5 MB, free: 14.2 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.295e-05/0.06767, allocations: 104.1 kB / 431.6 MB, free: 14.1 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.243e-05/0.06771, allocations: 15.98 kB / 431.6 MB, free: 14.08 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.564e-05/0.06778, allocations: 40.84 kB / 431.7 MB, free: 14.04 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.12e-07/0.06779, allocations: 0 / 431.7 MB, free: 14.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001118/0.0679, allocations: 89.44 kB / 431.8 MB, free: 13.95 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.66e-06/0.06791, allocations: 15.84 kB / 431.8 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.62e-07/0.06792, allocations: 0 / 431.8 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-06/0.06792, allocations: 0 / 431.8 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.289e-05/0.06798, allocations: 15.92 kB / 431.8 MB, free: 13.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-06/0.06799, allocations: 3.984 kB / 431.8 MB, free: 13.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.418e-05/0.06805, allocations: 7.938 kB / 431.8 MB, free: 13.9 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-06/0.06806, allocations: 0 / 431.8 MB, free: 13.9 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.719e-05/0.0681, allocations: 184.2 kB / 432 MB, free: 13.71 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.06813, allocations: 11.91 kB / 432 MB, free: 13.7 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.06827, allocations: 90.47 kB / 432.1 MB, free: 13.61 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.06828, allocations: 0 / 432.1 MB, free: 13.61 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.06829, allocations: 0 / 432.1 MB, free: 13.61 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.719e-05/0.06833, allocations: 96.91 kB / 432.2 MB, free: 13.49 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.06835, allocations: 0 / 432.2 MB, free: 13.49 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.09e-05/0.06844, allocations: 7.984 kB / 432.2 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.277e-05/0.06847, allocations: 0 / 432.2 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001203/0.06859, allocations: 141 kB / 432.3 MB, free: 13.34 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001232/0.06872, allocations: 250.6 kB / 432.6 MB, free: 13.08 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.885e-05/0.06877, allocations: 15.98 kB / 432.6 MB, free: 13.06 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.798e-05/0.06884, allocations: 144 kB / 432.7 MB, free: 12.92 MB / 318.1 MB Notification: Performance of Backend: time 6.41e-07/0.06885, allocations: 0 / 432.7 MB, free: 12.92 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003771/0.06923, allocations: 134.5 kB / 432.9 MB, free: 12.78 MB / 318.1 MB Notification: Performance of SimCode: time 0.0003601/0.0696, allocations: 0.6958 MB / 433.6 MB, free: 12.04 MB / 318.1 MB Notification: Performance of Templates: time 0.002782/0.07239, allocations: 1.218 MB / 434.8 MB, free: 10.82 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)