Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PowerSimplified.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Movers.Validation.PowerSimplified,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PowerSimplified") translateModel(BuildingSystems.Fluid.Movers.Validation.PowerSimplified,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PowerSimplified") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7506/0.7506, allocations: 141.8 MB / 149.1 MB, free: 7.344 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 174.8 kB / 181.9 MB, free: 4.699 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 221.4 MB / 436 MB, free: 12.4 MB / 346.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 97.56 kB / 0.507 GB, free: 5.879 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001983/0.001983, allocations: 287.2 kB / 0.5885 GB, free: 2.695 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 1.397e-05/1.414e-05, allocations: 5.688 kB / 0.6759 GB, free: 164.6 MB / 0.5419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1953, allocations: 82.78 MB / 0.7567 GB, free: 109.9 MB / 0.5419 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8161/1.011, allocations: 399.1 MB / 1.147 GB, free: 1.363 MB / 0.7138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/1.012, allocations: 92.14 kB / 1.147 GB, free: 1.32 MB / 0.7138 GB Notification: Performance of FrontEnd: time 4.019/5.03, allocations: 1.025 GB / 2.171 GB, free: 67.12 MB / 0.745 GB Notification: Performance of Transformations before backend: time 0.0008701/5.031, allocations: 88.36 kB / 2.171 GB, free: 67.1 MB / 0.745 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 440 * Number of variables: 440 Notification: Performance of Generate backend data structure: time 0.01202/5.043, allocations: 3.119 MB / 2.174 GB, free: 65.49 MB / 0.745 GB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/5.043, allocations: 11.16 kB / 2.174 GB, free: 65.49 MB / 0.745 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004986/5.048, allocations: 0.6262 MB / 2.175 GB, free: 65.28 MB / 0.745 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06351/5.112, allocations: 23.19 MB / 2.198 GB, free: 55.26 MB / 0.745 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/5.112, allocations: 55.91 kB / 2.198 GB, free: 55.26 MB / 0.745 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009453/5.113, allocations: 120 kB / 2.198 GB, free: 55.25 MB / 0.745 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004323/5.117, allocations: 1.53 MB / 2.199 GB, free: 54.56 MB / 0.745 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004909/5.122, allocations: 1.805 MB / 2.201 GB, free: 53.5 MB / 0.745 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.248e-05/5.122, allocations: 6.781 kB / 2.201 GB, free: 53.5 MB / 0.745 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003772/5.123, allocations: 3.906 kB / 2.201 GB, free: 53.5 MB / 0.745 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.928e-05/5.123, allocations: 45.28 kB / 2.201 GB, free: 53.5 MB / 0.745 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01884/5.142, allocations: 9.84 MB / 2.211 GB, free: 45.53 MB / 0.745 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002231/5.144, allocations: 1.3 MB / 2.212 GB, free: 44.94 MB / 0.745 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001271/5.145, allocations: 0.6479 MB / 2.213 GB, free: 44.64 MB / 0.745 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007944/5.153, allocations: 3.642 MB / 2.216 GB, free: 41.47 MB / 0.745 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.773e-05/5.153, allocations: 44.25 kB / 2.216 GB, free: 41.42 MB / 0.745 GB Notification: Performance of pre-optimization done (n=90): time 5.53e-06/5.153, allocations: 4.5 kB / 2.216 GB, free: 41.42 MB / 0.745 GB Notification: Performance of matching and sorting (n=96): time 0.01536/5.169, allocations: 4.06 MB / 2.22 GB, free: 38.41 MB / 0.745 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/5.169, allocations: 68.09 kB / 2.22 GB, free: 38.34 MB / 0.745 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007612/5.176, allocations: 2.932 MB / 2.223 GB, free: 35.42 MB / 0.745 GB Notification: Performance of collectPreVariables (initialization): time 0.0005653/5.177, allocations: 29.7 kB / 2.223 GB, free: 35.38 MB / 0.745 GB Notification: Performance of collectInitialEqns (initialization): time 0.001427/5.179, allocations: 0.9076 MB / 2.224 GB, free: 34.46 MB / 0.745 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007432/5.179, allocations: 331.1 kB / 2.224 GB, free: 34.13 MB / 0.745 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001787/5.179, allocations: 0 / 2.224 GB, free: 34.13 MB / 0.745 GB Notification: Performance of setup shared object (initialization): time 0.0001615/5.18, allocations: 365.9 kB / 2.225 GB, free: 33.77 MB / 0.745 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001131/5.181, allocations: 0.617 MB / 2.225 GB, free: 33.15 MB / 0.745 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001482/5.182, allocations: 1.305 MB / 2.227 GB, free: 31.52 MB / 0.745 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002868/5.185, allocations: 0.938 MB / 2.227 GB, free: 30.59 MB / 0.745 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.577e-05/5.185, allocations: 4 kB / 2.227 GB, free: 30.58 MB / 0.745 GB Notification: Performance of matching and sorting (n=198) (initialization): time 0.006329/5.192, allocations: 2.43 MB / 2.23 GB, free: 28.13 MB / 0.745 GB Notification: Performance of prepare postOptimizeDAE: time 0.002149/5.194, allocations: 7.918 MB / 2.238 GB, free: 19.56 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.963e-05/5.194, allocations: 20 kB / 2.238 GB, free: 19.54 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009957/5.195, allocations: 391.2 kB / 2.238 GB, free: 19.14 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/5.196, allocations: 351.4 kB / 2.238 GB, free: 18.8 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002496/5.199, allocations: 3.5 MB / 2.242 GB, free: 15.18 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003316/5.202, allocations: 131.8 kB / 2.242 GB, free: 15.05 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003974/5.203, allocations: 116 kB / 2.242 GB, free: 14.93 MB / 0.745 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/5.203, allocations: 8 kB / 2.242 GB, free: 14.93 MB / 0.745 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00493/5.208, allocations: 1.895 MB / 2.244 GB, free: 13.02 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.094e-05/5.208, allocations: 20 kB / 2.244 GB, free: 13 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/5.209, allocations: 442.5 kB / 2.244 GB, free: 12.56 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/5.21, allocations: 319.5 kB / 2.245 GB, free: 12.25 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007267/5.217, allocations: 5.635 MB / 2.25 GB, free: 6.426 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003363/5.221, allocations: 123.7 kB / 2.25 GB, free: 6.305 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004925/5.221, allocations: 107.1 kB / 2.25 GB, free: 6.203 MB / 0.745 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 159 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0007705/5.222, allocations: 164.4 kB / 2.25 GB, free: 6.035 MB / 0.745 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001125/5.223, allocations: 308 kB / 2.251 GB, free: 5.73 MB / 0.745 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005969/5.229, allocations: 1.963 MB / 2.253 GB, free: 3.793 MB / 0.745 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.963e-05/5.229, allocations: 12 kB / 2.253 GB, free: 3.781 MB / 0.745 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/5.229, allocations: 2.875 kB / 2.253 GB, free: 3.781 MB / 0.745 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002596/5.232, allocations: 1.547 MB / 2.254 GB, free: 2.152 MB / 0.745 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0112/5.243, allocations: 3.975 MB / 2.258 GB, free: 14.14 MB / 0.7607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.328e-06/5.243, allocations: 0 / 2.258 GB, free: 14.14 MB / 0.7607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001338/5.244, allocations: 235.8 kB / 2.258 GB, free: 13.91 MB / 0.7607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002564/5.245, allocations: 82.38 kB / 2.258 GB, free: 13.82 MB / 0.7607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/5.245, allocations: 23.97 kB / 2.258 GB, free: 13.8 MB / 0.7607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001021/5.246, allocations: 1.305 MB / 2.26 GB, free: 12.45 MB / 0.7607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/5.246, allocations: 4 kB / 2.26 GB, free: 12.45 MB / 0.7607 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005498/5.251, allocations: 2.484 MB / 2.262 GB, free: 9.906 MB / 0.7607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002802/5.254, allocations: 0.6023 MB / 2.263 GB, free: 9.281 MB / 0.7607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001469/5.256, allocations: 3.984 kB / 2.263 GB, free: 9.277 MB / 0.7607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003029/5.259, allocations: 95.75 kB / 2.263 GB, free: 9.184 MB / 0.7607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002115/5.259, allocations: 64.81 kB / 2.263 GB, free: 9.121 MB / 0.7607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002128/5.259, allocations: 63.95 kB / 2.263 GB, free: 9.059 MB / 0.7607 GB Notification: Performance of sort global known variables: time 0.006806/5.266, allocations: 2.215 MB / 2.265 GB, free: 6.859 MB / 0.7607 GB Notification: Performance of remove unused functions: time 0.01051/5.277, allocations: 1.486 MB / 2.267 GB, free: 5.375 MB / 0.7607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (pump_Nrpm.port_a.h_outflow,pump_dp.port_a.h_outflow,pump_m_flow.port_a.h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.005008/5.282, allocations: 1.769 MB / 2.268 GB, free: 3.75 MB / 0.7607 GB Notification: Performance of simCode: created initialization part: time 0.006756/5.288, allocations: 2.642 MB / 2.271 GB, free: 1.109 MB / 0.7607 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/5.289, allocations: 0 / 2.271 GB, free: 1.109 MB / 0.7607 GB Notification: Performance of simCode: created simulation system equations: time 0.00134/5.29, allocations: 0.6131 MB / 2.271 GB, free: 0.5 MB / 0.7607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.4523/5.742, allocations: 1.436 MB / 2.273 GB, free: 137.2 MB / 0.7607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01374/5.756, allocations: 4.511 MB / 2.277 GB, free: 136.2 MB / 0.7607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002889/5.759, allocations: 2.51 MB / 2.28 GB, free: 135.4 MB / 0.7607 GB Notification: Performance of SimCode: time 1.824e-06/5.759, allocations: 0 / 2.28 GB, free: 135.4 MB / 0.7607 GB Notification: Performance of Templates: time 0.1588/5.918, allocations: 77.83 MB / 2.356 GB, free: 132.3 MB / 0.7607 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PowerSimplified.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PowerSimplified.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PowerSimplified.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PowerSimplified.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PowerSimplified.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PowerSimplified -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PowerSimplified.pipe 2>&1)