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.001237/0.001237, allocations: 109.5 kB / 16.42 MB, free: 6.434 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.001204/0.001204, allocations: 187.9 kB / 17.35 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.186/1.186, allocations: 205.1 MB / 223.2 MB, free: 12.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007525/0.007526, allocations: 1.942 MB / 272.5 MB, free: 10.04 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.001465/0.001465, allocations: 64.23 kB / 378.9 MB, free: 51.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06008/0.06156, allocations: 47.14 MB / 426.1 MB, free: 19.9 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.00313/0.06471, allocations: 3.445 MB / 429.5 MB, free: 16.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.066, allocations: 0.9318 MB / 430.4 MB, free: 15.49 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001715/0.0662, allocations: 4 kB / 430.4 MB, free: 15.49 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.06632, allocations: 55.41 kB / 430.5 MB, free: 15.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000244/0.06657, allocations: 158.7 kB / 430.6 MB, free: 15.28 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.06692, allocations: 155.7 kB / 430.8 MB, free: 15.12 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003499/0.06728, allocations: 0.5639 MB / 431.4 MB, free: 14.56 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001818/0.06747, allocations: 144.4 kB / 431.5 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.06763, allocations: 207.3 kB / 431.7 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.06782, allocations: 219 kB / 431.9 MB, free: 14 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.986e-05/0.06788, allocations: 48 kB / 432 MB, free: 13.95 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.06801, allocations: 67.98 kB / 432 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.64e-05/0.06807, allocations: 95.69 kB / 432.1 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.06822, allocations: 234.9 kB / 432.3 MB, free: 13.56 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003589/0.06858, allocations: 0.5098 MB / 432.9 MB, free: 13.05 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.0686, allocations: 4 kB / 432.9 MB, free: 13.04 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.0686, allocations: 3.984 kB / 432.9 MB, free: 13.04 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.06861, allocations: 4 kB / 432.9 MB, free: 13.04 MB / 318.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.001032/0.06965, allocations: 0.7513 MB / 433.6 MB, free: 12.22 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.06969, allocations: 8.031 kB / 433.6 MB, free: 12.21 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.995e-05/0.06976, allocations: 48.66 kB / 433.7 MB, free: 12.17 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.07001, allocations: 311.6 kB / 434 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.07004, allocations: 25.03 kB / 434 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.486e-05/0.0701, allocations: 36.36 kB / 434 MB, free: 11.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004918/0.07059, allocations: 318.3 kB / 434.4 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.07062, allocations: 0 / 434.4 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.07066, allocations: 16 kB / 434.4 MB, free: 11.43 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.07067, allocations: 8 kB / 434.4 MB, free: 11.43 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004811/0.07115, allocations: 258.5 kB / 434.6 MB, free: 11.17 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00142/0.07258, allocations: 1.127 MB / 435.8 MB, free: 9.988 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006099/0.07321, allocations: 278.9 kB / 436 MB, free: 9.707 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.07343, allocations: 124.8 kB / 436.1 MB, free: 9.582 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.26e-05/0.07347, allocations: 4 kB / 436.2 MB, free: 9.578 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003032/0.07378, allocations: 175.2 kB / 436.3 MB, free: 9.395 MB / 318.1 MB Notification: Performance of pre-optimization done (n=25): time 1.643e-06/0.0738, allocations: 0 / 436.3 MB, free: 9.395 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.002545/0.07634, allocations: 0.694 MB / 437 MB, free: 8.672 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.725e-05/0.07637, allocations: 55.41 kB / 437.1 MB, free: 8.605 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000267/0.07665, allocations: 357.6 kB / 437.4 MB, free: 8.25 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.07668, allocations: 37.62 kB / 437.5 MB, free: 8.207 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.785e-05/0.07676, allocations: 196.6 kB / 437.7 MB, free: 8.012 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.516e-05/0.07681, allocations: 95.14 kB / 437.7 MB, free: 7.918 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.42e-05/0.0769, allocations: 65.66 kB / 437.8 MB, free: 7.848 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.672e-05/0.07696, allocations: 346.7 kB / 438.1 MB, free: 7.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.07718, allocations: 108.8 kB / 438.3 MB, free: 7.391 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.07741, allocations: 157.7 kB / 438.4 MB, free: 7.215 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004066/0.07782, allocations: 287.5 kB / 438.7 MB, free: 6.906 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.07783, allocations: 0 / 438.7 MB, free: 6.906 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006326/0.07847, allocations: 415.9 kB / 439.1 MB, free: 6.484 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.0785, allocations: 38.78 kB / 439.1 MB, free: 6.441 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.07851, allocations: 0 / 439.1 MB, free: 6.441 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001648/0.08017, allocations: 240.7 kB / 439.4 MB, free: 6.203 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.08036, allocations: 39.98 kB / 439.4 MB, free: 6.164 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004543/0.08082, allocations: 0.6966 MB / 440.1 MB, free: 5.441 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/0.08109, allocations: 35.77 kB / 440.1 MB, free: 5.406 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.08112, allocations: 16 kB / 440.2 MB, free: 5.391 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002577/0.08139, allocations: 208.1 kB / 440.4 MB, free: 5.184 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001981/0.08159, allocations: 154.6 kB / 440.5 MB, free: 5.012 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000367/0.08197, allocations: 271.8 kB / 440.8 MB, free: 4.719 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/0.08198, allocations: 0 / 440.8 MB, free: 4.719 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0008317/0.08281, allocations: 443.8 kB / 441.2 MB, free: 4.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.08284, allocations: 29.7 kB / 441.2 MB, free: 4.234 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-06/0.08285, allocations: 4 kB / 441.2 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003567/0.08321, allocations: 104.7 kB / 441.3 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/0.0834, allocations: 51.91 kB / 441.4 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/0.08495, allocations: 2.1 MB / 443.5 MB, free: 1.832 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002342/0.0852, allocations: 35.83 kB / 443.5 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.08523, allocations: 8 kB / 443.5 MB, free: 1.789 MB / 318.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 (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 6.752e-05/0.0853, allocations: 200.2 kB / 443.7 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.517e-05/0.08534, allocations: 35.77 kB / 443.8 MB, free: 1.551 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008754/0.08622, allocations: 396.7 kB / 444.2 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.08624, allocations: 11.86 kB / 444.2 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.08624, allocations: 0 / 444.2 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.08635, allocations: 156.8 kB / 444.3 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.495e-05/0.0864, allocations: 7.984 kB / 444.3 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.08661, allocations: 19.98 kB / 444.3 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.392e-05/0.08668, allocations: 19.97 kB / 444.4 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00104/0.08772, allocations: 481.4 kB / 444.8 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007119/0.08845, allocations: 0.5848 MB / 445.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002275/0.08869, allocations: 108.6 kB / 445.5 MB, free: 15.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002271/0.08892, allocations: 251.2 kB / 445.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of Backend: time 5.01e-07/0.08893, allocations: 0 / 445.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001418/0.09035, allocations: 0.6987 MB / 446.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of SimCode: time 0.001237/0.0916, allocations: 1.351 MB / 447.8 MB, free: 13.34 MB / 334.1 MB Notification: Performance of Templates: time 0.009407/0.101, allocations: 6.078 MB / 453.9 MB, free: 7.258 MB / 334.1 MB make -j1 -f MEV_MEV.Test.TestStandardPatient.makefile (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)