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.7745/0.7745, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001058/0.001059, allocations: 186.7 kB / 187.3 MB, free: 11.88 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.543/1.543, allocations: 221.3 MB / 441.4 MB, free: 4.602 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.0009774/0.0009774, allocations: 100.7 kB / 0.5124 GB, free: 24.27 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001897/0.001897, allocations: 281.6 kB / 0.594 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.956e-05/4.958e-05, allocations: 4 kB / 0.6835 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.483/0.483, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1399/0.6231, allocations: 112.9 MB / 0.8746 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000305/0.6234, allocations: 99.8 kB / 0.8746 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02011/0.6435, allocations: 6.949 MB / 0.8814 GB, free: 4.582 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6436, allocations: 0 / 0.8814 GB, free: 4.582 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.731e-05/0.6436, allocations: 4 kB / 0.8814 GB, free: 4.578 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.0009996/0.6446, allocations: 0.7307 MB / 0.8822 GB, free: 3.762 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.6447, allocations: 12.03 kB / 0.8822 GB, free: 3.75 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.567e-05/0.6448, allocations: 31.62 kB / 0.8822 GB, free: 3.719 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004587/0.6452, allocations: 311.9 kB / 0.8825 GB, free: 3.375 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.6453, allocations: 16.28 kB / 0.8825 GB, free: 3.359 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.876e-05/0.6453, allocations: 16 kB / 0.8825 GB, free: 3.344 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000438/0.6458, allocations: 254.8 kB / 0.8828 GB, free: 3.09 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.6458, allocations: 0 / 0.8828 GB, free: 3.09 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.6458, allocations: 7.938 kB / 0.8828 GB, free: 3.082 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.6458, allocations: 8 kB / 0.8828 GB, free: 3.074 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000313/0.6462, allocations: 200.5 kB / 0.883 GB, free: 2.879 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001287/0.6474, allocations: 0.7387 MB / 0.8837 GB, free: 2.09 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004019/0.6479, allocations: 202.7 kB / 0.8839 GB, free: 1.883 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/0.6481, allocations: 148.8 kB / 0.884 GB, free: 1.734 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.6481, allocations: 7.984 kB / 0.884 GB, free: 1.727 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.6482, allocations: 30.56 kB / 0.8841 GB, free: 1.688 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.6482, allocations: 0 / 0.8841 GB, free: 1.688 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14): time 0.0006533/0.6488, allocations: 438.4 kB / 0.8845 GB, free: 1.234 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.718e-05/0.6489, allocations: 140.5 kB / 0.8846 GB, free: 1.066 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004037/0.6494, allocations: 346.6 kB / 0.8849 GB, free: 0.7227 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.6494, allocations: 29.7 kB / 0.885 GB, free: 0.6875 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.6495, allocations: 160.4 kB / 0.8851 GB, free: 0.5273 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.768e-05/0.6496, allocations: 51.28 kB / 0.8852 GB, free: 488 kB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.532e-05/0.6496, allocations: 4 kB / 0.8852 GB, free: 484 kB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.6497, allocations: 346.8 kB / 0.8855 GB, free: 128 kB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002673/0.65, allocations: 196 kB / 0.8857 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/0.6503, allocations: 199.2 kB / 0.8859 GB, free: 15.74 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003553/0.6506, allocations: 365.2 kB / 0.8862 GB, free: 15.35 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.6506, allocations: 4 kB / 0.8862 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007813/0.6514, allocations: 0.6515 MB / 0.8869 GB, free: 14.65 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.6516, allocations: 179.5 kB / 0.887 GB, free: 14.44 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.6516, allocations: 0 / 0.887 GB, free: 14.44 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.6516, allocations: 0 / 0.887 GB, free: 14.44 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.6518, allocations: 39.91 kB / 0.8871 GB, free: 14.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.6518, allocations: 3.984 kB / 0.8871 GB, free: 14.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.6521, allocations: 55.81 kB / 0.8871 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-05/0.6521, allocations: 8 kB / 0.8871 GB, free: 14.33 MB / 0.5573 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.0002077/0.6523, allocations: 206 kB / 0.8873 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.875e-05/0.6524, allocations: 35.62 kB / 0.8874 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.757e-05/0.6525, allocations: 39 kB / 0.8874 GB, free: 14.03 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.6525, allocations: 0 / 0.8874 GB, free: 14.03 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.6525, allocations: 0 / 0.8874 GB, free: 14.03 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.6525, allocations: 0 / 0.8874 GB, free: 14.03 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004242/0.653, allocations: 357.2 kB / 0.8878 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.653, allocations: 0 / 0.8878 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.6532, allocations: 39.97 kB / 0.8878 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.6532, allocations: 3.938 kB / 0.8878 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/0.6532, allocations: 4 kB / 0.8878 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.6532, allocations: 3.984 kB / 0.8878 GB, free: 13.58 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.6532, allocations: 0 / 0.8878 GB, free: 13.58 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007244/0.654, allocations: 0.5393 MB / 0.8883 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.6541, allocations: 112.7 kB / 0.8884 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.038e-05/0.6542, allocations: 8 kB / 0.8884 GB, free: 12.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002321/0.6544, allocations: 43.91 kB / 0.8885 GB, free: 12.83 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/0.6546, allocations: 23.97 kB / 0.8885 GB, free: 12.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.6546, allocations: 8 kB / 0.8885 GB, free: 12.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003436/0.655, allocations: 270.1 kB / 0.8888 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.655, allocations: 0 / 0.8888 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0006968/0.6557, allocations: 131.8 kB / 0.8889 GB, free: 12.4 MB / 0.5573 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.0006735/0.6564, allocations: 280 kB / 0.8892 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0009568/0.6573, allocations: 0.7657 MB / 0.8899 GB, free: 11.29 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.6574, allocations: 0 / 0.8899 GB, free: 11.29 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003805/0.6577, allocations: 338.2 kB / 0.8902 GB, free: 10.92 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.6582, allocations: 65.12 kB / 0.8903 GB, free: 10.86 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.6592, allocations: 0.4948 MB / 0.8908 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004869/0.6597, allocations: 0.7906 MB / 0.8916 GB, free: 9.527 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 9.826e-05/0.6598, allocations: 22.06 kB / 0.8916 GB, free: 9.508 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.225e-05/0.6599, allocations: 19.44 kB / 0.8916 GB, free: 9.488 MB / 0.5573 GB Notification: Performance of SimCode: time 1.352e-06/0.6599, allocations: 0 / 0.8916 GB, free: 9.488 MB / 0.5573 GB Notification: Performance of Templates: time 0.01251/0.6724, allocations: 6.721 MB / 0.8982 GB, free: 2.859 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)