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-master/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/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.001359/0.001359, allocations: 98 kB / 16.18 MB, free: 5.891 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.001555/0.001555, allocations: 182 kB / 17.11 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.198/1.198, allocations: 205.1 MB / 223 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.007573/0.007573, allocations: 1.928 MB / 272.3 MB, free: 3.395 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.00129/0.00129, allocations: 71.88 kB / 330.3 MB, free: 32.93 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05858/0.05989, allocations: 47.14 MB / 377.5 MB, free: 1.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.00381/0.06372, allocations: 3.432 MB / 380.9 MB, free: 14.29 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.06516, allocations: 0.9282 MB / 381.8 MB, free: 13.35 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.06535, allocations: 11.94 kB / 381.9 MB, free: 13.34 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001192/0.06548, allocations: 55.41 kB / 381.9 MB, free: 13.29 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003192/0.06582, allocations: 154.7 kB / 382.1 MB, free: 13.13 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003734/0.0662, allocations: 151.7 kB / 382.2 MB, free: 12.98 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004894/0.0667, allocations: 0.5562 MB / 382.8 MB, free: 12.43 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002222/0.06693, allocations: 156.4 kB / 382.9 MB, free: 12.27 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002061/0.06714, allocations: 191.3 kB / 383.1 MB, free: 12.08 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.06737, allocations: 219.1 kB / 383.3 MB, free: 11.87 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.661e-05/0.06743, allocations: 48 kB / 383.4 MB, free: 11.82 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.06756, allocations: 67.98 kB / 383.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.505e-05/0.06764, allocations: 99.62 kB / 383.5 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001879/0.06783, allocations: 238.9 kB / 383.8 MB, free: 11.42 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000424/0.06826, allocations: 0.4946 MB / 384.3 MB, free: 10.93 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.06828, allocations: 4 kB / 384.3 MB, free: 10.92 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.06828, allocations: 0 / 384.3 MB, free: 10.92 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.0683, allocations: 0 / 384.3 MB, free: 10.92 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.001193/0.06949, allocations: 0.7477 MB / 385 MB, free: 10.12 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.06953, allocations: 8.031 kB / 385 MB, free: 10.11 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.255e-05/0.06962, allocations: 52.31 kB / 385.1 MB, free: 10.06 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.06992, allocations: 303.5 kB / 385.4 MB, free: 9.727 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.06996, allocations: 28.97 kB / 385.4 MB, free: 9.699 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.977e-05/0.07002, allocations: 32.38 kB / 385.4 MB, free: 9.668 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005837/0.07061, allocations: 318.3 kB / 385.7 MB, free: 9.352 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.07064, allocations: 4 kB / 385.7 MB, free: 9.348 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.273e-05/0.07067, allocations: 8 kB / 385.7 MB, free: 9.34 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.07069, allocations: 12 kB / 385.8 MB, free: 9.328 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005584/0.07125, allocations: 254.5 kB / 386 MB, free: 9.078 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001719/0.07298, allocations: 1.15 MB / 387.2 MB, free: 7.871 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006825/0.07368, allocations: 270.9 kB / 387.4 MB, free: 7.598 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002639/0.07395, allocations: 128.8 kB / 387.5 MB, free: 7.469 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.07399, allocations: 0 / 387.5 MB, free: 7.469 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003598/0.07435, allocations: 160.2 kB / 387.7 MB, free: 7.301 MB / 286.1 MB Notification: Performance of pre-optimization done (n=25): time 1.553e-06/0.07437, allocations: 4 kB / 387.7 MB, free: 7.297 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.002743/0.07712, allocations: 0.7021 MB / 388.4 MB, free: 6.566 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.07716, allocations: 55.41 kB / 388.5 MB, free: 6.5 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003347/0.0775, allocations: 349.6 kB / 388.8 MB, free: 6.148 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.07754, allocations: 37.7 kB / 388.8 MB, free: 6.105 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.07766, allocations: 196.2 kB / 389 MB, free: 5.906 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.962e-05/0.07772, allocations: 90.75 kB / 389.1 MB, free: 5.816 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.07783, allocations: 61.61 kB / 389.2 MB, free: 5.75 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.875e-05/0.07794, allocations: 350.7 kB / 389.5 MB, free: 5.398 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002583/0.0782, allocations: 100.8 kB / 389.6 MB, free: 5.297 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002795/0.07849, allocations: 169.4 kB / 389.8 MB, free: 5.109 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005134/0.07901, allocations: 291.6 kB / 390.1 MB, free: 4.797 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.07903, allocations: 0 / 390.1 MB, free: 4.797 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007757/0.07981, allocations: 423.7 kB / 390.5 MB, free: 4.367 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.278e-05/0.07985, allocations: 37.7 kB / 390.5 MB, free: 4.324 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.07986, allocations: 0 / 390.5 MB, free: 4.324 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001635/0.0815, allocations: 236.6 kB / 390.7 MB, free: 4.09 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.08171, allocations: 43.92 kB / 390.8 MB, free: 4.047 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006119/0.08233, allocations: 0.6928 MB / 391.5 MB, free: 3.328 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/0.08262, allocations: 39.58 kB / 391.5 MB, free: 3.289 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.08265, allocations: 12 kB / 391.5 MB, free: 3.277 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003248/0.08299, allocations: 212.2 kB / 391.7 MB, free: 3.066 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002514/0.08325, allocations: 145.9 kB / 391.9 MB, free: 2.902 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004643/0.08372, allocations: 271.8 kB / 392.2 MB, free: 2.609 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.995e-06/0.08373, allocations: 4 kB / 392.2 MB, free: 2.605 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.001005/0.08474, allocations: 439.5 kB / 392.6 MB, free: 2.16 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.08478, allocations: 37.69 kB / 392.6 MB, free: 2.117 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.08479, allocations: 3.938 kB / 392.6 MB, free: 2.113 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004049/0.0852, allocations: 100.9 kB / 392.7 MB, free: 2.012 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.08541, allocations: 51.91 kB / 392.8 MB, free: 1.961 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00203/0.08745, allocations: 2.104 MB / 394.9 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002592/0.08772, allocations: 31.77 kB / 394.9 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.08776, allocations: 16.06 kB / 394.9 MB, free: 15.68 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.0001021/0.08787, allocations: 188.3 kB / 395.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.129e-05/0.08792, allocations: 35.53 kB / 395.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.08897, allocations: 397.8 kB / 395.5 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.08899, allocations: 4 kB / 395.5 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.089, allocations: 0 / 395.5 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.08901, allocations: 7.922 kB / 395.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000347/0.08936, allocations: 397 kB / 395.9 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.08937, allocations: 0 / 395.9 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.08955, allocations: 23.98 kB / 396 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001028/0.09059, allocations: 204.6 kB / 396.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/0.09063, allocations: 11.94 kB / 396.2 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000547/0.09118, allocations: 0.689 MB / 396.9 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.09119, allocations: 0 / 396.9 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.09243, allocations: 0.525 MB / 397.4 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.09258, allocations: 152.6 kB / 397.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.815e-05/0.09263, allocations: 8 kB / 397.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.09285, allocations: 11.98 kB / 397.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.454e-05/0.09292, allocations: 23.97 kB / 397.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.09295, allocations: 11.98 kB / 397.6 MB, free: 12.88 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002302/0.09318, allocations: 247.2 kB / 397.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09319, allocations: 0 / 397.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005247/0.09372, allocations: 183.7 kB / 398 MB, free: 12.46 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.0001104/0.09384, allocations: 103.2 kB / 398.1 MB, free: 12.35 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001395/0.09524, allocations: 0.6888 MB / 398.8 MB, free: 11.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.09526, allocations: 0 / 398.8 MB, free: 11.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003786/0.09564, allocations: 139.6 kB / 398.9 MB, free: 11.49 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.09596, allocations: 53.72 kB / 399 MB, free: 11.44 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.09726, allocations: 0.8457 MB / 399.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.09754, allocations: 0.7915 MB / 400.6 MB, free: 9.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001497/0.0977, allocations: 30.95 kB / 400.6 MB, free: 9.719 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.22e-05/0.09776, allocations: 19.44 kB / 400.7 MB, free: 9.699 MB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.09776, allocations: 0 / 400.7 MB, free: 9.699 MB / 302.1 MB Notification: Performance of Templates: time 0.008857/0.1066, allocations: 5.32 MB / 406 MB, free: 4.383 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 -s gbode -lv LOG_STATS > MEV_MEV.Test.TestStandardPatient.pipe 2>&1)