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.001339/0.001339, allocations: 79.03 kB / 19.76 MB, free: 2.031 MB / 14.72 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.00143/0.00143, allocations: 157.2 kB / 23.01 MB, free: 4.945 MB / 14.72 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.303/1.303, allocations: 158.6 MB / 184.8 MB, free: 6.176 MB / 174.1 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.008107/0.008107, allocations: 1.432 MB / 238.4 MB, free: 1.68 MB / 222.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00236/0.00236, allocations: 67.91 kB / 353.4 MB, free: 19.21 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07253/0.07489, allocations: 49.68 MB / 403.1 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.003283/0.07817, allocations: 1.866 MB / 404.9 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.07924, allocations: 0.5617 MB / 405.5 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.623e-05/0.07931, allocations: 4 kB / 405.5 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.057e-05/0.07937, allocations: 15.84 kB / 405.5 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.07952, allocations: 47.56 kB / 405.6 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.07972, allocations: 35.95 kB / 405.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002133/0.07993, allocations: 135.3 kB / 405.7 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.08005, allocations: 25.16 kB / 405.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.687e-05/0.08015, allocations: 55.67 kB / 405.8 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.866e-05/0.08025, allocations: 51.77 kB / 405.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.08027, allocations: 8 kB / 405.9 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.321e-05/0.08033, allocations: 20 kB / 405.9 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.172e-05/0.08036, allocations: 19.92 kB / 405.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.722e-05/0.08043, allocations: 51.67 kB / 406 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.08063, allocations: 115.5 kB / 406.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.08063, allocations: 3.984 kB / 406.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.08063, allocations: 0 / 406.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.964e-06/0.08064, allocations: 0 / 406.1 MB, free: 14.36 MB / 334.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.08122, allocations: 345.7 kB / 406.4 MB, free: 13.99 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.08125, allocations: 15.98 kB / 406.4 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.192e-05/0.0813, allocations: 16.84 kB / 406.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.0815, allocations: 142.4 kB / 406.6 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.08151, allocations: 4.375 kB / 406.6 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.08153, allocations: 16.3 kB / 406.6 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.08174, allocations: 89.92 kB / 406.7 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.08175, allocations: 3.984 kB / 406.7 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.08176, allocations: 7.984 kB / 406.7 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.08177, allocations: 4 kB / 406.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001488/0.08192, allocations: 55.97 kB / 406.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005564/0.08247, allocations: 304.2 kB / 407.1 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004726/0.08295, allocations: 62.55 kB / 407.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.133e-05/0.08302, allocations: 20.94 kB / 407.1 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.08303, allocations: 0 / 407.1 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.08306, allocations: 30.56 kB / 407.2 MB, free: 13.15 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.08306, allocations: 0 / 407.2 MB, free: 13.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000271/0.08333, allocations: 97.48 kB / 407.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.08338, allocations: 59.41 kB / 407.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.08353, allocations: 155.1 kB / 407.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.08356, allocations: 25.7 kB / 407.5 MB, free: 12.79 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.984e-05/0.08365, allocations: 124.1 kB / 407.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.354e-05/0.08366, allocations: 7.891 kB / 407.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.918e-05/0.08371, allocations: 25.67 kB / 407.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.08388, allocations: 318.8 kB / 408 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.617e-05/0.08395, allocations: 28.84 kB / 408 MB, free: 12.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.257e-05/0.08401, allocations: 15.98 kB / 408 MB, free: 12.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.08413, allocations: 56.78 kB / 408.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.08413, allocations: 0 / 408.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001856/0.08432, allocations: 81.64 kB / 408.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.08434, allocations: 11.89 kB / 408.2 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.08434, allocations: 3.984 kB / 408.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.08437, allocations: 7.875 kB / 408.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.648e-05/0.08445, allocations: 12 kB / 408.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.08446, allocations: 0 / 408.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.419e-05/0.08452, allocations: 7.984 kB / 408.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.08453, allocations: 4 kB / 408.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001067/0.08464, allocations: 100.1 kB / 408.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.714e-05/0.08468, allocations: 27.86 kB / 408.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 9.755e-05/0.08478, allocations: 45.16 kB / 408.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.61e-07/0.08478, allocations: 0 / 408.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.000164/0.08495, allocations: 77.62 kB / 408.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.636e-06/0.08495, allocations: 8 kB / 408.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-06/0.08496, allocations: 0 / 408.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-06/0.08496, allocations: 4 kB / 408.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.942e-05/0.08502, allocations: 8 kB / 408.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.08502, allocations: 3.938 kB / 408.5 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.174e-05/0.08507, allocations: 7.984 kB / 408.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-06/0.08508, allocations: 0 / 408.5 MB, free: 11.77 MB / 334.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 0.0001072/0.08518, allocations: 188.2 kB / 408.7 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/0.08522, allocations: 11.91 kB / 408.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001838/0.0854, allocations: 70.02 kB / 408.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.0854, allocations: 7.938 kB / 408.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.08541, allocations: 4 kB / 408.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.08542, allocations: 3.984 kB / 408.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000371/0.08579, allocations: 283 kB / 409 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.08579, allocations: 0 / 409 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.273e-05/0.08585, allocations: 11.98 kB / 409 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.08585, allocations: 3.938 kB / 409 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.08586, allocations: 0 / 409 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.08586, allocations: 0 / 409 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.08586, allocations: 0 / 409 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.08607, allocations: 188.5 kB / 409.2 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.928e-05/0.08612, allocations: 23.81 kB / 409.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.08614, allocations: 4 kB / 409.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.351e-05/0.08623, allocations: 0 / 409.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.08626, allocations: 7.984 kB / 409.3 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.08626, allocations: 0 / 409.3 MB, free: 10.9 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001031/0.08636, allocations: 123.2 kB / 409.4 MB, free: 10.78 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.08636, allocations: 0 / 409.4 MB, free: 10.78 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003385/0.0867, allocations: 43.89 kB / 409.4 MB, free: 10.74 MB / 334.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.0001108/0.08681, allocations: 87.25 kB / 409.5 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002224/0.08704, allocations: 72.09 kB / 409.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.08704, allocations: 7.875 kB / 409.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.605e-05/0.08709, allocations: 19.92 kB / 409.6 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.08738, allocations: 12.12 kB / 409.6 MB, free: 10.54 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005182/0.0879, allocations: 277.5 kB / 409.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.976e-05/0.08799, allocations: 85.31 kB / 410 MB, free: 10.12 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.553e-05/0.08803, allocations: 4 kB / 410 MB, free: 10.12 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.08806, allocations: 12.5 kB / 410 MB, free: 10.11 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.08806, allocations: 0 / 410 MB, free: 10.11 MB / 334.1 MB Notification: Performance of Templates: time 0.003666/0.09172, allocations: 0.8672 MB / 410.9 MB, free: 9.25 MB / 334.1 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 -s ida -lv LOG_STATS > MEV_MEV.Test.TestPatientValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.9517906879773363] Failed to read output from testmodel.py, exit status != 0: 0.09885170101188123 0.11479291400000001 0.031054975000000002 Calling exit ...