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.001175/0.001175, allocations: 111.7 kB / 16.41 MB, free: 6.488 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.001089/0.001089, allocations: 187 kB / 17.34 MB, free: 5.762 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00219/0.00219, allocations: 291.6 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.9743/0.9743, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 100.1 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4325/0.4344, allocations: 86.97 MB / 0.7671 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003049/0.4375, allocations: 2.079 MB / 0.7691 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001679/0.4392, allocations: 1.181 MB / 0.7702 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.4393, allocations: 0 / 0.7702 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003704/0.4397, allocations: 115 kB / 0.7703 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.14e-05/0.4398, allocations: 51.58 kB / 0.7704 GB, free: 488 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006474/0.4404, allocations: 249.5 kB / 0.7706 GB, free: 240 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003425/0.4408, allocations: 323.3 kB / 0.7709 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.441, allocations: 110.7 kB / 0.771 GB, free: 15.81 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.4411, allocations: 107.6 kB / 0.7712 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.4412, allocations: 127.5 kB / 0.7713 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.309e-05/0.4413, allocations: 28 kB / 0.7713 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003288/0.4416, allocations: 223.7 kB / 0.7715 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.475e-05/0.4417, allocations: 91.73 kB / 0.7716 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.4419, allocations: 151.2 kB / 0.7717 GB, free: 15.1 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005353/0.4424, allocations: 0.5632 MB / 0.7723 GB, free: 14.54 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4424, allocations: 0 / 0.7723 GB, free: 14.54 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.625e-06/0.4424, allocations: 3.984 kB / 0.7723 GB, free: 14.53 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.4424, allocations: 4 kB / 0.7723 GB, free: 14.53 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.001055/0.4435, allocations: 0.8037 MB / 0.7731 GB, free: 13.64 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.4435, allocations: 8.031 kB / 0.7731 GB, free: 13.63 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.997e-05/0.4436, allocations: 36.47 kB / 0.7731 GB, free: 13.6 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00034/0.444, allocations: 324.4 kB / 0.7734 GB, free: 13.24 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.444, allocations: 16.66 kB / 0.7735 GB, free: 13.22 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.986e-05/0.444, allocations: 20.36 kB / 0.7735 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005654/0.4446, allocations: 287.9 kB / 0.7737 GB, free: 12.92 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.4446, allocations: 0 / 0.7737 GB, free: 12.92 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.4447, allocations: 11.98 kB / 0.7738 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.4447, allocations: 4 kB / 0.7738 GB, free: 12.9 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000627/0.4453, allocations: 268.4 kB / 0.774 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008921/0.4462, allocations: 0.6756 MB / 0.7747 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005122/0.4467, allocations: 230.6 kB / 0.7749 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003708/0.4471, allocations: 192.7 kB / 0.7751 GB, free: 11.49 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.4471, allocations: 8 kB / 0.7751 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.885e-05/0.4472, allocations: 30.56 kB / 0.7751 GB, free: 11.44 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.4472, allocations: 0 / 0.7751 GB, free: 11.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.001275/0.4484, allocations: 0.6661 MB / 0.7758 GB, free: 10.75 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.366e-05/0.4485, allocations: 140.5 kB / 0.7759 GB, free: 10.58 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003714/0.4489, allocations: 384.4 kB / 0.7763 GB, free: 10.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.4489, allocations: 29.7 kB / 0.7763 GB, free: 10.17 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.449, allocations: 164.3 kB / 0.7765 GB, free: 10 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.37e-05/0.4491, allocations: 39.39 kB / 0.7765 GB, free: 9.965 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.291e-05/0.4492, allocations: 49.7 kB / 0.7765 GB, free: 9.91 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.4493, allocations: 346.8 kB / 0.7769 GB, free: 9.562 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004238/0.4497, allocations: 239.8 kB / 0.7771 GB, free: 9.328 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004159/0.4502, allocations: 238.6 kB / 0.7773 GB, free: 9.098 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008814/0.451, allocations: 0.6785 MB / 0.778 GB, free: 8.363 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4511, allocations: 0 / 0.778 GB, free: 8.363 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001034/0.4521, allocations: 0.7336 MB / 0.7787 GB, free: 7.586 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.4522, allocations: 190.1 kB / 0.7789 GB, free: 7.363 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.4522, allocations: 0 / 0.7789 GB, free: 7.363 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.4522, allocations: 112 / 0.7789 GB, free: 7.363 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.4524, allocations: 35.84 kB / 0.7789 GB, free: 7.328 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.4524, allocations: 4 kB / 0.7789 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.4526, allocations: 43.72 kB / 0.779 GB, free: 7.281 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.4527, allocations: 8 kB / 0.779 GB, free: 7.273 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.0001984/0.4529, allocations: 265.2 kB / 0.7792 GB, free: 6.988 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.483e-05/0.4529, allocations: 23.72 kB / 0.7793 GB, free: 6.965 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.814e-05/0.453, allocations: 30.94 kB / 0.7793 GB, free: 6.926 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.453, allocations: 0 / 0.7793 GB, free: 6.926 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.453, allocations: 0 / 0.7793 GB, free: 6.926 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.453, allocations: 0 / 0.7793 GB, free: 6.926 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003212/0.4533, allocations: 357.2 kB / 0.7796 GB, free: 6.527 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4533, allocations: 0 / 0.7796 GB, free: 6.527 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.4535, allocations: 35.91 kB / 0.7797 GB, free: 6.492 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.4535, allocations: 0 / 0.7797 GB, free: 6.492 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.4536, allocations: 8 kB / 0.7797 GB, free: 6.484 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4536, allocations: 0 / 0.7797 GB, free: 6.484 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4536, allocations: 0 / 0.7797 GB, free: 6.484 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009179/0.4545, allocations: 0.625 MB / 0.7803 GB, free: 5.824 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.286e-05/0.4546, allocations: 108.7 kB / 0.7804 GB, free: 5.699 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.52e-05/0.4546, allocations: 4 kB / 0.7804 GB, free: 5.695 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/0.4548, allocations: 31.95 kB / 0.7804 GB, free: 5.664 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.455, allocations: 27.97 kB / 0.7804 GB, free: 5.637 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.455, allocations: 4 kB / 0.7804 GB, free: 5.633 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002502/0.4552, allocations: 275 kB / 0.7807 GB, free: 5.363 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.235e-06/0.4552, allocations: 0 / 0.7807 GB, free: 5.363 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003869/0.4556, 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.0002679/0.4559, allocations: 163.1 kB / 0.781 GB, free: 5.09 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001082/0.457, allocations: 0.836 MB / 0.7818 GB, free: 4.18 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.457, allocations: 0 / 0.7818 GB, free: 4.18 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004715/0.4575, allocations: 374 kB / 0.7821 GB, free: 3.777 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/0.4579, allocations: 84.8 kB / 0.7822 GB, free: 3.699 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009425/0.4589, allocations: 0.6725 MB / 0.7829 GB, free: 2.996 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.4592, allocations: 0.7909 MB / 0.7836 GB, free: 2.18 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.653e-05/0.4593, allocations: 19.44 kB / 0.7837 GB, free: 2.16 MB / 0.545 GB Notification: Performance of SimCode: time 2.6e-07/0.4593, allocations: 0 / 0.7837 GB, free: 2.16 MB / 0.545 GB Notification: Performance of Templates: time 0.006848/0.4661, allocations: 4.97 MB / 0.7885 GB, free: 13.23 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)