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.001381/0.001381, allocations: 88.72 kB / 19.44 MB, free: 352 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.001487/0.001487, allocations: 157.7 kB / 22.75 MB, free: 1.68 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 1.379/1.379, allocations: 158.6 MB / 184.6 MB, free: 2.504 MB / 170.7 MB " [Timeout remaining time 178] 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.008307/0.008307, allocations: 1.443 MB / 238.3 MB, free: 13.71 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 2.064e-06/2.064e-06, allocations: 1.312 kB / 303.9 MB, free: 61.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.299e-05/2.506e-05, allocations: 2.312 kB / 303.9 MB, free: 61.25 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.002418/0.002443, allocations: 1.892 MB / 305.8 MB, free: 59.99 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008148/0.003258, allocations: 0.5467 MB / 306.3 MB, free: 59.62 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.726e-05/0.003315, allocations: 2.438 kB / 306.3 MB, free: 59.62 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.829e-05/0.003373, allocations: 18.56 kB / 306.3 MB, free: 59.61 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001436/0.003517, allocations: 59.42 kB / 306.4 MB, free: 59.56 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.003705, allocations: 28.59 kB / 306.4 MB, free: 59.55 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.00388, allocations: 145.4 kB / 306.6 MB, free: 59.47 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.003984, allocations: 25.47 kB / 306.6 MB, free: 59.46 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.004099, allocations: 70.05 kB / 306.7 MB, free: 59.44 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.72e-05/0.004186, allocations: 42.12 kB / 306.7 MB, free: 59.42 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.004208, allocations: 8.594 kB / 306.7 MB, free: 59.42 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.797e-05/0.004266, allocations: 17.66 kB / 306.7 MB, free: 59.42 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.307e-05/0.004289, allocations: 18.7 kB / 306.8 MB, free: 59.41 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.317e-05/0.004352, allocations: 40.33 kB / 306.8 MB, free: 59.39 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.004529, allocations: 115 kB / 306.9 MB, free: 59.34 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.004532, allocations: 4 kB / 306.9 MB, free: 59.34 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.004533, allocations: 0 / 306.9 MB, free: 59.34 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.004537, allocations: 1.594 kB / 306.9 MB, free: 59.34 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.0004697/0.005007, allocations: 345.9 kB / 307.2 MB, free: 59.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.005043, allocations: 14.08 kB / 307.3 MB, free: 59.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.992e-05/0.005103, allocations: 19.11 kB / 307.3 MB, free: 59.01 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.005246, allocations: 151.7 kB / 307.4 MB, free: 58.86 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.005259, allocations: 3.406 kB / 307.4 MB, free: 58.86 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.005274, allocations: 13.78 kB / 307.4 MB, free: 58.85 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.00546, allocations: 85.25 kB / 307.5 MB, free: 58.8 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.005469, allocations: 192 / 307.5 MB, free: 58.8 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.005481, allocations: 1.875 kB / 307.5 MB, free: 58.8 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.005487, allocations: 6.219 kB / 307.5 MB, free: 58.79 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.005627, allocations: 55.44 kB / 307.6 MB, free: 58.78 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004545/0.006081, allocations: 314.5 kB / 307.9 MB, free: 58.52 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004299/0.006511, allocations: 72.53 kB / 308 MB, free: 58.48 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.618e-05/0.006567, allocations: 18.58 kB / 308 MB, free: 58.47 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.006584, allocations: 1.719 kB / 308 MB, free: 58.47 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.142e-05/0.006596, allocations: 32.94 kB / 308 MB, free: 58.43 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.006597, allocations: 0 / 308 MB, free: 58.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002623/0.006859, allocations: 90.03 kB / 308.1 MB, free: 58.38 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.053e-05/0.00688, allocations: 61.06 kB / 308.2 MB, free: 58.31 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.006997, allocations: 156 kB / 308.3 MB, free: 58.19 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.007005, allocations: 25.7 kB / 308.3 MB, free: 58.16 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.781e-05/0.007053, allocations: 118.4 kB / 308.5 MB, free: 58.05 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.139e-05/0.007065, allocations: 16.39 kB / 308.5 MB, free: 58.04 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.0071, allocations: 23.12 kB / 308.5 MB, free: 58.02 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.16e-05/0.007142, allocations: 316.6 kB / 308.8 MB, free: 57.7 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.689e-05/0.007219, allocations: 25.8 kB / 308.8 MB, free: 57.69 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.091e-05/0.00727, allocations: 18.05 kB / 308.9 MB, free: 57.68 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.007374, allocations: 47.36 kB / 308.9 MB, free: 57.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.007376, allocations: 0 / 308.9 MB, free: 57.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001539/0.00753, allocations: 91 kB / 309 MB, free: 57.61 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.007542, allocations: 8.531 kB / 309 MB, free: 57.6 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.007546, allocations: 0 / 309 MB, free: 57.6 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.007567, allocations: 5.906 kB / 309 MB, free: 57.6 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-05/0.007642, allocations: 11.33 kB / 309 MB, free: 57.6 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.007648, allocations: 2.406 kB / 309 MB, free: 57.6 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.966e-05/0.007708, allocations: 12.56 kB / 309 MB, free: 57.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.007714, allocations: 1.156 kB / 309 MB, free: 57.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.321e-05/0.007788, allocations: 106.2 kB / 309.1 MB, free: 57.5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.94e-05/0.007827, allocations: 16.16 kB / 309.1 MB, free: 57.49 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.807e-05/0.007905, allocations: 45.42 kB / 309.2 MB, free: 57.47 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.31e-07/0.007906, allocations: 0 / 309.2 MB, free: 57.47 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001271/0.008033, allocations: 85.55 kB / 309.3 MB, free: 57.42 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.152e-06/0.008039, allocations: 4.719 kB / 309.3 MB, free: 57.42 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-06/0.00804, allocations: 1.281 kB / 309.3 MB, free: 57.42 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-06/0.008042, allocations: 0 / 309.3 MB, free: 57.42 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.368e-05/0.008105, allocations: 11.38 kB / 309.3 MB, free: 57.42 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-06/0.008107, allocations: 0 / 309.3 MB, free: 57.42 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.728e-05/0.008154, allocations: 3.375 kB / 309.3 MB, free: 57.42 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.008158, allocations: 10.34 kB / 309.3 MB, free: 57.41 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.17e-05/0.0082, allocations: 182.1 kB / 309.5 MB, free: 57.23 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-05/0.00823, allocations: 9.516 kB / 309.5 MB, free: 57.22 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.008394, allocations: 83.47 kB / 309.6 MB, free: 57.17 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.008396, allocations: 0 / 309.6 MB, free: 57.17 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.0084, allocations: 1.469 kB / 309.6 MB, free: 57.17 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.008403, allocations: 4.781 kB / 309.6 MB, free: 57.16 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002758/0.008679, allocations: 289.9 kB / 309.9 MB, free: 56.9 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.008681, allocations: 0 / 309.9 MB, free: 56.9 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.902e-05/0.00873, allocations: 12.88 kB / 309.9 MB, free: 56.89 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.008732, allocations: 1.375 kB / 309.9 MB, free: 56.89 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.008739, allocations: 0 / 309.9 MB, free: 56.89 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.008741, allocations: 5.969 kB / 309.9 MB, free: 56.89 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.008743, allocations: 1.375 kB / 309.9 MB, free: 56.89 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.008882, allocations: 170 kB / 310 MB, free: 56.74 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.648e-05/0.008919, allocations: 18.61 kB / 310.1 MB, free: 56.73 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.008936, allocations: 5.969 kB / 310.1 MB, free: 56.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.937e-05/0.009026, allocations: 7.625 kB / 310.1 MB, free: 56.72 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.00906, allocations: 6.922 kB / 310.1 MB, free: 56.72 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.009065, allocations: 5.891 kB / 310.1 MB, free: 56.71 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.736e-05/0.009133, allocations: 125.6 kB / 310.2 MB, free: 56.62 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009133, allocations: 0 / 310.2 MB, free: 56.62 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003091/0.009442, allocations: 42.27 kB / 310.3 MB, free: 56.62 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 9.823e-05/0.00954, allocations: 96.98 kB / 310.4 MB, free: 56.53 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.00974, allocations: 61.89 kB / 310.4 MB, free: 56.51 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.009741, allocations: 1.375 kB / 310.4 MB, free: 56.51 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.595e-05/0.009787, allocations: 20.48 kB / 310.4 MB, free: 56.5 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.01012, allocations: 11.95 kB / 310.4 MB, free: 56.5 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004166/0.01054, allocations: 246.6 kB / 310.7 MB, free: 56.3 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.317e-05/0.0106, allocations: 94.83 kB / 310.8 MB, free: 56.23 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.755e-05/0.01064, allocations: 4.703 kB / 310.8 MB, free: 56.23 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.01067, allocations: 13.33 kB / 310.8 MB, free: 56.22 MB / 282.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01067, allocations: 0 / 310.8 MB, free: 56.22 MB / 282.7 MB Notification: Performance of Templates: time 0.003662/0.01433, allocations: 0.8896 MB / 311.7 MB, free: 56.11 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=480 -lv LOG_STATS > MEV_MEV.Test.TestPatientValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.127522493014112]