Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface") [: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 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 182.8 kB / 7.799 MB, free: 2.441 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4526/0.4526, allocations: 90.85 MB / 99.08 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 221.4 MB / 342.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 91.05 kB / 415.5 MB, free: 9.848 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.493e-06/6.643e-06, allocations: 0 / 493.9 MB, free: 11.56 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.34, allocations: 72.3 MB / 0.5529 GB, free: 44.79 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1207/0.4607, allocations: 101.8 MB / 0.6523 GB, free: 6.871 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002038/0.461, allocations: 79.94 kB / 0.6524 GB, free: 6.793 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.009325/0.4703, allocations: 3.044 MB / 0.6553 GB, free: 3.754 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.4704, allocations: 0 / 0.6553 GB, free: 3.754 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004957/0.4709, allocations: 390.1 kB / 0.6557 GB, free: 3.328 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.4709, allocations: 12.03 kB / 0.6557 GB, free: 3.316 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/0.4722, allocations: 151.7 kB / 0.6559 GB, free: 3.168 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.4724, allocations: 179.3 kB / 0.656 GB, free: 2.953 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.4724, allocations: 4 kB / 0.656 GB, free: 2.949 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.27e-05/0.4724, allocations: 4 kB / 0.656 GB, free: 2.945 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002214/0.4727, allocations: 87.91 kB / 0.6561 GB, free: 2.859 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.4729, allocations: 115.6 kB / 0.6562 GB, free: 2.742 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.4729, allocations: 3.906 kB / 0.6562 GB, free: 2.738 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.4729, allocations: 0 / 0.6562 GB, free: 2.738 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.4729, allocations: 0 / 0.6562 GB, free: 2.738 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.4743, allocations: 464.6 kB / 0.6567 GB, free: 2.246 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000383/0.4747, allocations: 88.2 kB / 0.6568 GB, free: 2.152 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.119e-05/0.4748, allocations: 29 kB / 0.6568 GB, free: 2.121 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.4748, allocations: 0 / 0.6568 GB, free: 2.121 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.4748, allocations: 30.56 kB / 0.6568 GB, free: 2.082 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.4748, allocations: 0 / 0.6568 GB, free: 2.082 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002414/0.4751, allocations: 81.67 kB / 0.6569 GB, free: 1.996 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.4751, allocations: 55.39 kB / 0.657 GB, free: 1.93 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.4753, allocations: 137.1 kB / 0.6571 GB, free: 1.785 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.4753, allocations: 25.7 kB / 0.6571 GB, free: 1.754 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.408e-05/0.4754, allocations: 111.8 kB / 0.6572 GB, free: 1.641 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.4754, allocations: 7.844 kB / 0.6572 GB, free: 1.633 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.292e-05/0.4754, allocations: 0 / 0.6572 GB, free: 1.633 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.4755, allocations: 323.5 kB / 0.6575 GB, free: 1.309 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.139e-05/0.4756, allocations: 28 kB / 0.6576 GB, free: 1.281 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.121e-05/0.4757, allocations: 50.55 kB / 0.6576 GB, free: 1.223 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.406e-05/0.4758, allocations: 23.98 kB / 0.6576 GB, free: 1.199 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4758, allocations: 0 / 0.6576 GB, free: 1.199 MB / 474.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002302/0.476, allocations: 117.5 kB / 0.6577 GB, free: 1.078 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000129/0.4762, allocations: 271.6 kB / 0.658 GB, free: 0.793 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.4762, allocations: 0 / 0.658 GB, free: 0.793 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.4762, allocations: 7.938 kB / 0.658 GB, free: 0.7852 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004219/0.4766, allocations: 55.88 kB / 0.6581 GB, free: 0.7305 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.4766, allocations: 0 / 0.6581 GB, free: 0.7305 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004646/0.4771, allocations: 48.02 kB / 0.6581 GB, free: 0.6836 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/0.4771, allocations: 15.98 kB / 0.6581 GB, free: 0.668 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.4772, allocations: 11.62 kB / 0.6581 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001167/0.4773, allocations: 39.92 kB / 0.6582 GB, free: 0.6211 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-06/0.4773, allocations: 0 / 0.6582 GB, free: 0.6211 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-06/0.4773, allocations: 0 / 0.6582 GB, free: 0.6211 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.4775, allocations: 27.97 kB / 0.6582 GB, free: 0.5938 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-06/0.4775, allocations: 4.062 kB / 0.6582 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.4777, allocations: 19.98 kB / 0.6582 GB, free: 0.5703 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.4777, allocations: 7.984 kB / 0.6582 GB, free: 0.5625 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.64e-05/0.4778, allocations: 106.1 kB / 0.6583 GB, free: 464 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.251e-05/0.4779, allocations: 11.91 kB / 0.6583 GB, free: 452 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.478, allocations: 8.125 kB / 0.6584 GB, free: 440 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/0.478, allocations: 0 / 0.6584 GB, free: 440 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/0.4781, allocations: 0 / 0.6584 GB, free: 440 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.4781, allocations: 0 / 0.6584 GB, free: 440 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002152/0.4783, allocations: 182.2 kB / 0.6585 GB, free: 220 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4783, allocations: 3.938 kB / 0.6585 GB, free: 216 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003148/0.4786, allocations: 47.94 kB / 0.6586 GB, free: 168 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.4786, allocations: 0 / 0.6586 GB, free: 168 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.4787, allocations: 4 kB / 0.6586 GB, free: 164 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.4787, allocations: 3.906 kB / 0.6586 GB, free: 160 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4787, allocations: 4 kB / 0.6586 GB, free: 156 kB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002106/0.4789, allocations: 164.5 kB / 0.6587 GB, free: 15.98 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.872e-05/0.479, allocations: 96.98 kB / 0.6588 GB, free: 15.86 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.479, allocations: 0 / 0.6588 GB, free: 15.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003604/0.4794, allocations: 35.97 kB / 0.6589 GB, free: 15.83 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.4794, allocations: 8.078 kB / 0.6589 GB, free: 15.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.4795, allocations: 7.984 kB / 0.6589 GB, free: 15.81 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.15e-05/0.4795, allocations: 111.3 kB / 0.659 GB, free: 15.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003594/0.4799, allocations: 43.84 kB / 0.659 GB, free: 15.66 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001552/0.4801, allocations: 107.1 kB / 0.6591 GB, free: 15.55 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002489/0.4803, allocations: 92.03 kB / 0.6592 GB, free: 15.46 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.4803, allocations: 0 / 0.6592 GB, free: 15.46 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.281e-05/0.4804, allocations: 23.98 kB / 0.6592 GB, free: 15.43 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.4806, allocations: 9.188 kB / 0.6593 GB, free: 15.43 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007372/0.4814, allocations: 162 kB / 0.6594 GB, free: 15.25 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004342/0.4818, allocations: 0.7227 MB / 0.6601 GB, free: 14.5 MB / 490.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4818, allocations: 0 / 0.6601 GB, free: 14.5 MB / 490.7 MB Notification: Performance of Templates: time 0.00537/0.4872, allocations: 2.159 MB / 0.6622 GB, free: 12.36 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)