Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1.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.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1") translateModel(BuildingSystems.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1") [: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.7555/0.7555, allocations: 141.8 MB / 149.1 MB, free: 1.988 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 185.2 kB / 181.9 MB, free: 1.465 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.399/1.399, allocations: 221.3 MB / 436 MB, free: 6.062 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.001161, allocations: 96.56 kB / 0.507 GB, free: 2.727 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001684/0.001684, allocations: 271.5 kB / 0.5884 GB, free: 47.79 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 7.223e-06/7.313e-06, allocations: 1.312 kB / 0.6759 GB, free: 60.05 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1823, allocations: 82.78 MB / 0.7567 GB, free: 1.238 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7721/0.9545, allocations: 378.2 MB / 1.126 GB, free: 11.93 MB / 0.7138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.9548, allocations: 90.45 kB / 1.126 GB, free: 11.88 MB / 0.7138 GB Notification: Performance of FrontEnd: time 4.804/5.759, allocations: 1.335 GB / 2.461 GB, free: 67.02 MB / 0.7294 GB Notification: Performance of Transformations before backend: time 0.0006766/5.76, allocations: 90.62 kB / 2.461 GB, free: 66.95 MB / 0.7294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.01356/5.773, allocations: 3.406 MB / 2.465 GB, free: 63.53 MB / 0.7294 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/5.773, allocations: 13.03 kB / 2.465 GB, free: 63.52 MB / 0.7294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003977/5.777, allocations: 0.5568 MB / 2.465 GB, free: 62.96 MB / 0.7294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01544/5.793, allocations: 4.371 MB / 2.469 GB, free: 58.6 MB / 0.7294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001339/5.793, allocations: 48 kB / 2.469 GB, free: 58.55 MB / 0.7294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007652/5.794, allocations: 116 kB / 2.47 GB, free: 58.44 MB / 0.7294 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004076/5.798, allocations: 1.631 MB / 2.471 GB, free: 56.81 MB / 0.7294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004035/5.802, allocations: 1.841 MB / 2.473 GB, free: 54.83 MB / 0.7294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.397e-05/5.802, allocations: 7.938 kB / 2.473 GB, free: 54.82 MB / 0.7294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002945/5.802, allocations: 4 kB / 2.473 GB, free: 54.82 MB / 0.7294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.125e-05/5.802, allocations: 40 kB / 2.473 GB, free: 54.78 MB / 0.7294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01668/5.819, allocations: 11.54 MB / 2.484 GB, free: 42.7 MB / 0.7294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/5.821, allocations: 1.206 MB / 2.485 GB, free: 41.49 MB / 0.7294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001107/5.822, allocations: 0.9114 MB / 2.486 GB, free: 40.57 MB / 0.7294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006831/5.829, allocations: 3.362 MB / 2.49 GB, free: 36.96 MB / 0.7294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008981/5.83, allocations: 0.6487 MB / 2.49 GB, free: 36.3 MB / 0.7294 GB Notification: Performance of pre-optimization done (n=98): time 3.446e-06/5.83, allocations: 0 / 2.49 GB, free: 36.3 MB / 0.7294 GB Notification: Performance of matching and sorting (n=98): time 0.004679/5.834, allocations: 2.034 MB / 2.492 GB, free: 34.27 MB / 0.7294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/5.835, allocations: 64.89 kB / 2.492 GB, free: 34.19 MB / 0.7294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005501/5.84, allocations: 2.24 MB / 2.494 GB, free: 31.95 MB / 0.7294 GB Notification: Performance of collectPreVariables (initialization): time 0.000231/5.84, allocations: 29.7 kB / 2.495 GB, free: 31.91 MB / 0.7294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001396/5.842, allocations: 0.8433 MB / 2.495 GB, free: 31.05 MB / 0.7294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006106/5.842, allocations: 339 kB / 2.496 GB, free: 30.71 MB / 0.7294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/5.842, allocations: 4 kB / 2.496 GB, free: 30.71 MB / 0.7294 GB Notification: Performance of setup shared object (initialization): time 0.0001701/5.843, allocations: 357.9 kB / 2.496 GB, free: 30.36 MB / 0.7294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009445/5.844, allocations: 0.5506 MB / 2.497 GB, free: 29.8 MB / 0.7294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/5.845, allocations: 1.295 MB / 2.498 GB, free: 28.15 MB / 0.7294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002189/5.847, allocations: 0.8619 MB / 2.499 GB, free: 27.29 MB / 0.7294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.4e-05/5.847, allocations: 4 kB / 2.499 GB, free: 27.28 MB / 0.7294 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005375/5.853, allocations: 2.484 MB / 2.501 GB, free: 24.8 MB / 0.7294 GB Notification: Performance of prepare postOptimizeDAE: time 0.001419/5.854, allocations: 5.904 MB / 2.507 GB, free: 18.31 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-05/5.854, allocations: 16 kB / 2.507 GB, free: 18.29 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/5.855, allocations: 442 kB / 2.507 GB, free: 17.86 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/5.856, allocations: 297.3 kB / 2.508 GB, free: 17.57 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001853/5.858, allocations: 2.06 MB / 2.51 GB, free: 15.46 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003198/5.861, allocations: 219 kB / 2.51 GB, free: 15.24 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002386/5.862, allocations: 87.7 kB / 2.51 GB, free: 15.16 MB / 0.7294 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/5.862, allocations: 7.906 kB / 2.51 GB, free: 15.15 MB / 0.7294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003882/5.866, allocations: 2.064 MB / 2.512 GB, free: 13.07 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.531e-05/5.866, allocations: 12 kB / 2.512 GB, free: 13.06 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008864/5.867, allocations: 413.7 kB / 2.512 GB, free: 12.65 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/5.868, allocations: 289.3 kB / 2.513 GB, free: 12.37 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00577/5.873, allocations: 5.374 MB / 2.518 GB, free: 6.766 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002915/5.876, allocations: 191.4 kB / 2.518 GB, free: 6.578 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002532/5.877, allocations: 83.84 kB / 2.518 GB, free: 6.496 MB / 0.7294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004871/5.877, allocations: 153 kB / 2.518 GB, free: 6.34 MB / 0.7294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009715/5.878, allocations: 288 kB / 2.519 GB, free: 6.059 MB / 0.7294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005315/5.883, allocations: 2.348 MB / 2.521 GB, free: 3.742 MB / 0.7294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-05/5.884, allocations: 12 kB / 2.521 GB, free: 3.73 MB / 0.7294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/5.884, allocations: 0 / 2.521 GB, free: 3.73 MB / 0.7294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002956/5.887, allocations: 1.922 MB / 2.523 GB, free: 1.762 MB / 0.7294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4286/6.315, allocations: 3.935 MB / 2.527 GB, free: 138 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/6.315, allocations: 9.5 kB / 2.527 GB, free: 138 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008838/6.316, allocations: 178.7 kB / 2.527 GB, free: 138 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007703/6.317, allocations: 384 kB / 2.527 GB, free: 138 MB / 0.7294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.133e-05/6.317, allocations: 19.95 kB / 2.527 GB, free: 138 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001528/6.318, allocations: 1.909 MB / 2.529 GB, free: 137 MB / 0.7294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/6.318, allocations: 5.594 kB / 2.529 GB, free: 137 MB / 0.7294 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004917/6.323, allocations: 2.914 MB / 2.532 GB, free: 136.7 MB / 0.7294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001814/6.325, allocations: 0.4949 MB / 2.532 GB, free: 136.6 MB / 0.7294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004452/6.326, allocations: 2.812 kB / 2.532 GB, free: 136.6 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001434/6.327, allocations: 128.6 kB / 2.532 GB, free: 136.6 MB / 0.7294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/6.327, allocations: 74.69 kB / 2.532 GB, free: 136.6 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/6.327, allocations: 54.19 kB / 2.533 GB, free: 136.6 MB / 0.7294 GB Notification: Performance of sort global known variables: time 0.002697/6.33, allocations: 1.71 MB / 2.534 GB, free: 136.5 MB / 0.7294 GB Notification: Performance of remove unused functions: time 0.005046/6.335, allocations: 1.366 MB / 2.536 GB, free: 136.4 MB / 0.7294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.002169/6.337, allocations: 1.045 MB / 2.537 GB, free: 136.3 MB / 0.7294 GB Notification: Performance of simCode: created initialization part: time 0.004693/6.342, allocations: 2.71 MB / 2.539 GB, free: 136 MB / 0.7294 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/6.342, allocations: 2.562 kB / 2.539 GB, free: 136 MB / 0.7294 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/6.343, allocations: 0.6886 MB / 2.54 GB, free: 136 MB / 0.7294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005584/6.349, allocations: 1.011 MB / 2.541 GB, free: 135.9 MB / 0.7294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008581/6.357, allocations: 4.068 MB / 2.545 GB, free: 135 MB / 0.7294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002016/6.359, allocations: 2.342 MB / 2.547 GB, free: 134.3 MB / 0.7294 GB Notification: Performance of SimCode: time 1.203e-06/6.359, allocations: 0 / 2.547 GB, free: 134.3 MB / 0.7294 GB Notification: Performance of Templates: time 0.09917/6.459, allocations: 58.93 MB / 2.605 GB, free: 132.8 MB / 0.7294 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1.pipe 2>&1)