Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestStandardPatient.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.0008622/0.0008622, 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.0008966/0.0008966, 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.8369/0.8369, allocations: 158.6 MB / 185.2 MB, free: 2.766 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.006429/0.006429, allocations: 1.436 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.TestStandardPatient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestStandardPatient") translateModel(MEV.Test.TestStandardPatient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestStandardPatient") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 256 MB, free: 12.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.351e-05/1.455e-05, allocations: 6.25 kB / 256 MB, free: 12.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.002982/0.002996, allocations: 3.404 MB / 259.4 MB, free: 9.141 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.004082, allocations: 0.9392 MB / 260.3 MB, free: 8.191 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.989e-05/0.004182, allocations: 4 kB / 260.3 MB, free: 8.188 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.429e-05/0.004267, allocations: 63.34 kB / 260.4 MB, free: 8.125 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002271/0.004494, allocations: 158.6 kB / 260.6 MB, free: 7.969 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.004779, allocations: 163.6 kB / 260.7 MB, free: 7.809 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005201/0.005299, allocations: 0.5791 MB / 261.3 MB, free: 7.227 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.005449, allocations: 93.66 kB / 261.4 MB, free: 7.125 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002404/0.005689, allocations: 315.3 kB / 261.7 MB, free: 6.816 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.005862, allocations: 167.5 kB / 261.9 MB, free: 6.652 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.582e-05/0.005908, allocations: 48 kB / 261.9 MB, free: 6.605 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.034e-05/0.005998, allocations: 71.92 kB / 262 MB, free: 6.535 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.844e-05/0.006057, allocations: 99.66 kB / 262.1 MB, free: 6.438 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.006168, allocations: 167.6 kB / 262.2 MB, free: 6.273 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003082/0.006477, allocations: 362.8 kB / 262.6 MB, free: 5.918 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.006479, allocations: 4 kB / 262.6 MB, free: 5.914 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.006479, allocations: 0 / 262.6 MB, free: 5.914 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.006483, allocations: 0 / 262.6 MB, free: 5.914 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0006811/0.007164, allocations: 0.6433 MB / 263.2 MB, free: 5.238 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.948e-05/0.007194, allocations: 15.98 kB / 263.2 MB, free: 5.223 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.323e-05/0.007257, allocations: 56.89 kB / 263.3 MB, free: 5.168 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.00745, allocations: 196.6 kB / 263.5 MB, free: 4.949 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.007471, allocations: 33.02 kB / 263.5 MB, free: 4.918 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.067e-05/0.007511, allocations: 32.38 kB / 263.6 MB, free: 4.887 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002374/0.007749, allocations: 219.3 kB / 263.8 MB, free: 4.664 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.007759, allocations: 4.188 kB / 263.8 MB, free: 4.66 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.007776, allocations: 8.375 kB / 263.8 MB, free: 4.652 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.016e-06/0.007784, allocations: 11.94 kB / 263.8 MB, free: 4.641 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.007897, allocations: 88.48 kB / 263.9 MB, free: 4.555 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.009006, allocations: 0.7085 MB / 264.6 MB, free: 3.816 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.009246, allocations: 150.3 kB / 264.7 MB, free: 3.66 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.681e-05/0.009302, allocations: 44.84 kB / 264.8 MB, free: 3.613 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.009322, allocations: 4 kB / 264.8 MB, free: 3.609 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000122/0.009444, allocations: 103.3 kB / 264.9 MB, free: 3.496 MB / 250.7 MB Notification: Performance of pre-optimization done (n=25): time 1.453e-06/0.009445, allocations: 0 / 264.9 MB, free: 3.496 MB / 250.7 MB Notification: Performance of matching and sorting (n=25): time 0.00101/0.01046, allocations: 429.8 kB / 265.3 MB, free: 3.066 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.01048, allocations: 55.41 kB / 265.4 MB, free: 3 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.01063, allocations: 262.9 kB / 265.6 MB, free: 2.727 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.01064, allocations: 29.7 kB / 265.6 MB, free: 2.691 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.33e-05/0.01072, allocations: 188.8 kB / 265.8 MB, free: 2.504 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.632e-05/0.01076, allocations: 91.2 kB / 265.9 MB, free: 2.414 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.713e-05/0.01084, allocations: 73.61 kB / 266 MB, free: 2.336 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.556e-05/0.01093, allocations: 342.8 kB / 266.3 MB, free: 1.992 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.28e-05/0.01099, allocations: 58.56 kB / 266.4 MB, free: 1.926 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.779e-05/0.01107, allocations: 123.4 kB / 266.5 MB, free: 1.777 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.0112, allocations: 167.5 kB / 266.7 MB, free: 1.586 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.01121, allocations: 3.938 kB / 266.7 MB, free: 1.582 MB / 250.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002434/0.01145, allocations: 257.7 kB / 266.9 MB, free: 1.309 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.01148, allocations: 37.69 kB / 267 MB, free: 1.266 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.01148, allocations: 0 / 267 MB, free: 1.266 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006608/0.01214, allocations: 200.7 kB / 267.2 MB, free: 1.066 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.98e-05/0.01224, allocations: 47.91 kB / 267.2 MB, free: 1.02 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003097/0.01255, allocations: 0.5914 MB / 267.8 MB, free: 412 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.01265, allocations: 31.78 kB / 267.8 MB, free: 380 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.01267, allocations: 11.98 kB / 267.8 MB, free: 368 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.919e-05/0.01277, allocations: 141.8 kB / 268 MB, free: 216 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.424e-05/0.01284, allocations: 120 kB / 268.1 MB, free: 68 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001324/0.01297, allocations: 163.5 kB / 268.3 MB, free: 15.88 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.52e-07/0.01298, allocations: 0 / 268.3 MB, free: 15.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0003231/0.0133, allocations: 285.7 kB / 268.5 MB, free: 15.58 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.01332, allocations: 37.89 kB / 268.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-06/0.01332, allocations: 0 / 268.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002221/0.01354, allocations: 96.77 kB / 268.7 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.675e-05/0.01364, allocations: 47.91 kB / 268.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009977/0.01463, allocations: 1.606 MB / 270.3 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.01474, allocations: 31.77 kB / 270.3 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.01475, allocations: 12 kB / 270.4 MB, free: 13.66 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 (opening.count,$PRE.opening.count,opening.T_start,$PRE.opening.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 7.946e-05/0.01483, allocations: 196.1 kB / 270.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.01486, allocations: 23.98 kB / 270.6 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003424/0.0152, allocations: 219.8 kB / 270.8 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.0152, allocations: 8 kB / 270.8 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.0152, allocations: 0 / 270.8 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.01521, allocations: 3.984 kB / 270.8 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.01537, allocations: 189.9 kB / 271 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01537, allocations: 3.938 kB / 271 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.231e-05/0.01546, allocations: 27.92 kB / 271 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004011/0.01586, allocations: 168.7 kB / 271.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.01587, allocations: 4 kB / 271.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005438/0.01641, allocations: 0.5977 MB / 271.8 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01641, allocations: 0 / 271.8 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003537/0.01677, allocations: 281.7 kB / 272.1 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.366e-05/0.01684, allocations: 47.73 kB / 272.1 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.01687, allocations: 4 kB / 272.1 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.965e-05/0.01694, allocations: 11.98 kB / 272.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.01698, allocations: 27.94 kB / 272.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.01699, allocations: 4 kB / 272.2 MB, free: 11.78 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.766e-05/0.01706, allocations: 92.64 kB / 272.2 MB, free: 11.69 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01706, allocations: 0 / 272.2 MB, free: 11.69 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003344/0.01739, allocations: 191.6 kB / 272.4 MB, free: 11.5 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (standardPatient.compliance.p,standardPatient.compliance.V,standardPatient.compliance.Vb) * Number of discrete variables: 3 ($whenCondition1,opening.T_start,opening.count) * Number of discrete states: 1 (opening.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001115/0.0175, allocations: 104.2 kB / 272.5 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005301/0.01803, allocations: 0.5323 MB / 273.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.01804, allocations: 3.938 kB / 273.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.01817, allocations: 85.25 kB / 273.2 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.01831, allocations: 32.64 kB / 273.2 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.01933, allocations: 0.7149 MB / 273.9 MB, free: 9.938 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.377e-05/0.01938, allocations: 96.94 kB / 274 MB, free: 9.824 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.273e-05/0.01946, allocations: 21.94 kB / 274 MB, free: 9.801 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.03e-05/0.01954, allocations: 75.36 kB / 274.1 MB, free: 9.727 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01954, allocations: 4 kB / 274.1 MB, free: 9.723 MB / 266.7 MB Notification: Performance of Templates: time 0.006749/0.02629, allocations: 4.458 MB / 278.6 MB, free: 5.293 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f MEV_MEV.Test.TestStandardPatient.makefile [Timeout 660] (rm -f MEV_MEV.Test.TestStandardPatient.pipe ; mkfifo MEV_MEV.Test.TestStandardPatient.pipe ; head -c 1048576 < MEV_MEV.Test.TestStandardPatient.pipe >> ../files/MEV_MEV.Test.TestStandardPatient.sim & ./MEV_MEV.Test.TestStandardPatient -abortSlowSimulation -alarm=240 -lv LOG_STATS > MEV_MEV.Test.TestStandardPatient.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.480395580176264]