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.007117/0.007117, allocations: 98.34 kB / 15.73 MB, free: 5.605 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.00141/0.00141, allocations: 196.9 kB / 16.67 MB, free: 5.531 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.346/1.346, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009115/0.009115, allocations: 1.943 MB / 271.8 MB, free: 10.07 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.001547/0.001547, allocations: 62.81 kB / 378.2 MB, free: 51.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1054, allocations: 47.13 MB / 425.4 MB, free: 19.96 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.00374/0.1092, allocations: 3.449 MB / 428.8 MB, free: 16.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.1109, allocations: 0.924 MB / 429.7 MB, free: 15.56 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003185/0.1113, allocations: 4 kB / 429.7 MB, free: 15.56 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001786/0.1115, allocations: 63.41 kB / 429.8 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004362/0.112, allocations: 154.7 kB / 429.9 MB, free: 15.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004586/0.1124, allocations: 155.7 kB / 430.1 MB, free: 15.19 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000475/0.1129, allocations: 0.5638 MB / 430.7 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002397/0.1132, allocations: 152.4 kB / 430.8 MB, free: 14.47 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.1134, allocations: 199.3 kB / 431 MB, free: 14.28 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002151/0.1136, allocations: 227 kB / 431.2 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.071e-05/0.1136, allocations: 44 kB / 431.3 MB, free: 14.01 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.1138, allocations: 67.98 kB / 431.3 MB, free: 13.95 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.26e-05/0.1138, allocations: 99.67 kB / 431.4 MB, free: 13.85 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.114, allocations: 230.9 kB / 431.7 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000469/0.1145, allocations: 0.5176 MB / 432.2 MB, free: 13.1 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1145, allocations: 0 / 432.2 MB, free: 13.1 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1145, allocations: 0 / 432.2 MB, free: 13.1 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.1145, allocations: 0 / 432.2 MB, free: 13.1 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.001135/0.1157, allocations: 0.7526 MB / 432.9 MB, free: 12.29 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.1157, allocations: 8.031 kB / 432.9 MB, free: 12.28 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.04e-05/0.1158, allocations: 52.66 kB / 433 MB, free: 12.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.1161, allocations: 315.5 kB / 433.3 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.1161, allocations: 28.97 kB / 433.3 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.554e-05/0.1162, allocations: 28.38 kB / 433.4 MB, free: 11.83 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005371/0.1167, allocations: 318.3 kB / 433.7 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.1167, allocations: 3.984 kB / 433.7 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.131e-05/0.1168, allocations: 20 kB / 433.7 MB, free: 11.49 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.1168, allocations: 8 kB / 433.7 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005069/0.1173, allocations: 250.5 kB / 433.9 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.1188, allocations: 1.138 MB / 435.1 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006388/0.1195, allocations: 274.9 kB / 435.3 MB, free: 9.762 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002291/0.1197, allocations: 120.9 kB / 435.5 MB, free: 9.641 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.413e-05/0.1198, allocations: 11.94 kB / 435.5 MB, free: 9.629 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003961/0.1202, allocations: 171.2 kB / 435.6 MB, free: 9.449 MB / 318.1 MB Notification: Performance of pre-optimization done (n=25): time 2.444e-06/0.1202, allocations: 0 / 435.6 MB, free: 9.449 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.002484/0.1227, allocations: 0.694 MB / 436.3 MB, free: 8.727 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.1227, allocations: 51.41 kB / 436.4 MB, free: 8.664 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/0.123, allocations: 349.7 kB / 436.7 MB, free: 8.316 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.1231, allocations: 37.64 kB / 436.8 MB, free: 8.273 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.259e-05/0.1232, allocations: 208.5 kB / 437 MB, free: 8.066 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.642e-05/0.1232, allocations: 91.22 kB / 437.1 MB, free: 7.977 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.79e-05/0.1233, allocations: 61.66 kB / 437.1 MB, free: 7.91 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.274e-05/0.1234, allocations: 354.7 kB / 437.5 MB, free: 7.555 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002263/0.1236, allocations: 96.81 kB / 437.6 MB, free: 7.457 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.1238, allocations: 161.6 kB / 437.7 MB, free: 7.277 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004281/0.1243, allocations: 287.6 kB / 438 MB, free: 6.969 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1243, allocations: 0 / 438 MB, free: 6.969 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006715/0.125, allocations: 423.8 kB / 438.4 MB, free: 6.539 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.125, allocations: 29.7 kB / 438.4 MB, free: 6.504 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.125, allocations: 4 kB / 438.4 MB, free: 6.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001504/0.1265, allocations: 236.8 kB / 438.7 MB, free: 6.266 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.1267, allocations: 39.92 kB / 438.7 MB, free: 6.227 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005108/0.1272, allocations: 0.6967 MB / 439.4 MB, free: 5.504 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002703/0.1275, allocations: 39.8 kB / 439.5 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.1276, allocations: 16.06 kB / 439.5 MB, free: 5.449 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000279/0.1278, allocations: 208.1 kB / 439.7 MB, free: 5.242 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000205/0.1281, allocations: 150.5 kB / 439.8 MB, free: 5.074 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000386/0.1284, allocations: 267.8 kB / 440.1 MB, free: 4.785 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.1285, allocations: 0 / 440.1 MB, free: 4.785 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0008647/0.1293, allocations: 443.5 kB / 440.5 MB, free: 4.336 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.1294, allocations: 37.69 kB / 440.5 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.1294, allocations: 8.125 kB / 440.6 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003504/0.1297, allocations: 96.78 kB / 440.7 MB, free: 4.188 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.1299, allocations: 47.91 kB / 440.7 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001735/0.1317, allocations: 2.1 MB / 442.8 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.1319, allocations: 35.77 kB / 442.8 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.132, allocations: 12 kB / 442.8 MB, free: 1.852 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 9.795e-05/0.1321, allocations: 200.3 kB / 443 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.405e-05/0.1321, allocations: 35.77 kB / 443.1 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009587/0.1331, allocations: 396.7 kB / 443.5 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.1331, allocations: 3.938 kB / 443.5 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.1331, allocations: 8 kB / 443.5 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.1331, allocations: 7.984 kB / 443.5 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000311/0.1334, allocations: 397.3 kB / 443.9 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1334, allocations: 0 / 443.9 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/0.1336, allocations: 27.98 kB / 443.9 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009324/0.1346, allocations: 184.6 kB / 444.1 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/0.1346, allocations: 7.938 kB / 444.1 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005209/0.1351, allocations: 0.7008 MB / 444.8 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1351, allocations: 0 / 444.8 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.1364, allocations: 0.5249 MB / 445.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/0.1366, allocations: 152.8 kB / 445.5 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.823e-05/0.1366, allocations: 4 kB / 445.5 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.1368, allocations: 15.98 kB / 445.5 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.1369, allocations: 19.97 kB / 445.5 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/0.137, allocations: 15.98 kB / 445.5 MB, free: 15.05 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002647/0.1372, allocations: 247.2 kB / 445.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1372, allocations: 192 / 445.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005822/0.1378, allocations: 175.8 kB / 445.9 MB, free: 14.63 MB / 334.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.0001701/0.138, allocations: 115.2 kB / 446 MB, free: 14.51 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001558/0.1396, allocations: 0.6845 MB / 446.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1396, allocations: 0 / 446.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003869/0.14, allocations: 136.6 kB / 446.9 MB, free: 13.65 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.1403, allocations: 45.36 kB / 446.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.1419, allocations: 0.8534 MB / 447.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.1423, allocations: 0.7915 MB / 448.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001333/0.1425, allocations: 30.95 kB / 448.6 MB, free: 11.88 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.357e-05/0.1425, allocations: 19.44 kB / 448.6 MB, free: 11.86 MB / 334.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1425, allocations: 0 / 448.6 MB, free: 11.86 MB / 334.1 MB Notification: Performance of Templates: time 0.01131/0.1539, allocations: 5.419 MB / 454 MB, free: 6.434 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)