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.0009226/0.0009226, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.0009527/0.0009527, allocations: 173 kB / 23.5 MB, free: 1.051 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.7953/0.7953, allocations: 158.6 MB / 185.3 MB, free: 2.926 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.005479/0.005479, allocations: 1.45 MB / 239 MB, free: 13.73 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.242e-06/1.242e-06, allocations: 0 / 304.6 MB, free: 61.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.462e-05/1.586e-05, allocations: 3.406 kB / 304.6 MB, free: 61.37 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.003243/0.003259, allocations: 3.435 MB / 308 MB, free: 59.07 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.004513, allocations: 0.9169 MB / 309 MB, free: 58.43 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.004639, allocations: 4.594 kB / 309 MB, free: 58.43 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.004746, allocations: 57.42 kB / 309 MB, free: 58.4 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002508/0.004996, allocations: 164.9 kB / 309.2 MB, free: 58.28 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003694/0.005366, allocations: 155.5 kB / 309.3 MB, free: 58.19 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005802/0.005946, allocations: 0.5819 MB / 309.9 MB, free: 57.86 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.006143, allocations: 87.27 kB / 310 MB, free: 57.82 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000331/0.006474, allocations: 312.7 kB / 310.3 MB, free: 57.68 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/0.006699, allocations: 163.5 kB / 310.5 MB, free: 57.63 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.744e-05/0.006766, allocations: 52.12 kB / 310.5 MB, free: 57.62 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.006882, allocations: 71.78 kB / 310.6 MB, free: 57.62 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.386e-05/0.006945, allocations: 102.3 kB / 310.7 MB, free: 57.54 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.007082, allocations: 163.8 kB / 310.8 MB, free: 57.47 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003699/0.007452, allocations: 358.8 kB / 311.2 MB, free: 57.29 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.007454, allocations: 1.719 kB / 311.2 MB, free: 57.29 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.007456, allocations: 3.938 kB / 311.2 MB, free: 57.29 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.007464, allocations: 0 / 311.2 MB, free: 57.29 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0008668/0.00833, allocations: 0.7711 MB / 312 MB, free: 56.67 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.008367, allocations: 12.67 kB / 312 MB, free: 56.66 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.008478, allocations: 70.69 kB / 312.1 MB, free: 56.63 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.008785, allocations: 261.8 kB / 312.3 MB, free: 56.41 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.00881, allocations: 23.09 kB / 312.3 MB, free: 56.4 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.035e-05/0.00886, allocations: 35.12 kB / 312.4 MB, free: 56.39 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003642/0.009224, allocations: 238 kB / 312.6 MB, free: 56.29 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.009235, allocations: 5.531 kB / 312.6 MB, free: 56.29 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.009259, allocations: 14.88 kB / 312.6 MB, free: 56.27 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.009271, allocations: 11.91 kB / 312.6 MB, free: 56.27 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002315/0.009503, allocations: 116.8 kB / 312.7 MB, free: 56.25 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.0107, allocations: 0.9288 MB / 313.7 MB, free: 55.62 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003999/0.0111, allocations: 171.7 kB / 313.8 MB, free: 55.54 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.01121, allocations: 66.73 kB / 313.9 MB, free: 55.51 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.171e-05/0.01125, allocations: 9.547 kB / 313.9 MB, free: 55.5 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001937/0.01144, allocations: 112.8 kB / 314 MB, free: 55.41 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 2.124e-06/0.01144, allocations: 0 / 314 MB, free: 55.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.001354/0.0128, allocations: 0.4953 MB / 314.5 MB, free: 55.15 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/0.01282, allocations: 55.72 kB / 314.6 MB, free: 55.09 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.01301, allocations: 325.4 kB / 314.9 MB, free: 54.83 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.01302, allocations: 30.83 kB / 314.9 MB, free: 54.8 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.553e-05/0.0131, allocations: 256.2 kB / 315.2 MB, free: 54.56 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.01314, allocations: 92.83 kB / 315.3 MB, free: 54.48 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.791e-05/0.01321, allocations: 74.05 kB / 315.3 MB, free: 54.42 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.03e-05/0.01326, allocations: 0.5059 MB / 315.8 MB, free: 53.91 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.01336, allocations: 82.48 kB / 315.9 MB, free: 53.85 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.01347, allocations: 149.1 kB / 316.1 MB, free: 53.71 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.01368, allocations: 216.3 kB / 316.3 MB, free: 53.54 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.01368, allocations: 0 / 316.3 MB, free: 53.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005064/0.01419, allocations: 332.3 kB / 316.6 MB, free: 53.33 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.01422, allocations: 32.05 kB / 316.6 MB, free: 53.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.01422, allocations: 1.812 kB / 316.6 MB, free: 53.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000806/0.01503, allocations: 217.9 kB / 316.9 MB, free: 53.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.01514, allocations: 53.69 kB / 316.9 MB, free: 53.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003335/0.01547, allocations: 0.8864 MB / 317.8 MB, free: 52.26 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.01559, allocations: 27.83 kB / 317.8 MB, free: 52.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.0156, allocations: 12 kB / 317.8 MB, free: 52.22 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001281/0.01573, allocations: 204.5 kB / 318 MB, free: 52.01 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.371e-05/0.01583, allocations: 144.1 kB / 318.2 MB, free: 51.84 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002317/0.01606, allocations: 191.4 kB / 318.4 MB, free: 51.61 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.693e-06/0.01606, allocations: 0 / 318.4 MB, free: 51.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0006446/0.0167, allocations: 376.6 kB / 318.7 MB, free: 51.22 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.01672, allocations: 29.7 kB / 318.8 MB, free: 51.19 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.01673, allocations: 4 kB / 318.8 MB, free: 51.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003621/0.01709, allocations: 107.6 kB / 318.9 MB, free: 51.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.01724, allocations: 43.92 kB / 318.9 MB, free: 51.03 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001593/0.01884, allocations: 2.348 MB / 321.3 MB, free: 48.56 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.01902, allocations: 27.78 kB / 321.3 MB, free: 48.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.01904, allocations: 22 kB / 321.3 MB, free: 48.52 MB / 282.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 9.844e-05/0.01913, allocations: 289 kB / 321.6 MB, free: 48.23 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.258e-05/0.01919, allocations: 43.78 kB / 321.6 MB, free: 48.18 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006533/0.01984, allocations: 278.7 kB / 321.9 MB, free: 47.9 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.01984, allocations: 4 kB / 321.9 MB, free: 47.9 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.01985, allocations: 4 kB / 321.9 MB, free: 47.89 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.01985, allocations: 0 / 321.9 MB, free: 47.89 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.02004, allocations: 268.3 kB / 322.2 MB, free: 47.6 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.02005, allocations: 4 kB / 322.2 MB, free: 47.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.497e-05/0.02014, allocations: 31.92 kB / 322.2 MB, free: 47.56 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00048/0.02062, allocations: 159.5 kB / 322.4 MB, free: 47.4 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.02064, allocations: 7.984 kB / 322.4 MB, free: 47.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002828/0.02092, allocations: 0.8927 MB / 323.3 MB, free: 46.47 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.02092, allocations: 3.938 kB / 323.3 MB, free: 46.47 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004706/0.02139, allocations: 361.8 kB / 323.6 MB, free: 46.09 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.601e-05/0.02148, allocations: 67.7 kB / 323.7 MB, free: 46.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.02151, allocations: 8 kB / 323.7 MB, free: 46.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.776e-05/0.02158, allocations: 20.02 kB / 323.7 MB, free: 46 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.02164, allocations: 23.89 kB / 323.7 MB, free: 45.97 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.02165, allocations: 8 kB / 323.7 MB, free: 45.96 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001015/0.02175, allocations: 223 kB / 324 MB, free: 45.75 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02175, allocations: 0 / 324 MB, free: 45.75 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003257/0.02208, allocations: 187.6 kB / 324.1 MB, free: 45.57 MB / 282.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.0001212/0.0222, allocations: 107.2 kB / 324.2 MB, free: 45.45 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006813/0.02288, allocations: 0.6667 MB / 324.9 MB, free: 44.72 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.02288, allocations: 0 / 324.9 MB, free: 44.72 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.02303, allocations: 103.3 kB / 325 MB, free: 44.62 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.02323, allocations: 30.69 kB / 325 MB, free: 44.59 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.0243, allocations: 0.7528 MB / 325.8 MB, free: 43.81 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.302e-05/0.02435, allocations: 96.94 kB / 325.9 MB, free: 43.7 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.259e-05/0.02442, allocations: 21.94 kB / 325.9 MB, free: 43.68 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.621e-05/0.02445, allocations: 24.5 kB / 325.9 MB, free: 43.65 MB / 282.7 MB Notification: Performance of SimCode: time 6.81e-07/0.02446, allocations: 0 / 325.9 MB, free: 43.65 MB / 282.7 MB Notification: Performance of Templates: time 0.005478/0.02993, allocations: 4.29 MB / 330.2 MB, free: 39.4 MB / 282.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.7573067899793386]