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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9714/0.9714, allocations: 158.6 MB / 184.9 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01413/0.01413, allocations: 1.443 MB / 238.7 MB, free: 13.66 MB / 234.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(MEV.Test.TestPatientValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPatientValve") translateModel(MEV.Test.TestPatientValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPatientValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 304.6 MB, free: 61.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.695e-05/2.857e-05, allocations: 3.375 kB / 304.6 MB, free: 61.02 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.002511/0.00254, allocations: 1.993 MB / 306.6 MB, free: 59.69 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000781/0.003321, allocations: 0.5616 MB / 307.2 MB, free: 59.32 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.595e-05/0.003377, allocations: 2.219 kB / 307.2 MB, free: 59.32 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.317e-05/0.00343, allocations: 18.16 kB / 307.2 MB, free: 59.3 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.003551, allocations: 52.89 kB / 307.2 MB, free: 59.27 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.003763, allocations: 35.67 kB / 307.3 MB, free: 59.25 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.003926, allocations: 145.4 kB / 307.4 MB, free: 59.17 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.004051, allocations: 22.25 kB / 307.4 MB, free: 59.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.968e-05/0.004151, allocations: 74.08 kB / 307.5 MB, free: 59.13 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.004258, allocations: 38.44 kB / 307.5 MB, free: 59.12 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.004281, allocations: 8.969 kB / 307.6 MB, free: 59.12 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.869e-05/0.00434, allocations: 21.28 kB / 307.6 MB, free: 59.11 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.377e-05/0.004364, allocations: 22.81 kB / 307.6 MB, free: 59.1 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.501e-05/0.004409, allocations: 37.12 kB / 307.6 MB, free: 59.09 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.004576, allocations: 87.69 kB / 307.7 MB, free: 59.05 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.004579, allocations: 0 / 307.7 MB, free: 59.05 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.00458, allocations: 3.938 kB / 307.7 MB, free: 59.04 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.004585, allocations: 1.188 kB / 307.7 MB, free: 59.04 MB / 282.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.0004432/0.005028, allocations: 448.4 kB / 308.2 MB, free: 58.62 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.005073, allocations: 13 kB / 308.2 MB, free: 58.62 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.987e-05/0.005132, allocations: 23.05 kB / 308.2 MB, free: 58.61 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.005279, allocations: 146.8 kB / 308.3 MB, free: 58.45 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.005293, allocations: 3.875 kB / 308.3 MB, free: 58.45 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.005314, allocations: 10.25 kB / 308.4 MB, free: 58.45 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.00548, allocations: 80.77 kB / 308.4 MB, free: 58.39 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.005491, allocations: 192 / 308.4 MB, free: 58.39 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.005504, allocations: 5.469 kB / 308.4 MB, free: 58.39 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.005514, allocations: 6.219 kB / 308.4 MB, free: 58.39 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.879e-05/0.005582, allocations: 26.11 kB / 308.5 MB, free: 58.38 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004709/0.006053, allocations: 362.9 kB / 308.8 MB, free: 58.07 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003792/0.006433, allocations: 66.92 kB / 308.9 MB, free: 58.03 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.194e-05/0.006475, allocations: 17.22 kB / 308.9 MB, free: 58.01 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.006501, allocations: 1.156 kB / 308.9 MB, free: 58.01 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.006522, allocations: 35.09 kB / 308.9 MB, free: 57.97 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.354e-06/0.006525, allocations: 0 / 308.9 MB, free: 57.97 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001927/0.006717, allocations: 67.12 kB / 309 MB, free: 57.92 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.189e-05/0.006739, allocations: 52.47 kB / 309.1 MB, free: 57.86 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.006853, allocations: 213.2 kB / 309.3 MB, free: 57.68 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.694e-06/0.00686, allocations: 25.7 kB / 309.3 MB, free: 57.64 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.553e-05/0.006916, allocations: 161.2 kB / 309.4 MB, free: 57.49 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.218e-05/0.006928, allocations: 19.44 kB / 309.5 MB, free: 57.48 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/0.006964, allocations: 29.31 kB / 309.5 MB, free: 57.45 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.084e-05/0.007015, allocations: 0.4897 MB / 310 MB, free: 56.95 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.58e-05/0.00705, allocations: 15.25 kB / 310 MB, free: 56.94 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.173e-05/0.007072, allocations: 12.83 kB / 310 MB, free: 56.93 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.978e-05/0.007122, allocations: 30.09 kB / 310 MB, free: 56.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.007124, allocations: 0 / 310 MB, free: 56.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.732e-05/0.007211, allocations: 69.45 kB / 310.1 MB, free: 56.87 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.007226, allocations: 9.391 kB / 310.1 MB, free: 56.86 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.007231, allocations: 5.359 kB / 310.1 MB, free: 56.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.007248, allocations: 4 kB / 310.1 MB, free: 56.86 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.216e-05/0.00731, allocations: 10.45 kB / 310.1 MB, free: 56.86 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.007316, allocations: 1.375 kB / 310.1 MB, free: 56.86 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.937e-05/0.007345, allocations: 5.875 kB / 310.1 MB, free: 56.85 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.007352, allocations: 3.359 kB / 310.2 MB, free: 56.85 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 3.402e-05/0.007386, allocations: 136.5 kB / 310.3 MB, free: 56.72 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 1.298e-05/0.007399, allocations: 5.344 kB / 310.3 MB, free: 56.72 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 2.686e-05/0.007425, allocations: 28.03 kB / 310.3 MB, free: 56.7 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.4e-07/0.007426, allocations: 0 / 310.3 MB, free: 56.7 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 6.476e-05/0.00749, allocations: 60.48 kB / 310.4 MB, free: 56.66 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.112e-06/0.007497, allocations: 11.09 kB / 310.4 MB, free: 56.65 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.92e-07/0.007497, allocations: 0 / 310.4 MB, free: 56.65 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-06/0.0075, allocations: 1.375 kB / 310.4 MB, free: 56.65 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.758e-05/0.007527, allocations: 9.562 kB / 310.4 MB, free: 56.65 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-06/0.007528, allocations: 0 / 310.4 MB, free: 56.65 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.061e-05/0.007549, allocations: 3.5 kB / 310.4 MB, free: 56.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-06/0.007552, allocations: 5.562 kB / 310.4 MB, free: 56.65 MB / 282.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.268e-05/0.007595, allocations: 274.1 kB / 310.7 MB, free: 56.38 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.929e-05/0.007614, allocations: 13.41 kB / 310.7 MB, free: 56.37 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.007726, allocations: 63.16 kB / 310.7 MB, free: 56.32 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.007729, allocations: 5.375 kB / 310.8 MB, free: 56.32 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.007733, allocations: 0.75 kB / 310.8 MB, free: 56.32 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.007737, allocations: 3.938 kB / 310.8 MB, free: 56.31 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.007926, allocations: 327.3 kB / 311.1 MB, free: 55.99 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.007928, allocations: 1.375 kB / 311.1 MB, free: 55.99 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.27e-05/0.007961, allocations: 7.844 kB / 311.1 MB, free: 55.99 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.007964, allocations: 1.375 kB / 311.1 MB, free: 55.99 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.007971, allocations: 1.375 kB / 311.1 MB, free: 55.99 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.007973, allocations: 3.938 kB / 311.1 MB, free: 55.99 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.007975, allocations: 2.125 kB / 311.1 MB, free: 55.99 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.535e-05/0.00805, allocations: 219.6 kB / 311.3 MB, free: 55.77 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.938e-05/0.008079, allocations: 23.41 kB / 311.3 MB, free: 55.76 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.008093, allocations: 2.828 kB / 311.3 MB, free: 55.76 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.078e-05/0.008134, allocations: 5.312 kB / 311.3 MB, free: 55.75 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.008167, allocations: 7.656 kB / 311.3 MB, free: 55.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.00817, allocations: 2.75 kB / 311.4 MB, free: 55.75 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.439e-05/0.008225, allocations: 158.1 kB / 311.5 MB, free: 55.62 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008225, allocations: 0 / 311.5 MB, free: 55.62 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002103/0.008435, allocations: 47.98 kB / 311.6 MB, free: 55.61 MB / 282.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 (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.0001008/0.008536, allocations: 94.34 kB / 311.6 MB, free: 55.52 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001361/0.008672, allocations: 54.36 kB / 311.7 MB, free: 55.49 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.008673, allocations: 0 / 311.7 MB, free: 55.49 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.069e-05/0.008694, allocations: 24.12 kB / 311.7 MB, free: 55.47 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.008906, allocations: 5.797 kB / 311.7 MB, free: 55.47 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006293/0.009536, allocations: 271.4 kB / 312 MB, free: 55.26 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.066e-05/0.009566, allocations: 62.72 kB / 312.1 MB, free: 55.19 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.124e-05/0.009597, allocations: 9.516 kB / 312.1 MB, free: 55.19 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.645e-05/0.009624, allocations: 11.88 kB / 312.1 MB, free: 55.18 MB / 282.7 MB Notification: Performance of SimCode: time 7.41e-07/0.009625, allocations: 1.281 kB / 312.1 MB, free: 55.18 MB / 282.7 MB Notification: Performance of Templates: time 0.006284/0.01591, allocations: 0.8867 MB / 313 MB, free: 55.07 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f MEV_MEV.Test.TestPatientValve.makefile [Timeout 660] (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=240 -lv LOG_STATS > MEV_MEV.Test.TestPatientValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9416979951784015]