Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.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.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8359/0.8359, allocations: 143.4 MB / 158.3 MB, free: 5.82 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.001085/0.001085, allocations: 173.1 kB / 191.5 MB, free: 5.77 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.546/1.546, allocations: 223.2 MB / 447.7 MB, free: 4.855 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.0009416/0.0009417, allocations: 92.31 kB / 0.5188 GB, free: 1.219 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001858/0.001858, allocations: 270.3 kB / 0.6005 GB, free: 48.79 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004279/0.0004279, allocations: 18.16 kB / 0.6929 GB, free: 59.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1861, allocations: 82.8 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1518/0.3379, allocations: 107.9 MB / 0.8791 GB, free: 1.816 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/0.3382, allocations: 77.98 kB / 0.8792 GB, free: 1.742 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.001357/0.3396, allocations: 0.5399 MB / 0.8797 GB, free: 1.199 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3396, allocations: 0 / 0.8797 GB, free: 1.199 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.3396, allocations: 0 / 0.8797 GB, free: 1.199 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002466/0.3399, allocations: 315.4 kB / 0.88 GB, free: 0.8438 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.3399, allocations: 8.562 kB / 0.88 GB, free: 0.8359 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/0.3401, allocations: 15.97 kB / 0.88 GB, free: 0.8203 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.782e-05/0.3402, allocations: 159.1 kB / 0.8802 GB, free: 0.625 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.3402, allocations: 7.953 kB / 0.8802 GB, free: 0.6172 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.3402, allocations: 0 / 0.8802 GB, free: 0.6172 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.3404, allocations: 37.62 kB / 0.8802 GB, free: 0.5742 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.3404, allocations: 0 / 0.8802 GB, free: 0.5742 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.3404, allocations: 7.984 kB / 0.8802 GB, free: 0.5664 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3404, allocations: 0 / 0.8802 GB, free: 0.5664 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.067e-05/0.3405, allocations: 7.984 kB / 0.8802 GB, free: 0.5586 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001379/0.3406, allocations: 153.7 kB / 0.8804 GB, free: 368 kB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.161e-05/0.3407, allocations: 18.61 kB / 0.8804 GB, free: 340 kB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.3408, allocations: 3.953 kB / 0.8804 GB, free: 336 kB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.3408, allocations: 38.56 kB / 0.8804 GB, free: 288 kB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.3408, allocations: 0 / 0.8804 GB, free: 288 kB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.0002303/0.341, allocations: 41.8 kB / 0.8805 GB, free: 240 kB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.3411, allocations: 63.41 kB / 0.8805 GB, free: 164 kB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.865e-05/0.3411, allocations: 85 kB / 0.8806 GB, free: 72 kB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.3412, allocations: 25.7 kB / 0.8807 GB, free: 40 kB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.318/0.6591, allocations: 81 kB / 0.8807 GB, free: 109.4 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.292e-05/0.6592, allocations: 0 / 0.8807 GB, free: 109.4 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.6592, allocations: 0 / 0.8807 GB, free: 109.4 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.652e-05/0.6593, allocations: 311.4 kB / 0.881 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.6594, allocations: 4.281 kB / 0.881 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.21e-05/0.6595, allocations: 9.031 kB / 0.881 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.646e-05/0.6595, allocations: 7.109 kB / 0.881 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6595, allocations: 2.438 kB / 0.881 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001427/0.6597, allocations: 45.12 kB / 0.8811 GB, free: 109 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.6597, allocations: 5.328 kB / 0.8811 GB, free: 109 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.6597, allocations: 2.234 kB / 0.8811 GB, free: 109 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.6597, allocations: 1.938 kB / 0.8811 GB, free: 109 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.766e-05/0.6598, allocations: 4.406 kB / 0.8811 GB, free: 109 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.6598, allocations: 2.625 kB / 0.8811 GB, free: 109 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.675e-05/0.6599, allocations: 2.578 kB / 0.8811 GB, free: 109 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.6599, allocations: 0.9375 kB / 0.8811 GB, free: 109 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 5.568e-05/0.66, allocations: 112.1 kB / 0.8812 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.919e-06/0.66, allocations: 5.188 kB / 0.8812 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.529e-05/0.66, allocations: 4.859 kB / 0.8812 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.66, allocations: 4.625 kB / 0.8812 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.66, allocations: 0 / 0.8812 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.66, allocations: 1.594 kB / 0.8812 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.163e-05/0.6601, allocations: 145.7 kB / 0.8814 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.6601, allocations: 0.8438 kB / 0.8814 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.319e-05/0.6602, allocations: 7.125 kB / 0.8814 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.6602, allocations: 0 / 0.8814 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.607e-06/0.6602, allocations: 5.438 kB / 0.8814 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.6602, allocations: 0.625 kB / 0.8814 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6602, allocations: 2.828 kB / 0.8814 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.6604, allocations: 69.16 kB / 0.8815 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.633e-05/0.6604, allocations: 77.77 kB / 0.8815 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.6604, allocations: 3.094 kB / 0.8815 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.123e-05/0.6604, allocations: 5.422 kB / 0.8815 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.119e-05/0.6605, allocations: 11.5 kB / 0.8815 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.6605, allocations: 0.625 kB / 0.8815 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.379e-05/0.6605, allocations: 76.5 kB / 0.8816 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9e-08/0.6605, allocations: 0 / 0.8816 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001999/0.6607, allocations: 1.281 kB / 0.8816 GB, free: 108.5 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.0001298/0.6608, allocations: 108.6 kB / 0.8817 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001286/0.661, allocations: 13.64 kB / 0.8817 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.661, allocations: 0 / 0.8817 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.057e-05/0.661, allocations: 10.95 kB / 0.8817 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.816e-05/0.6611, allocations: 6.25 kB / 0.8818 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002263/0.6614, allocations: 81.83 kB / 0.8818 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.818e-05/0.6615, allocations: 0.6732 MB / 0.8825 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.776e-05/0.6615, allocations: 4.969 kB / 0.8825 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.397e-05/0.6615, allocations: 9.359 kB / 0.8825 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of SimCode: time 3.61e-07/0.6615, allocations: 0 / 0.8825 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of Templates: time 0.001767/0.6633, allocations: 226.1 kB / 0.8827 GB, free: 107.6 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)