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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002009/0.002009, allocations: 179.2 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.006471/0.006471, allocations: 1.922 MB / 9.79 MB, free: 460 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9548/0.9548, allocations: 205.2 MB / 215.9 MB, free: 11.05 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.0007706/0.0007706, allocations: 83.48 kB / 264.4 MB, free: 10.74 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.638e-06/4.668e-06, allocations: 0 / 318.5 MB, free: 4.555 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1622, allocations: 48.06 MB / 366.6 MB, free: 45.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07055/0.2328, allocations: 76.91 MB / 443.5 MB, free: 6.168 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001793/0.233, allocations: 67.97 kB / 443.6 MB, free: 6.102 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01818/0.2512, allocations: 7.083 MB / 450.7 MB, free: 15.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.532e-05/0.2512, allocations: 8 kB / 450.7 MB, free: 15.01 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.0009416/0.2522, allocations: 0.6226 MB / 451.3 MB, free: 14.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.2522, allocations: 12.03 kB / 451.3 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.625e-05/0.2523, allocations: 39.53 kB / 451.3 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.2527, allocations: 298 kB / 451.6 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.2527, allocations: 22.42 kB / 451.6 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.819e-05/0.2528, allocations: 20 kB / 451.7 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004137/0.2532, allocations: 221.3 kB / 451.9 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004152/0.2536, allocations: 244.8 kB / 452.1 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.2536, allocations: 4 kB / 452.1 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/0.2537, allocations: 4 kB / 452.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.2537, allocations: 11.84 kB / 452.1 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001651/0.2553, allocations: 1.038 MB / 453.2 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004877/0.2558, allocations: 227.9 kB / 453.4 MB, free: 12.13 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.256, allocations: 107.2 kB / 453.5 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/0.2561, allocations: 4 kB / 453.5 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001881/0.2563, allocations: 127.3 kB / 453.6 MB, free: 11.88 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 1.693e-06/0.2563, allocations: 4 kB / 453.6 MB, free: 11.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.0005408/0.2568, allocations: 255.7 kB / 453.9 MB, free: 11.62 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.2568, allocations: 55.41 kB / 453.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.2571, allocations: 231.3 kB / 454.2 MB, free: 11.33 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.2571, allocations: 25.7 kB / 454.2 MB, free: 11.3 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.987e-05/0.2572, allocations: 183.9 kB / 454.4 MB, free: 11.11 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.993e-05/0.2573, allocations: 82.81 kB / 454.5 MB, free: 11.03 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.504e-05/0.2573, allocations: 0 / 454.5 MB, free: 11.03 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.2574, allocations: 338.8 kB / 454.8 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.2576, allocations: 79.94 kB / 454.9 MB, free: 10.61 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.2577, allocations: 130 kB / 455 MB, free: 10.46 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.2579, allocations: 99.94 kB / 455.1 MB, free: 10.37 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.258, allocations: 4 kB / 455.1 MB, free: 10.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005549/0.2585, allocations: 325.9 kB / 455.4 MB, free: 10.04 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001993/0.2587, allocations: 0.6144 MB / 456 MB, free: 9.375 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2587, allocations: 4 kB / 456 MB, free: 9.371 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005627/0.2593, allocations: 104.8 kB / 456.1 MB, free: 9.266 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.2595, allocations: 55.89 kB / 456.2 MB, free: 9.211 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007454/0.2603, allocations: 0.72 MB / 456.9 MB, free: 8.465 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002684/0.2606, allocations: 39.73 kB / 456.9 MB, free: 8.426 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.2606, allocations: 18.17 kB / 457 MB, free: 8.41 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.835e-06/0.2606, allocations: 7.438 kB / 457 MB, free: 8.406 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006834/0.2613, allocations: 276.7 kB / 457.2 MB, free: 8.129 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-06/0.2613, allocations: 4 kB / 457.2 MB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003684/0.2617, allocations: 92.78 kB / 457.3 MB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.2619, allocations: 59.91 kB / 457.4 MB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00195/0.2639, allocations: 1.776 MB / 459.2 MB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.2641, allocations: 27.89 kB / 459.2 MB, free: 6.051 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.2641, allocations: 12 kB / 459.2 MB, free: 6.039 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: standardPatient.valve_in.pout:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Leaving pressure, relative" type: Real 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 0.0001246/0.2643, allocations: 115.6 kB / 459.3 MB, free: 5.922 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.689e-05/0.2643, allocations: 23.72 kB / 459.3 MB, free: 5.898 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006538/0.265, allocations: 316.3 kB / 459.7 MB, free: 5.578 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.265, allocations: 7.938 kB / 459.7 MB, free: 5.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.265, allocations: 0 / 459.7 MB, free: 5.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.265, allocations: 0 / 459.7 MB, free: 5.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003249/0.2653, allocations: 345.5 kB / 460 MB, free: 5.195 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2653, allocations: 0 / 460 MB, free: 5.195 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.2655, allocations: 36.05 kB / 460 MB, free: 5.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005291/0.2661, allocations: 128.6 kB / 460.2 MB, free: 5.035 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.2661, allocations: 4 kB / 460.2 MB, free: 5.031 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006277/0.2667, allocations: 0.7162 MB / 460.9 MB, free: 4.289 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/0.2667, allocations: 112 / 460.9 MB, free: 4.289 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007641/0.2675, allocations: 425.4 kB / 461.3 MB, free: 3.852 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.2676, allocations: 136.6 kB / 461.4 MB, free: 3.699 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.712e-05/0.2677, allocations: 4 kB / 461.4 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.2679, allocations: 11.98 kB / 461.4 MB, free: 3.684 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.745e-05/0.268, allocations: 27.86 kB / 461.5 MB, free: 3.656 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.268, allocations: 12 kB / 461.5 MB, free: 3.645 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001513/0.2682, allocations: 183.1 kB / 461.7 MB, free: 3.465 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004842/0.2687, allocations: 167.6 kB / 461.8 MB, free: 3.301 MB / 346.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.0001312/0.2688, allocations: 108.6 kB / 461.9 MB, free: 3.191 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009137/0.2697, allocations: 0.511 MB / 462.4 MB, free: 2.66 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2697, allocations: 3.938 kB / 462.4 MB, free: 2.656 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002791/0.27, allocations: 122.4 kB / 462.6 MB, free: 2.539 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.2702, allocations: 32.33 kB / 462.6 MB, free: 2.508 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.2714, allocations: 0.593 MB / 463.2 MB, free: 1.887 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003879/0.2718, allocations: 0.8151 MB / 464 MB, free: 1.047 MB / 346.7 MB Notification: Performance of SimCode: time 2.81e-07/0.2718, allocations: 0 / 464 MB, free: 1.047 MB / 346.7 MB Notification: Performance of Templates: time 0.008441/0.2802, allocations: 5.1 MB / 469.1 MB, free: 11.99 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)