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.001135/0.001135, allocations: 106.4 kB / 15.99 MB, free: 6.348 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.001058/0.001058, allocations: 195.6 kB / 16.91 MB, free: 6.188 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.45/1.45, allocations: 205.1 MB / 222.8 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009048/0.009048, allocations: 1.939 MB / 272 MB, free: 3.5 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.001382/0.001382, allocations: 63.91 kB / 330 MB, free: 33.16 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07592/0.07732, allocations: 47.14 MB / 377.1 MB, free: 1.984 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.004896/0.08225, allocations: 4.301 MB / 381.4 MB, free: 13.66 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.08395, allocations: 1.045 MB / 382.5 MB, free: 12.6 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.08413, allocations: 8 kB / 382.5 MB, free: 12.59 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.08428, allocations: 47.66 kB / 382.5 MB, free: 12.55 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002844/0.08457, allocations: 130.9 kB / 382.7 MB, free: 12.42 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003953/0.08497, allocations: 135.8 kB / 382.8 MB, free: 12.29 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005379/0.08552, allocations: 0.564 MB / 383.3 MB, free: 11.72 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002471/0.08578, allocations: 136.5 kB / 383.5 MB, free: 11.58 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002173/0.086, allocations: 199.3 kB / 383.7 MB, free: 11.39 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002347/0.08624, allocations: 219 kB / 383.9 MB, free: 11.17 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.783e-05/0.08631, allocations: 48 kB / 383.9 MB, free: 11.12 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.08645, allocations: 79.92 kB / 384 MB, free: 11.05 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.519e-05/0.08654, allocations: 91.69 kB / 384.1 MB, free: 10.96 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002055/0.08676, allocations: 250.8 kB / 384.3 MB, free: 10.71 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003555/0.08712, allocations: 383.2 kB / 384.7 MB, free: 10.34 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.08713, allocations: 0 / 384.7 MB, free: 10.34 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.08714, allocations: 0 / 384.7 MB, free: 10.34 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.08716, allocations: 0 / 384.7 MB, free: 10.34 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.001314/0.08848, allocations: 0.7361 MB / 385.5 MB, free: 9.547 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.08852, allocations: 8.031 kB / 385.5 MB, free: 9.539 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.182e-05/0.08862, allocations: 48.38 kB / 385.5 MB, free: 9.492 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.08899, allocations: 311.4 kB / 385.8 MB, free: 9.148 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.08902, allocations: 21.03 kB / 385.8 MB, free: 9.129 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.288e-05/0.08909, allocations: 36.38 kB / 385.9 MB, free: 9.094 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006206/0.08972, allocations: 318.3 kB / 386.2 MB, free: 8.777 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.08975, allocations: 4 kB / 386.2 MB, free: 8.773 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.08979, allocations: 12 kB / 386.2 MB, free: 8.762 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.0898, allocations: 8 kB / 386.2 MB, free: 8.754 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005547/0.09036, allocations: 258.5 kB / 386.5 MB, free: 8.5 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001842/0.09221, allocations: 1.15 MB / 387.6 MB, free: 7.293 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006958/0.09292, allocations: 278.8 kB / 387.9 MB, free: 7.012 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002437/0.09318, allocations: 116.8 kB / 388 MB, free: 6.895 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.087e-05/0.09322, allocations: 4 kB / 388 MB, free: 6.891 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004324/0.09366, allocations: 164.2 kB / 388.2 MB, free: 6.719 MB / 286.1 MB Notification: Performance of pre-optimization done (n=25): time 1.783e-06/0.09367, allocations: 0 / 388.2 MB, free: 6.719 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.002782/0.09646, allocations: 0.6983 MB / 388.9 MB, free: 5.992 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.09652, allocations: 55.41 kB / 388.9 MB, free: 5.926 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003541/0.09688, allocations: 357.6 kB / 389.3 MB, free: 5.566 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.09692, allocations: 33.7 kB / 389.3 MB, free: 5.527 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.09706, allocations: 200.2 kB / 389.5 MB, free: 5.324 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.561e-05/0.09715, allocations: 82.81 kB / 389.6 MB, free: 5.242 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.09726, allocations: 69.59 kB / 389.6 MB, free: 5.168 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.09739, allocations: 342.8 kB / 390 MB, free: 4.824 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002659/0.09766, allocations: 112.8 kB / 390.1 MB, free: 4.711 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002745/0.09794, allocations: 157.5 kB / 390.2 MB, free: 4.535 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004939/0.09844, allocations: 279.6 kB / 390.5 MB, free: 4.234 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.09846, allocations: 4 kB / 390.5 MB, free: 4.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007903/0.09926, allocations: 423.6 kB / 390.9 MB, free: 3.801 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.491e-05/0.0993, allocations: 33.69 kB / 391 MB, free: 3.762 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.09932, allocations: 4 kB / 391 MB, free: 3.758 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001806/0.1011, allocations: 240.7 kB / 391.2 MB, free: 3.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.1013, allocations: 47.84 kB / 391.2 MB, free: 3.473 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006733/0.102, allocations: 0.685 MB / 391.9 MB, free: 2.762 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003023/0.1023, allocations: 43.61 kB / 392 MB, free: 2.719 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.949e-05/0.1024, allocations: 12.06 kB / 392 MB, free: 2.707 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003402/0.1027, allocations: 224 kB / 392.2 MB, free: 2.484 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002517/0.103, allocations: 142 kB / 392.3 MB, free: 2.324 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004706/0.1035, allocations: 271.8 kB / 392.6 MB, free: 2.031 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.713e-06/0.1035, allocations: 0 / 392.6 MB, free: 2.031 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0009866/0.1045, allocations: 439.4 kB / 393 MB, free: 1.586 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.1045, allocations: 33.7 kB / 393.1 MB, free: 1.547 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1045, allocations: 8.125 kB / 393.1 MB, free: 1.539 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004018/0.105, allocations: 96.78 kB / 393.2 MB, free: 1.441 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.1052, allocations: 47.91 kB / 393.2 MB, free: 1.395 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002279/0.1075, allocations: 2.104 MB / 395.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002801/0.1077, allocations: 23.83 kB / 395.3 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.1078, allocations: 16 kB / 395.4 MB, free: 15.12 MB / 302.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 0.0001434/0.1079, allocations: 196.4 kB / 395.6 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.077e-05/0.108, allocations: 35.53 kB / 395.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.1091, allocations: 408.7 kB / 396 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1091, allocations: 4 kB / 396 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.1091, allocations: 0 / 396 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.1091, allocations: 0 / 396 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003958/0.1095, allocations: 397 kB / 396.4 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.1095, allocations: 0 / 396.4 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.1097, allocations: 31.92 kB / 396.4 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00109/0.1108, allocations: 188.7 kB / 396.6 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.666e-05/0.1108, allocations: 11.94 kB / 396.6 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000586/0.1114, allocations: 0.6968 MB / 397.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1114, allocations: 0 / 397.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.1127, allocations: 0.5128 MB / 397.8 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.1128, allocations: 148.6 kB / 398 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.369e-05/0.1129, allocations: 11.98 kB / 398 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.1131, allocations: 11.98 kB / 398 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.747e-05/0.1132, allocations: 23.97 kB / 398 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.1132, allocations: 4 kB / 398 MB, free: 12.33 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002529/0.1135, allocations: 255.2 kB / 398.3 MB, free: 12.08 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.513e-06/0.1135, allocations: 0 / 398.3 MB, free: 12.08 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005553/0.1141, allocations: 175.6 kB / 398.4 MB, free: 11.91 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 (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.0001453/0.1142, allocations: 107.3 kB / 398.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001508/0.1157, allocations: 0.6967 MB / 399.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.1157, allocations: 4 kB / 399.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000379/0.1161, allocations: 139.6 kB / 399.4 MB, free: 10.92 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.1165, allocations: 53.84 kB / 399.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.118, allocations: 1.001 MB / 400.4 MB, free: 9.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.1184, allocations: 0.7915 MB / 401.2 MB, free: 9.023 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.53e-05/0.1184, allocations: 23.38 kB / 401.2 MB, free: 9 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1184, allocations: 0 / 401.2 MB, free: 9 MB / 302.1 MB Notification: Performance of Templates: time 0.007255/0.1257, allocations: 5.43 MB / 406.7 MB, free: 3.562 MB / 302.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)