Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) 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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.WaterPumpMech,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech") translateModel(ThermoPower.Test.WaterComponents.WaterPumpMech,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech") [: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.001043/0.001044, allocations: 190.8 kB / 8.135 MB, free: 2.203 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.264/1.264, allocations: 205.2 MB / 213.7 MB, free: 13.86 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.00126/0.00126, allocations: 99.17 kB / 261.7 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3941/0.3941, allocations: 48.75 MB / 358.4 MB, free: 53.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.793e-06/6.803e-06, allocations: 0 / 424.7 MB, free: 8.219 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1275, allocations: 60.25 MB / 485 MB, free: 11.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.876/5.004, allocations: 2.885 GB / 3.359 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/5.004, allocations: 79.16 kB / 3.359 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.624/5.628, allocations: 221.4 MB / 3.575 GB, free: 84.89 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.639e-05/5.628, allocations: 18.84 kB / 3.575 GB, free: 84.88 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.004095/5.633, allocations: 1.159 MB / 3.576 GB, free: 84.31 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/5.633, allocations: 7.688 kB / 3.576 GB, free: 84.31 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003255/5.633, allocations: 77.75 kB / 3.576 GB, free: 84.28 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/5.634, allocations: 479.5 kB / 3.577 GB, free: 84.06 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.695e-05/5.634, allocations: 56.53 kB / 3.577 GB, free: 84.02 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.81e-05/5.634, allocations: 28.62 kB / 3.577 GB, free: 84.02 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005086/5.635, allocations: 319.3 kB / 3.577 GB, free: 84.02 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000588/5.635, allocations: 455.8 kB / 3.578 GB, free: 83.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/5.635, allocations: 0 / 3.578 GB, free: 83.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.219e-05/5.635, allocations: 0 / 3.578 GB, free: 83.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/5.635, allocations: 15.53 kB / 3.578 GB, free: 83.9 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002202/5.638, allocations: 1.936 MB / 3.579 GB, free: 82.89 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002586/5.638, allocations: 190.9 kB / 3.58 GB, free: 82.88 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/5.638, allocations: 132.4 kB / 3.58 GB, free: 82.87 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0555/5.694, allocations: 32.02 MB / 3.611 GB, free: 63.47 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/5.694, allocations: 46.3 kB / 3.611 GB, free: 63.43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 2.745e-06/5.694, allocations: 3.828 kB / 3.611 GB, free: 63.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=38): time 0.002701/5.696, allocations: 1.144 MB / 3.612 GB, free: 62.88 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.957e-05/5.696, allocations: 58.12 kB / 3.612 GB, free: 62.81 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/5.697, allocations: 247.2 kB / 3.612 GB, free: 62.71 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/5.697, allocations: 25.7 kB / 3.612 GB, free: 62.68 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.902e-05/5.697, allocations: 219.8 kB / 3.613 GB, free: 62.52 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.247e-05/5.697, allocations: 128.4 kB / 3.613 GB, free: 62.44 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.928e-05/5.697, allocations: 0 / 3.613 GB, free: 62.44 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.272e-05/5.697, allocations: 346 kB / 3.613 GB, free: 62.12 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/5.697, allocations: 103 kB / 3.613 GB, free: 62.12 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/5.697, allocations: 155.7 kB / 3.613 GB, free: 62.07 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002922/5.698, allocations: 120.3 kB / 3.614 GB, free: 62.07 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/5.698, allocations: 7.812 kB / 3.614 GB, free: 62.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008801/5.698, allocations: 416.6 kB / 3.614 GB, free: 62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001109/5.699, allocations: 0.6178 MB / 3.615 GB, free: 61.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/5.699, allocations: 0 / 3.615 GB, free: 61.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000505/5.699, allocations: 112.2 kB / 3.615 GB, free: 61.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003856/5.7, allocations: 93.78 kB / 3.615 GB, free: 61.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006627/5.7, allocations: 0.6911 MB / 3.615 GB, free: 60.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003792/5.701, allocations: 34.83 kB / 3.615 GB, free: 60.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.192e-05/5.701, allocations: 29.86 kB / 3.615 GB, free: 60.83 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.743e-06/5.701, allocations: 3.844 kB / 3.615 GB, free: 60.83 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007368/5.701, allocations: 328.9 kB / 3.616 GB, free: 60.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/5.701, allocations: 0 / 3.616 GB, free: 60.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002368/5.702, allocations: 77.19 kB / 3.616 GB, free: 60.81 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003618/5.702, allocations: 97.08 kB / 3.616 GB, free: 60.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003569/5.702, allocations: 0.6198 MB / 3.617 GB, free: 60.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003343/5.703, allocations: 36.16 kB / 3.617 GB, free: 60.28 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/5.703, allocations: 21.81 kB / 3.617 GB, free: 60.28 MB / 0.5105 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: Pump.dp:VARIABLE(unit = "Pa" ) "Outlet pressure minus inlet pressure" 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: 2 (Pump.int_Np,Pump.inletFluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * 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 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001293/5.703, allocations: 112.6 kB / 3.617 GB, free: 60.18 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/5.703, allocations: 66.14 kB / 3.617 GB, free: 60.15 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008504/5.704, allocations: 0.6496 MB / 3.617 GB, free: 60.07 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/5.704, allocations: 10.39 kB / 3.617 GB, free: 60.07 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/5.704, allocations: 3.594 kB / 3.617 GB, free: 60.07 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/5.704, allocations: 3.938 kB / 3.617 GB, free: 60.07 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/5.705, allocations: 1.287 MB / 3.619 GB, free: 59.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/5.705, allocations: 3.875 kB / 3.619 GB, free: 59.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003876/5.706, allocations: 88.75 kB / 3.619 GB, free: 59.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004837/5.706, allocations: 370.3 kB / 3.619 GB, free: 59.67 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/5.706, allocations: 3.656 kB / 3.619 GB, free: 59.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005883/5.707, allocations: 0.8598 MB / 3.62 GB, free: 59.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/5.707, allocations: 96 / 3.62 GB, free: 59.14 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001061/5.708, allocations: 0.8873 MB / 3.621 GB, free: 58.86 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/5.708, allocations: 145 kB / 3.621 GB, free: 58.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.724e-05/5.708, allocations: 3.406 kB / 3.621 GB, free: 58.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003422/5.709, allocations: 42.98 kB / 3.621 GB, free: 58.74 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.395e-05/5.709, allocations: 28.45 kB / 3.621 GB, free: 58.74 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.042e-05/5.709, allocations: 14.78 kB / 3.621 GB, free: 58.73 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001492/5.709, allocations: 197.4 kB / 3.621 GB, free: 58.66 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003701/5.713, allocations: 0.955 MB / 3.622 GB, free: 58.53 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (Pump.h,SimpleMotor1.L.i,SimpleMotor1.Damper.phi_rel,SimpleMotor1.Damper.w_rel) * Number of discrete variables: 2 ($cse2.phase,$cse2.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.005865/5.719, allocations: 1.392 MB / 3.624 GB, free: 58.27 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001058/5.72, allocations: 0.5617 MB / 3.624 GB, free: 58.25 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/5.72, allocations: 0 / 3.624 GB, free: 58.25 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004431/5.72, allocations: 281.9 kB / 3.624 GB, free: 58.24 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006359/5.721, allocations: 105.1 kB / 3.624 GB, free: 58.23 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/5.722, allocations: 0.9276 MB / 3.625 GB, free: 57.83 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004315/5.723, allocations: 0.9055 MB / 3.626 GB, free: 57.12 MB / 0.5105 GB Notification: Performance of SimCode: time 3.9e-07/5.723, allocations: 0 / 3.626 GB, free: 57.12 MB / 0.5105 GB Notification: Performance of Templates: time 0.04495/5.768, allocations: 29.76 MB / 3.655 GB, free: 55.23 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe 2>&1)