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/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.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/BuildingSystems 2.0.0-master/package.mo): time 0.761/0.761, allocations: 143.4 MB / 159.2 MB, free: 4.867 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 180.5 kB / 191.9 MB, free: 5.73 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 447.3 MB, free: 5.859 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 111 kB / 0.517 GB, free: 3.711 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001806/0.001806, allocations: 280.9 kB / 0.5973 GB, free: 49.39 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 79.88 kB / 0.6885 GB, free: 3.844 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3404, allocations: 81.3 MB / 0.7679 GB, free: 27.67 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002971/0.3434, allocations: 2.135 MB / 0.77 GB, free: 25.54 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.3449, allocations: 1.215 MB / 0.7712 GB, free: 24.32 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.296e-05/0.345, allocations: 4 kB / 0.7712 GB, free: 24.31 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003678/0.3454, allocations: 114.1 kB / 0.7713 GB, free: 24.2 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 8.266e-05/0.3455, allocations: 35.7 kB / 0.7713 GB, free: 24.17 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005383/0.3461, allocations: 199.7 kB / 0.7715 GB, free: 23.97 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.3463, allocations: 275.3 kB / 0.7718 GB, free: 23.7 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.3464, allocations: 93.95 kB / 0.7719 GB, free: 23.61 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.397e-05/0.3465, allocations: 83.69 kB / 0.772 GB, free: 23.53 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.3467, allocations: 123.4 kB / 0.7721 GB, free: 23.41 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.412e-05/0.3467, allocations: 20 kB / 0.7721 GB, free: 23.39 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000252/0.347, allocations: 199.7 kB / 0.7723 GB, free: 23.2 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 8.243e-05/0.347, allocations: 79.73 kB / 0.7724 GB, free: 23.12 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.3472, allocations: 135.2 kB / 0.7725 GB, free: 22.98 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003849/0.3475, allocations: 0.5374 MB / 0.773 GB, free: 22.45 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.3476, allocations: 0 / 0.773 GB, free: 22.45 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3476, allocations: 0 / 0.773 GB, free: 22.45 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.3476, allocations: 3.938 kB / 0.773 GB, free: 22.44 MB / 458.7 MB 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.0009541/0.3485, allocations: 0.8049 MB / 0.7738 GB, free: 21.55 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.3486, allocations: 8.031 kB / 0.7738 GB, free: 21.54 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.518e-05/0.3487, allocations: 40.47 kB / 0.7739 GB, free: 21.5 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003266/0.349, allocations: 320.4 kB / 0.7742 GB, free: 21.15 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.349, allocations: 16.66 kB / 0.7742 GB, free: 21.13 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.349, allocations: 16.38 kB / 0.7742 GB, free: 21.12 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000492/0.3495, allocations: 299.2 kB / 0.7745 GB, free: 20.82 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3496, allocations: 0 / 0.7745 GB, free: 20.82 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.3496, allocations: 4 kB / 0.7745 GB, free: 20.82 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.3496, allocations: 4 kB / 0.7745 GB, free: 20.81 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005617/0.3502, allocations: 268.9 kB / 0.7747 GB, free: 20.55 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007512/0.3509, allocations: 0.6724 MB / 0.7754 GB, free: 19.83 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004634/0.3514, allocations: 226.6 kB / 0.7756 GB, free: 19.6 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003271/0.3517, allocations: 192.7 kB / 0.7758 GB, free: 19.41 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.3518, allocations: 0 / 0.7758 GB, free: 19.41 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/0.3518, allocations: 38.67 kB / 0.7758 GB, free: 19.36 MB / 458.7 MB Notification: Performance of pre-optimization done (n=14): time 1.073e-06/0.3518, allocations: 3.938 kB / 0.7758 GB, free: 19.36 MB / 458.7 MB Notification: Performance of matching and sorting (n=14): time 0.001154/0.353, allocations: 0.6662 MB / 0.7765 GB, free: 18.66 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.353, allocations: 136.5 kB / 0.7766 GB, free: 18.5 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/0.3533, allocations: 380.5 kB / 0.777 GB, free: 18.12 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.3533, allocations: 33.7 kB / 0.777 GB, free: 18.08 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.293e-05/0.3534, allocations: 164.2 kB / 0.7772 GB, free: 17.91 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.3535, allocations: 51.3 kB / 0.7772 GB, free: 17.86 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.288e-05/0.3535, allocations: 49.7 kB / 0.7773 GB, free: 17.81 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.388e-05/0.3536, allocations: 346.7 kB / 0.7776 GB, free: 17.46 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003542/0.354, allocations: 231.9 kB / 0.7778 GB, free: 17.23 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00034/0.3543, allocations: 239.8 kB / 0.7781 GB, free: 17 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007067/0.355, allocations: 0.6822 MB / 0.7787 GB, free: 16.26 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.355, allocations: 4 kB / 0.7787 GB, free: 16.26 MB / 458.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000831/0.3559, allocations: 0.7257 MB / 0.7794 GB, free: 15.49 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.61e-05/0.3559, allocations: 182.2 kB / 0.7796 GB, free: 15.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.356, allocations: 0 / 0.7796 GB, free: 15.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.356, allocations: 0 / 0.7796 GB, free: 15.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.3561, allocations: 31.91 kB / 0.7796 GB, free: 15.24 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.3561, allocations: 0 / 0.7796 GB, free: 15.24 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.3563, allocations: 47.81 kB / 0.7797 GB, free: 15.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/0.3564, allocations: 7.984 kB / 0.7797 GB, free: 15.19 MB / 458.7 MB 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.0001445/0.3565, allocations: 258.9 kB / 0.7799 GB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.923e-05/0.3566, allocations: 31.56 kB / 0.78 GB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.633e-05/0.3566, allocations: 38.92 kB / 0.78 GB, free: 14.84 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3566, allocations: 0 / 0.78 GB, free: 14.84 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3566, allocations: 0 / 0.78 GB, free: 14.84 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3567, allocations: 4 kB / 0.78 GB, free: 14.83 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.3569, allocations: 361.1 kB / 0.7804 GB, free: 14.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3569, allocations: 0 / 0.7804 GB, free: 14.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.3571, allocations: 31.91 kB / 0.7804 GB, free: 14.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3571, allocations: 0 / 0.7804 GB, free: 14.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.3571, allocations: 4 kB / 0.7804 GB, free: 14.39 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3571, allocations: 0 / 0.7804 GB, free: 14.39 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3571, allocations: 3.984 kB / 0.7804 GB, free: 14.39 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.3584, allocations: 1.476 MB / 0.7818 GB, free: 12.84 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.318e-05/0.3585, allocations: 112.7 kB / 0.7819 GB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.163e-05/0.3586, allocations: 12 kB / 0.782 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002062/0.3588, allocations: 23.97 kB / 0.782 GB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.3589, allocations: 27.91 kB / 0.782 GB, free: 12.65 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.3589, allocations: 4 kB / 0.782 GB, free: 12.64 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002188/0.3591, allocations: 279 kB / 0.7823 GB, free: 12.37 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3592, allocations: 0 / 0.7823 GB, free: 12.37 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004931/0.3597, allocations: 103.9 kB / 0.7824 GB, free: 12.27 MB / 458.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: 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.0003052/0.36, allocations: 161.5 kB / 0.7825 GB, free: 12.11 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.361, allocations: 0.8359 MB / 0.7833 GB, free: 11.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.361, allocations: 0 / 0.7833 GB, free: 11.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004298/0.3614, allocations: 382 kB / 0.7837 GB, free: 10.79 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004346/0.3619, allocations: 65.78 kB / 0.7838 GB, free: 10.72 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.3629, allocations: 0.8692 MB / 0.7846 GB, free: 9.812 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.3632, allocations: 0.787 MB / 0.7854 GB, free: 8.996 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.504e-05/0.3633, allocations: 29.92 kB / 0.7854 GB, free: 8.969 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.262e-05/0.3633, allocations: 15.44 kB / 0.7854 GB, free: 8.953 MB / 458.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3633, allocations: 0 / 0.7854 GB, free: 8.953 MB / 458.7 MB Notification: Performance of Templates: time 0.00756/0.3709, allocations: 5.639 MB / 0.7909 GB, free: 3.402 MB / 458.7 MB 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)