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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(MEV.Test.TestStandardPatient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestStandardPatient") translateModel(MEV.Test.TestStandardPatient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestStandardPatient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008603/0.0008603, allocations: 99.94 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008481/0.0008481, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.124/1.124, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007186/0.007186, allocations: 1.928 MB / 272.3 MB, free: 3.402 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004714/0.0004715, allocations: 16 kB / 330.9 MB, free: 33.38 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06144/0.06192, allocations: 48.1 MB / 379 MB, free: 1.23 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.003093/0.06504, allocations: 3.373 MB / 382.3 MB, free: 13.84 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.0663, allocations: 1.061 MB / 383.4 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.06644, allocations: 4 kB / 383.4 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.048e-05/0.06654, allocations: 63.44 kB / 383.5 MB, free: 12.7 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003473/0.0669, allocations: 251.2 kB / 383.7 MB, free: 12.46 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.06717, allocations: 99.75 kB / 383.8 MB, free: 12.36 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003245/0.0675, allocations: 371.2 kB / 384.2 MB, free: 12 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/0.06769, allocations: 102.1 kB / 384.3 MB, free: 11.89 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.06787, allocations: 171.3 kB / 384.4 MB, free: 11.72 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001965/0.06808, allocations: 183.2 kB / 384.6 MB, free: 11.54 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.679e-05/0.06812, allocations: 20 kB / 384.6 MB, free: 11.52 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.045e-05/0.06822, allocations: 35.98 kB / 384.7 MB, free: 11.49 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.62e-05/0.06828, allocations: 63.73 kB / 384.7 MB, free: 11.43 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.303e-05/0.06837, allocations: 109.5 kB / 384.8 MB, free: 11.31 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002971/0.06867, allocations: 367.1 kB / 385.2 MB, free: 10.95 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.06868, allocations: 3.938 kB / 385.2 MB, free: 10.95 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.06869, allocations: 0 / 385.2 MB, free: 10.95 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.0687, allocations: 0 / 385.2 MB, free: 10.95 MB / 286.1 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.0009995/0.06971, allocations: 0.6815 MB / 385.9 MB, free: 10.21 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.756e-05/0.06974, allocations: 8.031 kB / 385.9 MB, free: 10.21 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.136e-05/0.06982, allocations: 39.53 kB / 385.9 MB, free: 10.17 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.07012, allocations: 298.2 kB / 386.2 MB, free: 9.836 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.07015, allocations: 32.61 kB / 386.2 MB, free: 9.805 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.408e-05/0.07021, allocations: 32 kB / 386.3 MB, free: 9.773 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005172/0.07073, allocations: 314 kB / 386.6 MB, free: 9.461 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.07075, allocations: 0 / 386.6 MB, free: 9.461 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.046e-05/0.07079, allocations: 20 kB / 386.6 MB, free: 9.441 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.0708, allocations: 8 kB / 386.6 MB, free: 9.434 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005038/0.07131, allocations: 262.5 kB / 386.9 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001607/0.07293, allocations: 1.154 MB / 388 MB, free: 7.965 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006257/0.07356, allocations: 286.9 kB / 388.3 MB, free: 7.676 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.07361, allocations: 7.984 kB / 388.3 MB, free: 7.668 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003298/0.07394, allocations: 164.1 kB / 388.5 MB, free: 7.496 MB / 286.1 MB Notification: Performance of pre-optimization done (n=25): time 1.563e-06/0.07396, allocations: 4 kB / 388.5 MB, free: 7.492 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.002461/0.07642, allocations: 0.7062 MB / 389.2 MB, free: 6.758 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.07647, allocations: 59.41 kB / 389.2 MB, free: 6.688 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000336/0.07681, allocations: 341.7 kB / 389.6 MB, free: 6.344 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.07684, allocations: 33.7 kB / 389.6 MB, free: 6.305 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.07698, allocations: 200.2 kB / 389.8 MB, free: 6.105 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.147e-05/0.07704, allocations: 90.73 kB / 389.9 MB, free: 6.016 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.567e-05/0.07707, allocations: 4 kB / 389.9 MB, free: 6.012 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.07719, allocations: 350.7 kB / 390.2 MB, free: 5.66 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.07741, allocations: 99.94 kB / 390.3 MB, free: 5.562 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/0.07766, allocations: 165.4 kB / 390.5 MB, free: 5.379 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002422/0.07791, allocations: 145.6 kB / 390.6 MB, free: 5.23 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.07792, allocations: 0 / 390.6 MB, free: 5.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006799/0.07861, allocations: 419.6 kB / 391 MB, free: 4.805 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002315/0.07885, allocations: 0.6414 MB / 391.7 MB, free: 4.109 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.07886, allocations: 0 / 391.7 MB, free: 4.109 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001509/0.08038, allocations: 236.5 kB / 391.9 MB, free: 3.875 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.08057, allocations: 43.92 kB / 392 MB, free: 3.832 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005823/0.08116, allocations: 0.6928 MB / 392.6 MB, free: 3.113 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002687/0.08144, allocations: 47.61 kB / 392.7 MB, free: 3.066 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.08147, allocations: 8 kB / 392.7 MB, free: 3.059 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.314e-06/0.08149, allocations: 11.03 kB / 392.7 MB, free: 3.051 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008562/0.08235, allocations: 402.2 kB / 393.1 MB, free: 2.648 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-06/0.08236, allocations: 0 / 393.1 MB, free: 2.648 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003548/0.08272, allocations: 100.7 kB / 393.2 MB, free: 2.547 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.08292, allocations: 55.97 kB / 393.3 MB, free: 2.492 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00189/0.08482, allocations: 1.929 MB / 395.2 MB, free: 440 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.08506, allocations: 43.73 kB / 395.2 MB, free: 396 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.08509, allocations: 12 kB / 395.2 MB, free: 384 kB / 286.1 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 ($whenCondition1,$PRE.opening.T_start,opening.T_start,$PRE.opening.count,opening.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001599/0.08526, allocations: 233.1 kB / 395.5 MB, free: 140 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.971e-05/0.0853, allocations: 35.53 kB / 395.5 MB, free: 104 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009394/0.08625, allocations: 404.8 kB / 395.9 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.08626, allocations: 3.984 kB / 395.9 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.08627, allocations: 0 / 395.9 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.08628, allocations: 7.891 kB / 395.9 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003346/0.08662, allocations: 405 kB / 396.3 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.08663, allocations: 0 / 396.3 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.0868, allocations: 27.98 kB / 396.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00104/0.08785, allocations: 200.7 kB / 396.5 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.08788, allocations: 11.98 kB / 396.5 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004975/0.08838, allocations: 0.6929 MB / 397.2 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.0884, allocations: 4.125 kB / 397.2 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.08949, allocations: 0.5246 MB / 397.8 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.08963, allocations: 156.5 kB / 397.9 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.396e-05/0.08968, allocations: 4 kB / 397.9 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.08988, allocations: 19.98 kB / 397.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.173e-05/0.08996, allocations: 27.91 kB / 398 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.08998, allocations: 8 kB / 398 MB, free: 13.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002178/0.0902, allocations: 247.2 kB / 398.2 MB, free: 13.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09021, allocations: 0 / 398.2 MB, free: 13.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004675/0.09068, allocations: 179.7 kB / 398.4 MB, free: 13.09 MB / 302.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001175/0.09081, allocations: 115.1 kB / 398.5 MB, free: 12.97 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001207/0.09202, allocations: 0.6728 MB / 399.2 MB, free: 12.26 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.09204, allocations: 0.75 kB / 399.2 MB, free: 12.26 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003463/0.09239, allocations: 151.9 kB / 399.3 MB, free: 12.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.09262, allocations: 37.42 kB / 399.4 MB, free: 12.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.09386, allocations: 1.001 MB / 400.4 MB, free: 11.05 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.09416, allocations: 0.8073 MB / 401.2 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001173/0.09429, allocations: 26.95 kB / 401.2 MB, free: 10.19 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.301e-05/0.09434, allocations: 23.44 kB / 401.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.09434, allocations: 0 / 401.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of Templates: time 0.00753/0.1019, allocations: 4.807 MB / 406 MB, free: 5.355 MB / 302.1 MB make -j1 -f MEV_MEV.Test.TestStandardPatient.makefile Environment - environmentSimulation: (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=480 -lv LOG_STATS > MEV_MEV.Test.TestStandardPatient.pipe 2>&1) Environment - environmentSimulation: