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.004517/0.004517, allocations: 99.64 kB / 15.73 MB, free: 6.035 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.001034/0.001034, allocations: 186.2 kB / 16.67 MB, free: 5.973 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.247/1.247, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001956/0.001956, allocations: 286.2 kB / 290.8 MB, free: 1.773 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9098/0.9098, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00171/0.00171, allocations: 91.86 kB / 0.6815 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1466, allocations: 86.97 MB / 0.7664 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003176/0.1498, allocations: 2.088 MB / 0.7684 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001679/0.1515, allocations: 1.165 MB / 0.7696 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.523e-05/0.1516, allocations: 4 kB / 0.7696 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003876/0.152, allocations: 123.2 kB / 0.7697 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.071e-05/0.1521, allocations: 51.58 kB / 0.7697 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000608/0.1527, allocations: 250.4 kB / 0.77 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003195/0.1531, allocations: 319.3 kB / 0.7703 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.1532, allocations: 102.8 kB / 0.7704 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.293e-05/0.1533, allocations: 111.6 kB / 0.7705 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.1535, allocations: 123.5 kB / 0.7706 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.169e-05/0.1535, allocations: 31.94 kB / 0.7706 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003305/0.1539, allocations: 235.7 kB / 0.7709 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.991e-05/0.154, allocations: 91.73 kB / 0.7709 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.1541, allocations: 147.2 kB / 0.7711 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005655/0.1547, allocations: 0.553 MB / 0.7716 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.1547, allocations: 4 kB / 0.7716 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1547, allocations: 0 / 0.7716 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.1547, allocations: 0 / 0.7716 GB, free: 3.023 MB / 0.5606 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.001169/0.1559, allocations: 0.8009 MB / 0.7724 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.1559, allocations: 11.97 kB / 0.7724 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.736e-05/0.156, allocations: 40.56 kB / 0.7725 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.1564, allocations: 328.3 kB / 0.7728 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.1564, allocations: 12.66 kB / 0.7728 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/0.1565, allocations: 16.38 kB / 0.7728 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005638/0.157, allocations: 295.8 kB / 0.7731 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.157, allocations: 0 / 0.7731 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.1571, allocations: 4 kB / 0.7731 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.1571, allocations: 8 kB / 0.7731 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006196/0.1577, allocations: 272.4 kB / 0.7734 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008962/0.1586, allocations: 0.6757 MB / 0.774 GB, free: 408 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004973/0.1591, allocations: 218.6 kB / 0.7742 GB, free: 180 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2931/0.4522, allocations: 193.7 kB / 0.7744 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.4523, allocations: 2.156 kB / 0.7744 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.4523, allocations: 32.38 kB / 0.7744 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 2.024e-06/0.4523, allocations: 1.094 kB / 0.7744 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.00156/0.4539, allocations: 0.6729 MB / 0.7751 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.4539, allocations: 138.8 kB / 0.7752 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004368/0.4544, allocations: 375.9 kB / 0.7756 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.4544, allocations: 28.98 kB / 0.7756 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.044e-05/0.4545, allocations: 168.7 kB / 0.7758 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/0.4546, allocations: 44.23 kB / 0.7758 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.72e-05/0.4547, allocations: 46.58 kB / 0.7759 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.272e-05/0.4547, allocations: 342 kB / 0.7762 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004482/0.4552, allocations: 237.2 kB / 0.7764 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004318/0.4556, allocations: 239.2 kB / 0.7766 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008792/0.4565, allocations: 0.6882 MB / 0.7773 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.4565, allocations: 0 / 0.7773 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001083/0.4576, allocations: 0.7341 MB / 0.778 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.624e-05/0.4577, allocations: 180.2 kB / 0.7782 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.4577, allocations: 2.812 kB / 0.7782 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.4577, allocations: 0.9375 kB / 0.7782 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.4579, allocations: 36.47 kB / 0.7782 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.4579, allocations: 1 kB / 0.7782 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002392/0.4582, allocations: 46.36 kB / 0.7783 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/0.4582, allocations: 6.531 kB / 0.7783 GB, free: 13.28 MB / 0.5606 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.000185/0.4584, allocations: 261.1 kB / 0.7785 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.129e-05/0.4585, allocations: 31.73 kB / 0.7786 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.222e-05/0.4585, allocations: 33.12 kB / 0.7786 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.4586, allocations: 1.188 kB / 0.7786 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.4586, allocations: 5.328 kB / 0.7786 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.4586, allocations: 3.469 kB / 0.7786 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003477/0.4589, allocations: 348 kB / 0.7789 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.4589, allocations: 3.375 kB / 0.779 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.4591, allocations: 27.78 kB / 0.779 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.4591, allocations: 4.469 kB / 0.779 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.4591, allocations: 4.422 kB / 0.779 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.4592, allocations: 4.734 kB / 0.779 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4592, allocations: 0 / 0.779 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009551/0.4601, allocations: 0.6239 MB / 0.7796 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.975e-05/0.4602, allocations: 110.5 kB / 0.7797 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.745e-05/0.4603, allocations: 8.641 kB / 0.7797 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.4605, allocations: 25 kB / 0.7797 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.796e-05/0.4606, allocations: 25.47 kB / 0.7798 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.4606, allocations: 9.5 kB / 0.7798 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002689/0.4609, allocations: 274.8 kB / 0.78 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4609, allocations: 1.344 kB / 0.78 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004075/0.4613, allocations: 100.9 kB / 0.7801 GB, free: 12.13 MB / 0.5606 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.000268/0.4616, allocations: 164.4 kB / 0.7803 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001057/0.4627, allocations: 0.838 MB / 0.7811 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.4627, allocations: 0.9375 kB / 0.7811 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004659/0.4631, allocations: 374.6 kB / 0.7815 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.4636, allocations: 77.69 kB / 0.7815 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009218/0.4645, allocations: 0.6422 MB / 0.7822 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.4647, allocations: 0.7812 MB / 0.7829 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.533e-05/0.4649, allocations: 23.64 kB / 0.7829 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.886e-05/0.4649, allocations: 26.56 kB / 0.783 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.4649, allocations: 0 / 0.783 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of Templates: time 0.01093/0.4758, allocations: 6.116 MB / 0.7889 GB, free: 9.867 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)