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.8261/0.8261, allocations: 141.8 MB / 149.3 MB, free: 9.242 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.0009871/0.000987, allocations: 184 kB / 182.2 MB, free: 9.461 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.59/1.59, allocations: 221.5 MB / 436.4 MB, free: 13.28 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.0008745/0.0008745, allocations: 92.09 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001779/0.001779, allocations: 283.4 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.325e-05/2.327e-05, allocations: 4 kB / 0.6766 GB, free: 12.8 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5259/0.5259, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1563/0.6823, allocations: 112.3 MB / 0.867 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/0.6827, allocations: 99.8 kB / 0.8671 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02025/0.703, allocations: 6.869 MB / 0.8738 GB, free: 8.648 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.713e-06/0.703, allocations: 0 / 0.8738 GB, free: 8.648 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.72e-05/0.703, allocations: 8 kB / 0.8738 GB, free: 8.641 MB / 0.5417 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.001166/0.7042, allocations: 0.7345 MB / 0.8745 GB, free: 7.82 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.7043, allocations: 11.97 kB / 0.8745 GB, free: 7.809 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.7044, allocations: 31.62 kB / 0.8746 GB, free: 7.777 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004804/0.7049, allocations: 307.9 kB / 0.8749 GB, free: 7.438 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.7049, allocations: 8 kB / 0.8749 GB, free: 7.43 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.954e-05/0.705, allocations: 12 kB / 0.8749 GB, free: 7.418 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003496/0.7054, allocations: 196.2 kB / 0.8751 GB, free: 7.227 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003842/0.7057, allocations: 234.6 kB / 0.8753 GB, free: 6.992 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.7058, allocations: 4 kB / 0.8753 GB, free: 6.988 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.7058, allocations: 0 / 0.8753 GB, free: 6.988 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.7058, allocations: 4 kB / 0.8753 GB, free: 6.984 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/0.7071, allocations: 0.6883 MB / 0.876 GB, free: 6.258 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000398/0.7075, allocations: 190.7 kB / 0.8762 GB, free: 6.062 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.7078, allocations: 148.8 kB / 0.8763 GB, free: 5.914 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.7078, allocations: 4 kB / 0.8763 GB, free: 5.91 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.7078, allocations: 38.5 kB / 0.8763 GB, free: 5.863 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=14): time 1.733e-06/0.7078, allocations: 0 / 0.8763 GB, free: 5.863 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14): time 0.0006585/0.7085, allocations: 341.3 kB / 0.8767 GB, free: 5.523 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.178e-05/0.7086, allocations: 132.5 kB / 0.8768 GB, free: 5.363 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003523/0.7089, allocations: 306 kB / 0.8771 GB, free: 5.059 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.709, allocations: 29.7 kB / 0.8771 GB, free: 5.023 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.7091, allocations: 168.2 kB / 0.8773 GB, free: 4.855 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.086e-05/0.7092, allocations: 47.36 kB / 0.8773 GB, free: 4.809 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.434e-05/0.7092, allocations: 0 / 0.8773 GB, free: 4.809 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.7093, allocations: 338.8 kB / 0.8776 GB, free: 4.469 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002507/0.7096, allocations: 191.9 kB / 0.8778 GB, free: 4.281 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.7098, allocations: 191.6 kB / 0.878 GB, free: 4.098 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003313/0.7102, allocations: 187.9 kB / 0.8782 GB, free: 3.914 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.7102, allocations: 3.953 kB / 0.8782 GB, free: 3.91 MB / 0.5417 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007284/0.7109, allocations: 490.6 kB / 0.8787 GB, free: 3.426 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000118/0.711, allocations: 182.2 kB / 0.8788 GB, free: 3.211 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.7111, allocations: 112 / 0.8788 GB, free: 3.211 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.7111, allocations: 7.938 kB / 0.8788 GB, free: 3.203 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.7113, allocations: 31.97 kB / 0.8789 GB, free: 3.172 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.7113, allocations: 8 kB / 0.8789 GB, free: 3.164 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002444/0.7116, allocations: 51.72 kB / 0.8789 GB, free: 3.113 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.823e-05/0.7116, allocations: 16 kB / 0.8789 GB, free: 3.098 MB / 0.5417 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.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001589/0.7118, allocations: 194.1 kB / 0.8791 GB, free: 2.883 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.38e-05/0.7118, allocations: 31.67 kB / 0.8792 GB, free: 2.852 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.946e-05/0.7119, allocations: 30.14 kB / 0.8792 GB, free: 2.82 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.7119, allocations: 3.938 kB / 0.8792 GB, free: 2.816 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.7119, allocations: 0 / 0.8792 GB, free: 2.816 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.712, allocations: 11.97 kB / 0.8792 GB, free: 2.805 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003339/0.7123, allocations: 309.8 kB / 0.8795 GB, free: 2.465 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.7123, allocations: 0 / 0.8795 GB, free: 2.465 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/0.7125, allocations: 39.97 kB / 0.8795 GB, free: 2.426 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.7125, allocations: 7.953 kB / 0.8795 GB, free: 2.418 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.7125, allocations: 4 kB / 0.8795 GB, free: 2.414 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.7125, allocations: 3.938 kB / 0.8795 GB, free: 2.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.7125, allocations: 0 / 0.8795 GB, free: 2.41 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005834/0.7131, allocations: 447.1 kB / 0.88 GB, free: 1.957 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.959e-05/0.7132, allocations: 108.8 kB / 0.8801 GB, free: 1.832 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.812e-05/0.7133, allocations: 11.95 kB / 0.8801 GB, free: 1.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.7135, allocations: 39.97 kB / 0.8801 GB, free: 1.781 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.7137, allocations: 23.97 kB / 0.8802 GB, free: 1.758 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.7137, allocations: 7.938 kB / 0.8802 GB, free: 1.75 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002424/0.7139, allocations: 240.6 kB / 0.8804 GB, free: 1.516 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7139, allocations: 0 / 0.8804 GB, free: 1.516 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005025/0.7144, allocations: 123.8 kB / 0.8805 GB, free: 1.395 MB / 0.5417 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006103/0.7151, allocations: 283.1 kB / 0.8808 GB, free: 1.117 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0007882/0.7159, allocations: 0.7502 MB / 0.8815 GB, free: 300 kB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.7159, allocations: 0 / 0.8815 GB, free: 300 kB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003342/0.7162, allocations: 338.1 kB / 0.8818 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.7166, allocations: 56.69 kB / 0.8819 GB, free: 15.87 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008754/0.7175, allocations: 497.9 kB / 0.8824 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.7179, allocations: 0.7867 MB / 0.8831 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 9.715e-05/0.718, allocations: 21.86 kB / 0.8831 GB, free: 14.53 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.562e-05/0.718, allocations: 15.44 kB / 0.8832 GB, free: 14.51 MB / 0.5573 GB Notification: Performance of SimCode: time 3.51e-07/0.718, allocations: 0 / 0.8832 GB, free: 14.51 MB / 0.5573 GB Notification: Performance of Templates: time 0.01065/0.7287, allocations: 5.338 MB / 0.8884 GB, free: 9.262 MB / 0.5573 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)