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/Complex 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) 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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0009743/0.0009744, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007523/0.007523, allocations: 1.917 MB / 15.18 MB, free: 128 kB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.217/1.217, allocations: 205.2 MB / 221.4 MB, free: 7.348 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00079/0.00079, allocations: 90.95 kB / 270.1 MB, free: 7.145 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.048e-05/2.059e-05, allocations: 0 / 326 MB, free: 15.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1916, allocations: 48.07 MB / 374.1 MB, free: 44.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07452/0.2662, allocations: 77.65 MB / 451.7 MB, free: 1.238 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001671/0.2664, allocations: 70 kB / 451.8 MB, free: 1.172 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01836/0.2847, allocations: 7.41 MB / 459.2 MB, free: 9.758 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2847, allocations: 4 kB / 459.2 MB, free: 9.754 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.53e-05/0.2848, allocations: 8 kB / 459.2 MB, free: 9.746 MB / 346.7 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.0008795/0.2857, allocations: 0.6207 MB / 459.8 MB, free: 9.078 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.2857, allocations: 12.03 kB / 459.8 MB, free: 9.066 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.784e-05/0.2858, allocations: 39.53 kB / 459.9 MB, free: 9.027 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003266/0.2861, allocations: 298.4 kB / 460.2 MB, free: 8.695 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.2861, allocations: 20.78 kB / 460.2 MB, free: 8.676 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.897e-05/0.2862, allocations: 39.95 kB / 460.2 MB, free: 8.637 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005195/0.2867, allocations: 291.7 kB / 460.5 MB, free: 8.344 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.2868, allocations: 0 / 460.5 MB, free: 8.344 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.396e-05/0.2868, allocations: 15.98 kB / 460.5 MB, free: 8.328 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.2868, allocations: 8 kB / 460.5 MB, free: 8.32 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003926/0.2872, allocations: 219.1 kB / 460.8 MB, free: 8.102 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.2889, allocations: 1.141 MB / 461.9 MB, free: 6.906 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005105/0.2894, allocations: 242.9 kB / 462.1 MB, free: 6.66 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.2896, allocations: 104.8 kB / 462.2 MB, free: 6.555 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.2896, allocations: 11.98 kB / 462.2 MB, free: 6.543 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002521/0.2899, allocations: 148 kB / 462.4 MB, free: 6.391 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 1.583e-06/0.2899, allocations: 4 kB / 462.4 MB, free: 6.387 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.0005145/0.2904, allocations: 270 kB / 462.7 MB, free: 6.113 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.2905, allocations: 51.41 kB / 462.7 MB, free: 6.051 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003092/0.2908, allocations: 298.9 kB / 463 MB, free: 5.758 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.2908, allocations: 33.7 kB / 463 MB, free: 5.719 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.291, allocations: 196 kB / 463.2 MB, free: 5.523 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.198e-05/0.291, allocations: 78.84 kB / 463.3 MB, free: 5.445 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.839e-05/0.291, allocations: 12 kB / 463.3 MB, free: 5.434 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.2912, allocations: 342.8 kB / 463.7 MB, free: 5.09 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.2913, allocations: 76 kB / 463.7 MB, free: 5.016 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/0.2915, allocations: 132.5 kB / 463.9 MB, free: 4.867 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.2917, allocations: 125.6 kB / 464 MB, free: 4.738 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2917, allocations: 0 / 464 MB, free: 4.738 MB / 346.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005749/0.2923, allocations: 383.5 kB / 464.4 MB, free: 4.348 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002251/0.2925, allocations: 0.6453 MB / 465 MB, free: 3.648 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2925, allocations: 0 / 465 MB, free: 3.648 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001301/0.2938, allocations: 205.9 kB / 465.2 MB, free: 3.445 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.2941, allocations: 47.91 kB / 465.2 MB, free: 3.398 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006352/0.2947, allocations: 0.6811 MB / 465.9 MB, free: 2.691 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002717/0.295, allocations: 43.77 kB / 466 MB, free: 2.648 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/0.295, allocations: 19.98 kB / 466 MB, free: 2.629 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.063e-06/0.295, allocations: 4 kB / 466 MB, free: 2.625 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007525/0.2958, allocations: 354.6 kB / 466.3 MB, free: 2.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.2958, allocations: 7.984 kB / 466.3 MB, free: 2.262 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003549/0.2962, allocations: 93.67 kB / 466.4 MB, free: 2.168 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.2964, allocations: 59.89 kB / 466.5 MB, free: 2.109 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002038/0.2984, allocations: 1.907 MB / 468.4 MB, free: 72 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002535/0.2987, allocations: 43.64 kB / 468.4 MB, free: 28 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.2987, allocations: 15.75 kB / 468.5 MB, free: 16 kB / 346.7 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 () * 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 9.62e-05/0.2988, allocations: 129 kB / 468.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.241e-05/0.2989, allocations: 31.62 kB / 468.6 MB, free: 15.85 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000653/0.2996, allocations: 326.3 kB / 468.9 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.2996, allocations: 8 kB / 468.9 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.2996, allocations: 0 / 468.9 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.2996, allocations: 7.938 kB / 469 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003559/0.3, allocations: 393 kB / 469.3 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3, allocations: 0 / 469.3 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.3001, allocations: 35.91 kB / 469.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001049/0.3012, allocations: 202.4 kB / 469.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.3012, allocations: 11.98 kB / 469.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005318/0.3018, allocations: 0.689 MB / 470.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3018, allocations: 3.938 kB / 470.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007526/0.3025, allocations: 449.6 kB / 470.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.3027, allocations: 144.7 kB / 470.9 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.152e-05/0.3027, allocations: 11.98 kB / 470.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.303, allocations: 15.98 kB / 470.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.228e-05/0.303, allocations: 23.91 kB / 470.9 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.3031, allocations: 12 kB / 470.9 MB, free: 13.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002131/0.3033, allocations: 230.2 kB / 471.1 MB, free: 13.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3033, allocations: 0 / 471.1 MB, free: 13.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004824/0.3038, allocations: 191.5 kB / 471.3 MB, free: 13.02 MB / 362.7 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) * 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.0001299/0.3039, allocations: 111.2 kB / 471.4 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001131/0.305, allocations: 0.636 MB / 472.1 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3051, allocations: 0 / 472.1 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002794/0.3053, allocations: 123.9 kB / 472.2 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.3056, allocations: 44.23 kB / 472.2 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009992/0.3066, allocations: 0.6209 MB / 472.9 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.3069, allocations: 0.7963 MB / 473.7 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001961/0.3071, allocations: 38.95 kB / 473.7 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.059e-05/0.3072, allocations: 19.44 kB / 473.7 MB, free: 10.53 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3072, allocations: 0 / 473.7 MB, free: 10.53 MB / 362.7 MB Notification: Performance of Templates: time 0.008339/0.3155, allocations: 5.047 MB / 478.8 MB, free: 5.523 MB / 362.7 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)