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.0009003/0.0009003, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009051/0.0009051, allocations: 181 kB / 23.36 MB, free: 1.133 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.8216/0.8216, allocations: 158.6 MB / 185.2 MB, free: 2.762 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.006183/0.006183, allocations: 1.432 MB / 239 MB, free: 13.57 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.152e-06/1.152e-06, allocations: 0 / 256 MB, free: 12.53 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.184e-05/1.3e-05, allocations: 9.406 kB / 256 MB, free: 12.52 MB / 250.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.002272/0.002285, allocations: 2.04 MB / 258.1 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007261/0.003011, allocations: 0.5774 MB / 258.6 MB, free: 9.879 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.836e-05/0.003059, allocations: 0 / 258.6 MB, free: 9.879 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.186e-05/0.003101, allocations: 15.86 kB / 258.7 MB, free: 9.863 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.003217, allocations: 51.5 kB / 258.7 MB, free: 9.812 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/0.00338, allocations: 31.91 kB / 258.7 MB, free: 9.781 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.00352, allocations: 147.2 kB / 258.9 MB, free: 9.637 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.963e-05/0.0036, allocations: 25.73 kB / 258.9 MB, free: 9.613 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.895e-05/0.003689, allocations: 75.8 kB / 259 MB, free: 9.539 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.063e-05/0.00377, allocations: 39.91 kB / 259 MB, free: 9.5 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.003786, allocations: 8 kB / 259 MB, free: 9.492 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.9e-05/0.003845, allocations: 15.98 kB / 259.1 MB, free: 9.477 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.965e-05/0.003865, allocations: 27.84 kB / 259.1 MB, free: 9.449 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.069e-05/0.003896, allocations: 39.86 kB / 259.1 MB, free: 9.41 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.004014, allocations: 87.67 kB / 259.2 MB, free: 9.324 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.004016, allocations: 0 / 259.2 MB, free: 9.324 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.004016, allocations: 4 kB / 259.2 MB, free: 9.32 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.004021, allocations: 3.984 kB / 259.2 MB, free: 9.316 MB / 250.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.0003211/0.004342, allocations: 320.3 kB / 259.5 MB, free: 8.98 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.78e-05/0.00437, allocations: 11.98 kB / 259.5 MB, free: 8.969 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.026e-05/0.0044, allocations: 20.92 kB / 259.6 MB, free: 8.949 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.004515, allocations: 133.4 kB / 259.7 MB, free: 8.793 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.004523, allocations: 4.375 kB / 259.7 MB, free: 8.789 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.004533, allocations: 12.31 kB / 259.7 MB, free: 8.777 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.853e-05/0.004632, allocations: 86.77 kB / 259.8 MB, free: 8.684 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.004639, allocations: 192 / 259.8 MB, free: 8.684 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.004646, allocations: 4.375 kB / 259.8 MB, free: 8.68 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.004653, allocations: 7.938 kB / 259.8 MB, free: 8.672 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.175e-05/0.004684, allocations: 15.98 kB / 259.8 MB, free: 8.656 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002656/0.00495, allocations: 232 kB / 260 MB, free: 8.414 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.005142, allocations: 46.55 kB / 260.1 MB, free: 8.359 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.411e-05/0.005156, allocations: 8.859 kB / 260.1 MB, free: 8.348 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.005169, allocations: 4.078 kB / 260.1 MB, free: 8.344 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.005186, allocations: 34.5 kB / 260.1 MB, free: 8.301 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.005187, allocations: 4 kB / 260.1 MB, free: 8.297 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001018/0.005288, allocations: 49.83 kB / 260.2 MB, free: 8.242 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/0.005311, allocations: 51.41 kB / 260.2 MB, free: 8.18 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.283e-05/0.005383, allocations: 150.6 kB / 260.4 MB, free: 8.02 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.005392, allocations: 25.7 kB / 260.4 MB, free: 7.988 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.005431, allocations: 108.2 kB / 260.5 MB, free: 7.879 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.097e-06/0.00544, allocations: 15.89 kB / 260.5 MB, free: 7.863 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/0.005468, allocations: 25.66 kB / 260.6 MB, free: 7.832 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.521e-05/0.005533, allocations: 322.8 kB / 260.9 MB, free: 7.508 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.5e-05/0.005548, allocations: 12.84 kB / 260.9 MB, free: 7.492 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.058e-05/0.005559, allocations: 11.94 kB / 260.9 MB, free: 7.48 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.122e-05/0.00559, allocations: 24.97 kB / 260.9 MB, free: 7.453 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.005592, allocations: 0 / 260.9 MB, free: 7.453 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.188e-05/0.005644, allocations: 57.72 kB / 261 MB, free: 7.391 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.156e-06/0.005652, allocations: 4 kB / 261 MB, free: 7.387 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-06/0.005655, allocations: 0 / 261 MB, free: 7.387 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.005664, allocations: 0 / 261 MB, free: 7.387 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.095e-05/0.005705, allocations: 15.98 kB / 261 MB, free: 7.371 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.005708, allocations: 3.938 kB / 261 MB, free: 7.367 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.346e-05/0.005732, allocations: 3.938 kB / 261 MB, free: 7.363 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.005735, allocations: 4 kB / 261 MB, free: 7.359 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 3.242e-05/0.005768, allocations: 92.08 kB / 261.1 MB, free: 7.266 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.294e-06/0.005775, allocations: 7.984 kB / 261.1 MB, free: 7.258 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 1.944e-05/0.005795, allocations: 20.84 kB / 261.1 MB, free: 7.234 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.71e-07/0.005795, allocations: 0 / 261.1 MB, free: 7.234 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 4.055e-05/0.005835, allocations: 53.61 kB / 261.2 MB, free: 7.176 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.591e-06/0.005841, allocations: 10.5 kB / 261.2 MB, free: 7.168 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.51e-07/0.005842, allocations: 0 / 261.2 MB, free: 7.168 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-06/0.005843, allocations: 0 / 261.2 MB, free: 7.168 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.254e-05/0.005865, allocations: 11.94 kB / 261.2 MB, free: 7.156 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.01e-07/0.005866, allocations: 0 / 261.2 MB, free: 7.156 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.788e-05/0.005884, allocations: 8 kB / 261.2 MB, free: 7.148 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-06/0.005885, allocations: 256 / 261.2 MB, free: 7.148 MB / 250.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 5.529e-05/0.00594, allocations: 192.2 kB / 261.4 MB, free: 6.953 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.634e-05/0.005957, allocations: 4 kB / 261.4 MB, free: 6.949 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.738e-05/0.006024, allocations: 58.02 kB / 261.5 MB, free: 6.887 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.006025, allocations: 0 / 261.5 MB, free: 6.887 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.006027, allocations: 0 / 261.5 MB, free: 6.887 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.006029, allocations: 0 / 261.5 MB, free: 6.887 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.006184, allocations: 223.5 kB / 261.7 MB, free: 6.641 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.006186, allocations: 4 kB / 261.7 MB, free: 6.637 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.003e-05/0.006206, allocations: 8.031 kB / 261.7 MB, free: 6.629 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.006207, allocations: 0 / 261.7 MB, free: 6.629 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-06/0.006211, allocations: 4 kB / 261.7 MB, free: 6.625 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.006213, allocations: 3.938 kB / 261.7 MB, free: 6.621 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.006215, allocations: 3.984 kB / 261.7 MB, free: 6.617 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.245e-05/0.006277, allocations: 144.3 kB / 261.8 MB, free: 6.457 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.135e-05/0.006299, allocations: 15.95 kB / 261.9 MB, free: 6.441 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.006309, allocations: 3.984 kB / 261.9 MB, free: 6.438 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.642e-05/0.006346, allocations: 0 / 261.9 MB, free: 6.438 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.772e-05/0.006364, allocations: 4 kB / 261.9 MB, free: 6.434 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.006367, allocations: 3.938 kB / 261.9 MB, free: 6.43 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.826e-05/0.006395, allocations: 45.69 kB / 261.9 MB, free: 6.383 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006395, allocations: 0 / 261.9 MB, free: 6.383 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001529/0.006548, allocations: 43.89 kB / 262 MB, free: 6.34 MB / 250.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 7.219e-05/0.00662, allocations: 76.36 kB / 262 MB, free: 6.254 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.815e-05/0.006688, allocations: 41.69 kB / 262.1 MB, free: 6.207 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.006692, allocations: 4 kB / 262.1 MB, free: 6.203 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.567e-05/0.006707, allocations: 16.78 kB / 262.1 MB, free: 6.184 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.006838, allocations: 12 kB / 262.1 MB, free: 6.172 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004646/0.007302, allocations: 265.1 kB / 262.4 MB, free: 5.879 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.42e-05/0.007336, allocations: 67.28 kB / 262.4 MB, free: 5.793 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.968e-05/0.007366, allocations: 16.2 kB / 262.4 MB, free: 5.777 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.371e-05/0.00741, allocations: 55.38 kB / 262.5 MB, free: 5.723 MB / 250.7 MB Notification: Performance of SimCode: time 4.41e-07/0.00741, allocations: 0 / 262.5 MB, free: 5.723 MB / 250.7 MB Notification: Performance of Templates: time 0.002488/0.009898, allocations: 0.9346 MB / 263.4 MB, free: 4.797 MB / 250.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > MEV_MEV.Test.TestPatientValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.17605227092281]