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.001004/0.001005, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0009479/0.0009481, allocations: 168.7 kB / 15.95 MB, free: 204 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.876/1.876, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01128/0.01128, allocations: 1.916 MB / 272.3 MB, free: 3.387 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.0005038/0.0005038, allocations: 16 kB / 330.9 MB, free: 33.35 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09824/0.09876, allocations: 48.09 MB / 379 MB, free: 1.207 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.003757/0.1026, allocations: 3.707 MB / 382.7 MB, free: 13.48 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.1043, allocations: 1.006 MB / 383.7 MB, free: 12.46 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000168/0.1045, allocations: 8 kB / 383.7 MB, free: 12.46 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.1046, allocations: 55.5 kB / 383.8 MB, free: 12.4 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004161/0.105, allocations: 214.2 kB / 384 MB, free: 12.19 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003421/0.1054, allocations: 95.83 kB / 384.1 MB, free: 12.1 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004699/0.1058, allocations: 0.5132 MB / 384.6 MB, free: 11.58 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002275/0.1061, allocations: 106.1 kB / 384.7 MB, free: 11.47 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.1063, allocations: 155.4 kB / 384.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.1065, allocations: 195 kB / 385 MB, free: 11.13 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.986e-05/0.1066, allocations: 24 kB / 385 MB, free: 11.11 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.1067, allocations: 39.97 kB / 385.1 MB, free: 11.07 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.979e-05/0.1067, allocations: 67.69 kB / 385.2 MB, free: 11 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.52e-05/0.1068, allocations: 105.5 kB / 385.3 MB, free: 10.89 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003224/0.1072, allocations: 375.1 kB / 385.6 MB, free: 10.52 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.1072, allocations: 0 / 385.6 MB, free: 10.52 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1072, allocations: 0 / 385.6 MB, free: 10.52 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.1072, allocations: 0 / 385.6 MB, free: 10.52 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.001084/0.1083, allocations: 0.6659 MB / 386.3 MB, free: 9.805 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1083, allocations: 12.03 kB / 386.3 MB, free: 9.793 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.908e-05/0.1084, allocations: 39.53 kB / 386.3 MB, free: 9.754 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.1088, allocations: 306.2 kB / 386.6 MB, free: 9.414 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.1088, allocations: 28.61 kB / 386.7 MB, free: 9.387 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.409e-05/0.1089, allocations: 32 kB / 386.7 MB, free: 9.355 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005554/0.1094, allocations: 318 kB / 387 MB, free: 9.039 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1094, allocations: 0 / 387 MB, free: 9.039 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.085e-05/0.1095, allocations: 15.94 kB / 387 MB, free: 9.023 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.1095, allocations: 12 kB / 387 MB, free: 9.012 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005073/0.11, allocations: 266.5 kB / 387.3 MB, free: 8.75 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001647/0.1117, allocations: 1.142 MB / 388.4 MB, free: 7.551 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006542/0.1123, allocations: 286.8 kB / 388.7 MB, free: 7.262 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/0.1126, allocations: 131.2 kB / 388.8 MB, free: 7.133 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.145e-05/0.1126, allocations: 0 / 388.8 MB, free: 7.133 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000359/0.113, allocations: 176.1 kB / 389 MB, free: 6.949 MB / 286.1 MB Notification: Performance of pre-optimization done (n=25): time 1.493e-06/0.113, allocations: 0 / 389 MB, free: 6.949 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.002324/0.1153, allocations: 0.7139 MB / 389.7 MB, free: 6.207 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.1154, allocations: 55.41 kB / 389.8 MB, free: 6.141 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003476/0.1157, allocations: 345.7 kB / 390.1 MB, free: 5.793 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.1158, allocations: 29.7 kB / 390.2 MB, free: 5.758 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.1159, allocations: 204.2 kB / 390.4 MB, free: 5.555 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.908e-05/0.116, allocations: 90.73 kB / 390.4 MB, free: 5.465 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.727e-05/0.116, allocations: 8 kB / 390.4 MB, free: 5.457 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.1161, allocations: 342.8 kB / 390.8 MB, free: 5.113 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.1164, allocations: 99.94 kB / 390.9 MB, free: 5.016 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002424/0.1166, allocations: 165.5 kB / 391 MB, free: 4.832 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002535/0.1169, allocations: 153.6 kB / 391.2 MB, free: 4.676 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1169, allocations: 0 / 391.2 MB, free: 4.676 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006771/0.1176, allocations: 411.8 kB / 391.6 MB, free: 4.258 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.016e-05/0.1177, allocations: 159.9 kB / 391.8 MB, free: 4.07 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.1177, allocations: 7.922 kB / 391.8 MB, free: 4.062 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00146/0.1192, allocations: 240.4 kB / 392 MB, free: 3.824 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.1194, allocations: 47.98 kB / 392 MB, free: 3.777 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005887/0.12, allocations: 0.6927 MB / 392.7 MB, free: 3.059 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/0.1202, allocations: 39.7 kB / 392.8 MB, free: 3.02 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.851e-05/0.1203, allocations: 16 kB / 392.8 MB, free: 3.004 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.624e-06/0.1203, allocations: 4 kB / 392.8 MB, free: 3 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008343/0.1211, allocations: 402.3 kB / 393.2 MB, free: 2.598 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.1211, allocations: 0 / 393.2 MB, free: 2.598 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000343/0.1215, allocations: 100.8 kB / 393.3 MB, free: 2.496 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/0.1217, allocations: 59.84 kB / 393.3 MB, free: 2.438 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001906/0.1236, allocations: 1.898 MB / 395.2 MB, free: 416 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.1239, allocations: 35.77 kB / 395.3 MB, free: 380 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.1239, allocations: 19.92 kB / 395.3 MB, free: 360 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.0001979/0.1241, allocations: 233.2 kB / 395.5 MB, free: 116 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.117e-05/0.1241, allocations: 35.53 kB / 395.6 MB, free: 80 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009281/0.1251, allocations: 408.9 kB / 396 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.1251, allocations: 4 kB / 396 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1251, allocations: 7.891 kB / 396 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.1251, allocations: 0 / 396 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000353/0.1255, allocations: 397 kB / 396.4 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1255, allocations: 0 / 396.4 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.1257, allocations: 35.97 kB / 396.4 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009618/0.1266, allocations: 200.7 kB / 396.6 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.1267, allocations: 8 kB / 396.6 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005121/0.1272, allocations: 0.7045 MB / 397.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1272, allocations: 0 / 397.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.1283, allocations: 0.5207 MB / 397.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.1284, allocations: 152.6 kB / 398 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.74e-05/0.1285, allocations: 7.984 kB / 398 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.1287, allocations: 19.98 kB / 398 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.983e-05/0.1287, allocations: 27.86 kB / 398 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.1288, allocations: 8 kB / 398 MB, free: 13.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002248/0.129, allocations: 251.2 kB / 398.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.129, allocations: 0 / 398.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005426/0.1295, allocations: 171.7 kB / 398.4 MB, free: 13.07 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.0001475/0.1297, allocations: 107.2 kB / 398.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00125/0.131, allocations: 0.681 MB / 399.2 MB, free: 12.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.131, allocations: 0 / 399.2 MB, free: 12.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003399/0.1313, allocations: 148.2 kB / 399.4 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.1317, allocations: 49.5 kB / 399.4 MB, free: 12.04 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.133, allocations: 1.001 MB / 400.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.1333, allocations: 0.7955 MB / 401.2 MB, free: 10.2 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001318/0.1334, allocations: 30.95 kB / 401.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.246e-05/0.1335, allocations: 23.44 kB / 401.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.1335, allocations: 0 / 401.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of Templates: time 0.007951/0.1414, allocations: 4.811 MB / 406.1 MB, free: 5.328 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: