Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.conf.json 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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 106.4 kB / 16.41 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001264, allocations: 189.7 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002096/0.002096, allocations: 283.8 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9408/0.9408, allocations: 169.2 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 95.86 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.454/0.4559, allocations: 86.99 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003266/0.4592, allocations: 2.075 MB / 0.7691 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001874/0.4611, allocations: 1.185 MB / 0.7702 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.4613, allocations: 4 kB / 0.7702 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004289/0.4617, allocations: 111 kB / 0.7704 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.4619, allocations: 47.59 kB / 0.7704 GB, free: 500 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008175/0.4627, allocations: 258.2 kB / 0.7706 GB, free: 244 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003728/0.4631, allocations: 323.3 kB / 0.771 GB, free: 15.92 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.4633, allocations: 106.7 kB / 0.7711 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.4634, allocations: 103.6 kB / 0.7712 GB, free: 15.72 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.4636, allocations: 127.5 kB / 0.7713 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.506e-05/0.4636, allocations: 28 kB / 0.7713 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003447/0.464, allocations: 227.7 kB / 0.7715 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.879e-05/0.4641, allocations: 95.67 kB / 0.7716 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.4642, allocations: 147.2 kB / 0.7718 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005542/0.4648, allocations: 0.5594 MB / 0.7723 GB, free: 14.55 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.4648, allocations: 0 / 0.7723 GB, free: 14.55 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4648, allocations: 0 / 0.7723 GB, free: 14.55 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.4648, allocations: 4 kB / 0.7723 GB, free: 14.54 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001096/0.4659, allocations: 0.8032 MB / 0.7731 GB, free: 13.66 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.466, allocations: 12.02 kB / 0.7731 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.26e-05/0.466, allocations: 36.47 kB / 0.7731 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.4664, allocations: 324.4 kB / 0.7734 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.4664, allocations: 16.66 kB / 0.7735 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.4665, allocations: 16.38 kB / 0.7735 GB, free: 13.22 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005828/0.4671, allocations: 295.8 kB / 0.7738 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.4671, allocations: 0 / 0.7738 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/0.4671, allocations: 4 kB / 0.7738 GB, free: 12.92 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.4671, allocations: 4 kB / 0.7738 GB, free: 12.92 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006292/0.4678, allocations: 284.2 kB / 0.774 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008814/0.4687, allocations: 0.6679 MB / 0.7747 GB, free: 11.92 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005117/0.4692, allocations: 226.6 kB / 0.7749 GB, free: 11.69 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000368/0.4696, allocations: 188.7 kB / 0.7751 GB, free: 11.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.4696, allocations: 11.98 kB / 0.7751 GB, free: 11.49 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.4696, allocations: 30.56 kB / 0.7751 GB, free: 11.45 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.4696, allocations: 0 / 0.7751 GB, free: 11.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.001278/0.4709, allocations: 0.6738 MB / 0.7758 GB, free: 10.75 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.127e-05/0.471, allocations: 136.5 kB / 0.7759 GB, free: 10.59 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003517/0.4713, allocations: 380.4 kB / 0.7763 GB, free: 10.21 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.4714, allocations: 29.7 kB / 0.7763 GB, free: 10.18 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.4715, allocations: 168.3 kB / 0.7765 GB, free: 10.01 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.088e-05/0.4715, allocations: 43.39 kB / 0.7765 GB, free: 9.969 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.213e-05/0.4716, allocations: 45.7 kB / 0.7765 GB, free: 9.918 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.4717, allocations: 346.8 kB / 0.7769 GB, free: 9.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004204/0.4722, allocations: 239.8 kB / 0.7771 GB, free: 9.336 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004047/0.4726, allocations: 235.8 kB / 0.7773 GB, free: 9.105 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008742/0.4735, allocations: 0.6787 MB / 0.778 GB, free: 8.371 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4735, allocations: 0 / 0.778 GB, free: 8.371 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001032/0.4745, allocations: 0.7414 MB / 0.7787 GB, free: 7.586 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001098/0.4746, allocations: 182.2 kB / 0.7789 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.4747, allocations: 112 / 0.7789 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.4747, allocations: 7.938 kB / 0.7789 GB, free: 7.363 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.4748, allocations: 27.97 kB / 0.7789 GB, free: 7.336 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.4749, allocations: 0 / 0.7789 GB, free: 7.336 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.4751, allocations: 43.72 kB / 0.779 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.4751, allocations: 8 kB / 0.779 GB, free: 7.285 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002059/0.4753, allocations: 269.2 kB / 0.7792 GB, free: 6.996 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.724e-05/0.4754, allocations: 27.72 kB / 0.7793 GB, free: 6.969 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.202e-05/0.4754, allocations: 26.94 kB / 0.7793 GB, free: 6.934 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.4754, allocations: 3.938 kB / 0.7793 GB, free: 6.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.4755, allocations: 4 kB / 0.7793 GB, free: 6.926 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4755, allocations: 0 / 0.7793 GB, free: 6.926 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.4758, allocations: 353.2 kB / 0.7796 GB, free: 6.531 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.4758, allocations: 0 / 0.7796 GB, free: 6.531 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.476, allocations: 35.97 kB / 0.7797 GB, free: 6.496 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.476, allocations: 0 / 0.7797 GB, free: 6.496 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.476, allocations: 4 kB / 0.7797 GB, free: 6.492 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.476, allocations: 0 / 0.7797 GB, free: 6.492 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.476, allocations: 4 kB / 0.7797 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009081/0.4769, allocations: 0.6172 MB / 0.7803 GB, free: 5.836 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.061e-05/0.477, allocations: 112.7 kB / 0.7804 GB, free: 5.707 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.023e-05/0.4771, allocations: 4 kB / 0.7804 GB, free: 5.703 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/0.4773, allocations: 31.95 kB / 0.7804 GB, free: 5.672 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.4774, allocations: 31.91 kB / 0.7804 GB, free: 5.641 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.4774, allocations: 8 kB / 0.7805 GB, free: 5.633 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002571/0.4777, allocations: 275 kB / 0.7807 GB, free: 5.363 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4777, allocations: 0 / 0.7807 GB, free: 5.363 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004065/0.4781, allocations: 107.9 kB / 0.7808 GB, free: 5.258 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002786/0.4784, allocations: 163.1 kB / 0.781 GB, free: 5.09 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001091/0.4795, allocations: 0.8377 MB / 0.7818 GB, free: 4.18 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.4795, allocations: 0 / 0.7818 GB, free: 4.18 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004797/0.48, allocations: 370.1 kB / 0.7821 GB, free: 3.781 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.4804, allocations: 75.36 kB / 0.7822 GB, free: 3.711 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.4814, allocations: 0.6787 MB / 0.7829 GB, free: 3.004 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.4818, allocations: 0.787 MB / 0.7836 GB, free: 2.191 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.8e-05/0.4819, allocations: 19.44 kB / 0.7837 GB, free: 2.172 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.4819, allocations: 0 / 0.7837 GB, free: 2.172 MB / 0.545 GB Notification: Performance of Templates: time 0.006937/0.4888, allocations: 5.015 MB / 0.7886 GB, free: 13.2 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)