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.7698/0.7698, allocations: 143.4 MB / 158.3 MB, free: 5.812 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.001081/0.001081, allocations: 179.5 kB / 191.5 MB, free: 5.781 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.37/1.37, allocations: 223.2 MB / 447.7 MB, free: 4.816 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.000918/0.000918, allocations: 96.27 kB / 0.5188 GB, free: 1.176 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001714/0.001714, allocations: 272.7 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004512/0.0004513, allocations: 11.12 kB / 0.6929 GB, free: 59.67 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1755, allocations: 82.79 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5406/0.7161, allocations: 113 MB / 0.8841 GB, free: 33.07 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.7164, allocations: 104.9 kB / 0.8842 GB, free: 33.06 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01989/0.7363, allocations: 6.957 MB / 0.8909 GB, free: 32.39 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.565e-06/0.7363, allocations: 4 kB / 0.891 GB, free: 32.39 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.423e-05/0.7363, allocations: 9.844 kB / 0.891 GB, free: 32.38 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.0009568/0.7373, allocations: 0.7787 MB / 0.8917 GB, free: 31.71 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.7374, allocations: 11.55 kB / 0.8917 GB, free: 31.71 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.604e-05/0.7374, allocations: 32.78 kB / 0.8918 GB, free: 31.7 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/0.7378, allocations: 320 kB / 0.8921 GB, free: 31.46 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.7378, allocations: 12.53 kB / 0.8921 GB, free: 31.46 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/0.7379, allocations: 17.19 kB / 0.8921 GB, free: 31.46 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00057/0.7385, allocations: 310.3 kB / 0.8924 GB, free: 31.42 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.7385, allocations: 0 / 0.8924 GB, free: 31.42 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.7385, allocations: 6.375 kB / 0.8924 GB, free: 31.42 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.7385, allocations: 3 kB / 0.8924 GB, free: 31.42 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006285/0.7392, allocations: 308.1 kB / 0.8927 GB, free: 31.41 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.7403, allocations: 0.7368 MB / 0.8934 GB, free: 31.1 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005259/0.7409, allocations: 245.6 kB / 0.8936 GB, free: 31.07 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.7409, allocations: 2.594 kB / 0.8937 GB, free: 31.07 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.7409, allocations: 37.19 kB / 0.8937 GB, free: 31.03 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.7409, allocations: 0 / 0.8937 GB, free: 31.03 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14): time 0.001439/0.7424, allocations: 0.9556 MB / 0.8946 GB, free: 30.59 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.7424, allocations: 138.4 kB / 0.8948 GB, free: 30.43 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004444/0.7429, allocations: 341 kB / 0.8951 GB, free: 30.32 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.7429, allocations: 31.45 kB / 0.8951 GB, free: 30.29 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.743, allocations: 167.5 kB / 0.8953 GB, free: 30.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.744e-05/0.7431, allocations: 49.36 kB / 0.8953 GB, free: 30.17 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.705e-05/0.7431, allocations: 2.25 kB / 0.8953 GB, free: 30.17 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.956e-05/0.7432, allocations: 347.3 kB / 0.8956 GB, free: 29.85 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005422/0.7438, allocations: 248.3 kB / 0.8959 GB, free: 29.85 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005247/0.7443, allocations: 245.1 kB / 0.8961 GB, free: 29.85 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005767/0.7449, allocations: 427.4 kB / 0.8965 GB, free: 29.65 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.7449, allocations: 0 / 0.8965 GB, free: 29.65 MB / 0.5417 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001268/0.7462, allocations: 0.7505 MB / 0.8973 GB, free: 29.4 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 8.165e-05/0.7463, allocations: 181.2 kB / 0.8974 GB, free: 29.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.7463, allocations: 0 / 0.8974 GB, free: 29.21 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.7463, allocations: 1.531 kB / 0.8974 GB, free: 29.21 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.7465, allocations: 35.91 kB / 0.8975 GB, free: 29.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.7465, allocations: 1.406 kB / 0.8975 GB, free: 29.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002505/0.7468, allocations: 63.41 kB / 0.8975 GB, free: 29.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.987e-05/0.7468, allocations: 13.03 kB / 0.8975 GB, free: 29.2 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002144/0.747, allocations: 263.8 kB / 0.8978 GB, free: 28.98 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.877e-05/0.7471, allocations: 27.16 kB / 0.8978 GB, free: 28.97 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.52e-05/0.7472, allocations: 30.66 kB / 0.8978 GB, free: 28.96 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.7472, allocations: 2.375 kB / 0.8978 GB, free: 28.96 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.7472, allocations: 0 / 0.8978 GB, free: 28.96 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.7472, allocations: 5.922 kB / 0.8979 GB, free: 28.95 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003312/0.7475, allocations: 352 kB / 0.8982 GB, free: 28.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.7476, allocations: 0 / 0.8982 GB, free: 28.76 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.7477, allocations: 39.2 kB / 0.8982 GB, free: 28.76 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.7478, allocations: 9.062 kB / 0.8982 GB, free: 28.75 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.7478, allocations: 3.375 kB / 0.8982 GB, free: 28.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.7478, allocations: 0.8438 kB / 0.8982 GB, free: 28.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.7478, allocations: 0 / 0.8982 GB, free: 28.75 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009792/0.7488, allocations: 0.6501 MB / 0.8989 GB, free: 28.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.289e-05/0.7489, allocations: 113.1 kB / 0.899 GB, free: 28.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.697e-05/0.7489, allocations: 8.094 kB / 0.899 GB, free: 28.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.7492, allocations: 38.23 kB / 0.899 GB, free: 28.39 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.7493, allocations: 25.28 kB / 0.8991 GB, free: 28.39 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.7493, allocations: 9.781 kB / 0.8991 GB, free: 28.38 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002901/0.7496, allocations: 271.8 kB / 0.8993 GB, free: 28.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7496, allocations: 0 / 0.8993 GB, free: 28.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005928/0.7502, allocations: 122.5 kB / 0.8994 GB, free: 28.28 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) * 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 (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.000559/0.7508, allocations: 287.8 kB / 0.8997 GB, free: 28.16 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001327/0.7521, allocations: 0.8634 MB / 0.9006 GB, free: 27.77 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.7521, allocations: 4.75 kB / 0.9006 GB, free: 27.76 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005778/0.7527, allocations: 396 kB / 0.9009 GB, free: 27.57 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.7531, allocations: 63.55 kB / 0.901 GB, free: 27.56 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.7544, allocations: 0.72 MB / 0.9017 GB, free: 27.26 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.7547, allocations: 0.7943 MB / 0.9025 GB, free: 26.56 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 9.813e-05/0.7548, allocations: 23.94 kB / 0.9025 GB, free: 26.55 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.325e-05/0.7549, allocations: 17.09 kB / 0.9025 GB, free: 26.54 MB / 0.5417 GB Notification: Performance of SimCode: time 2.4e-07/0.7549, allocations: 0 / 0.9025 GB, free: 26.54 MB / 0.5417 GB Notification: Performance of Templates: time 0.01199/0.7668, allocations: 6.499 MB / 0.9089 GB, free: 26 MB / 0.5417 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)