Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestPatientValve.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.TestPatientValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPatientValve") translateModel(MEV.Test.TestPatientValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPatientValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 200 kB / 16.79 MB, free: 6.809 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.374/1.374, allocations: 205.1 MB / 222.6 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008482/0.008482, allocations: 1.932 MB / 271.9 MB, free: 3.531 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.001357/0.001357, allocations: 67.91 kB / 329.8 MB, free: 33.28 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08383/0.0852, allocations: 47.14 MB / 376.9 MB, free: 2.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.003405/0.08865, allocations: 2.263 MB / 379.2 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009581/0.08963, allocations: 0.6128 MB / 379.8 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.587e-05/0.0897, allocations: 4 kB / 379.8 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.467e-05/0.08978, allocations: 11.91 kB / 379.8 MB, free: 15.17 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.08991, allocations: 31.7 kB / 379.9 MB, free: 15.14 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.09011, allocations: 35.91 kB / 379.9 MB, free: 15.1 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.09028, allocations: 131.2 kB / 380 MB, free: 14.97 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.09041, allocations: 40.81 kB / 380.1 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.132e-05/0.09049, allocations: 47.8 kB / 380.1 MB, free: 14.89 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.0906, allocations: 43.78 kB / 380.2 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.09062, allocations: 8 kB / 380.2 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.03e-05/0.09069, allocations: 8 kB / 380.2 MB, free: 14.83 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.866e-05/0.09072, allocations: 31.8 kB / 380.2 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.116e-05/0.09079, allocations: 51.73 kB / 380.3 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.09092, allocations: 79.83 kB / 380.3 MB, free: 14.67 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.09093, allocations: 0 / 380.3 MB, free: 14.67 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.09094, allocations: 0 / 380.3 MB, free: 14.67 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.401e-06/0.09095, allocations: 0 / 380.3 MB, free: 14.67 MB / 286.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.0005763/0.09153, allocations: 419 kB / 380.7 MB, free: 14.21 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.09157, allocations: 12.03 kB / 380.8 MB, free: 14.2 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.695e-05/0.09162, allocations: 20.73 kB / 380.8 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.09183, allocations: 200.1 kB / 381 MB, free: 13.95 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.09185, allocations: 8.375 kB / 381 MB, free: 13.94 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.09187, allocations: 8.312 kB / 381 MB, free: 13.93 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.09208, allocations: 89.97 kB / 381.1 MB, free: 13.84 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.09209, allocations: 3.938 kB / 381.1 MB, free: 13.83 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.09211, allocations: 0 / 381.1 MB, free: 13.83 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.09212, allocations: 4 kB / 381.1 MB, free: 13.83 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.09227, allocations: 52.59 kB / 381.1 MB, free: 13.78 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005627/0.09285, allocations: 396.3 kB / 381.5 MB, free: 13.34 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004626/0.09332, allocations: 70.53 kB / 381.6 MB, free: 13.26 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.137e-05/0.09339, allocations: 20.94 kB / 381.6 MB, free: 13.24 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.09342, allocations: 4 kB / 381.6 MB, free: 13.23 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.09345, allocations: 34.5 kB / 381.6 MB, free: 13.19 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.09346, allocations: 4 kB / 381.7 MB, free: 13.19 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002627/0.09373, allocations: 85.67 kB / 381.7 MB, free: 13.1 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.09377, allocations: 51.41 kB / 381.8 MB, free: 13.04 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.09394, allocations: 182.6 kB / 382 MB, free: 12.85 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.09397, allocations: 25.7 kB / 382 MB, free: 12.82 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.351e-05/0.09405, allocations: 116 kB / 382.1 MB, free: 12.7 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.09407, allocations: 15.73 kB / 382.1 MB, free: 12.68 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.09411, allocations: 17.72 kB / 382.1 MB, free: 12.66 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.09423, allocations: 322.8 kB / 382.5 MB, free: 12.34 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.898e-05/0.0943, allocations: 28.84 kB / 382.5 MB, free: 12.3 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.252e-05/0.09436, allocations: 15.94 kB / 382.5 MB, free: 12.29 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.09449, allocations: 52.84 kB / 382.5 MB, free: 12.23 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.0945, allocations: 0 / 382.5 MB, free: 12.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001669/0.09467, allocations: 85.58 kB / 382.6 MB, free: 12.14 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.09469, allocations: 7.938 kB / 382.6 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.09471, allocations: 3.938 kB / 382.6 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.09472, allocations: 0 / 382.6 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.267e-05/0.09481, allocations: 15.98 kB / 382.7 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.09483, allocations: 0 / 382.7 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.698e-05/0.0949, allocations: 7.906 kB / 382.7 MB, free: 12.11 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-06/0.09491, allocations: 8.125 kB / 382.7 MB, free: 12.1 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001046/0.09502, allocations: 108.1 kB / 382.8 MB, free: 11.99 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.143e-05/0.09507, allocations: 19.98 kB / 382.8 MB, free: 11.97 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.471e-05/0.09516, allocations: 40.84 kB / 382.8 MB, free: 11.93 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.11e-07/0.09517, allocations: 3.938 kB / 382.8 MB, free: 11.93 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001389/0.09531, allocations: 77.59 kB / 382.9 MB, free: 11.84 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.013e-06/0.09533, allocations: 6.969 kB / 382.9 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/0.09534, allocations: 3.984 kB / 382.9 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.136e-06/0.09535, allocations: 7.938 kB / 382.9 MB, free: 11.83 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.856e-05/0.09542, allocations: 15.92 kB / 383 MB, free: 11.81 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-06/0.09544, allocations: 4 kB / 383 MB, free: 11.81 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.086e-05/0.09549, allocations: 0 / 383 MB, free: 11.81 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.0955, allocations: 4 kB / 383 MB, free: 11.8 MB / 286.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 8.473e-05/0.09559, allocations: 181.1 kB / 383.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.376e-05/0.09563, allocations: 11.81 kB / 383.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001971/0.09583, allocations: 94.64 kB / 383.2 MB, free: 11.51 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.09585, allocations: 0 / 383.2 MB, free: 11.51 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.09585, allocations: 0 / 383.2 MB, free: 11.51 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.09586, allocations: 0 / 383.2 MB, free: 11.51 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003858/0.09625, allocations: 351.3 kB / 383.6 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.09626, allocations: 4 kB / 383.6 MB, free: 11.1 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.152e-05/0.09632, allocations: 7.984 kB / 383.6 MB, free: 11.09 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.09633, allocations: 4 kB / 383.6 MB, free: 11.09 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.09634, allocations: 0 / 383.6 MB, free: 11.09 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.09635, allocations: 7.969 kB / 383.6 MB, free: 11.08 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.09636, allocations: 0 / 383.6 MB, free: 11.08 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.09654, allocations: 180.1 kB / 383.8 MB, free: 10.89 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.228e-05/0.09663, allocations: 93.19 kB / 383.9 MB, free: 10.78 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.09666, allocations: 4 kB / 383.9 MB, free: 10.77 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.734e-05/0.09675, allocations: 4 kB / 383.9 MB, free: 10.77 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.09679, allocations: 4 kB / 383.9 MB, free: 10.77 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.0968, allocations: 7.984 kB / 383.9 MB, free: 10.76 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001142/0.09692, allocations: 140 kB / 384 MB, free: 10.62 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09693, allocations: 0 / 384 MB, free: 10.62 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003028/0.09724, allocations: 35.91 kB / 384.1 MB, free: 10.59 MB / 286.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 0.0001057/0.09735, allocations: 103.1 kB / 384.2 MB, free: 10.48 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002033/0.09756, allocations: 67.95 kB / 384.2 MB, free: 10.41 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.09757, allocations: 0 / 384.2 MB, free: 10.41 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.517e-05/0.09764, allocations: 23.92 kB / 384.3 MB, free: 10.39 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.09799, allocations: 19.88 kB / 384.3 MB, free: 10.37 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000518/0.09851, allocations: 320.4 kB / 384.6 MB, free: 10.02 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.0988, allocations: 0.7081 MB / 385.3 MB, free: 9.285 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.191e-05/0.09883, allocations: 11.44 kB / 385.3 MB, free: 9.273 MB / 286.1 MB Notification: Performance of SimCode: time 3.11e-07/0.09884, allocations: 0 / 385.3 MB, free: 9.273 MB / 286.1 MB Notification: Performance of Templates: time 0.002681/0.1015, allocations: 1.233 MB / 386.5 MB, free: 8.039 MB / 286.1 MB make -j1 -f MEV_MEV.Test.TestPatientValve.makefile (rm -f MEV_MEV.Test.TestPatientValve.pipe ; mkfifo MEV_MEV.Test.TestPatientValve.pipe ; head -c 1048576 < MEV_MEV.Test.TestPatientValve.pipe >> ../files/MEV_MEV.Test.TestPatientValve.sim & ./MEV_MEV.Test.TestPatientValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestPatientValve.pipe 2>&1)