Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6536/0.6536, allocations: 117.9 MB / 133.9 MB, free: 4.52 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 173.8 kB / 161.7 MB, free: 2.734 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.924/1.924, allocations: 205.4 MB / 394.8 MB, free: 20.91 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009937/0.0009938, allocations: 85.11 kB / 470.1 MB, free: 12.11 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006486/0.0006487, allocations: 16 kB / 0.5424 GB, free: 6.797 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4325/0.4331, allocations: 74.54 MB / 0.6151 GB, free: 54.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.146/0.5792, allocations: 100.8 MB / 0.7135 GB, free: 1.195 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/0.5796, allocations: 83.94 kB / 0.7136 GB, free: 1.113 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002002/0.5816, allocations: 0.5456 MB / 0.7142 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.797e-06/0.5817, allocations: 0 / 0.7142 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.5817, allocations: 0 / 0.7142 GB, free: 0.5664 MB / 490.7 MB 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.0004258/0.5821, allocations: 315.5 kB / 0.7145 GB, free: 212 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.511e-05/0.5822, allocations: 12.03 kB / 0.7145 GB, free: 200 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002758/0.5825, allocations: 12.92 kB / 0.7145 GB, free: 188 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.5827, allocations: 164.4 kB / 0.7146 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.5827, allocations: 384 / 0.7146 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.5827, allocations: 384 / 0.7146 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.583, allocations: 45.66 kB / 0.7147 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.583, allocations: 192 / 0.7147 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.583, allocations: 3.938 kB / 0.7147 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.583, allocations: 4 kB / 0.7147 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.5832, allocations: 11.98 kB / 0.7147 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002095/0.5834, allocations: 145.7 kB / 0.7148 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.5835, allocations: 26.34 kB / 0.7149 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.226e-05/0.5836, allocations: 8.922 kB / 0.7149 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.644e-05/0.5837, allocations: 3.984 kB / 0.7149 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.5837, allocations: 46.5 kB / 0.7149 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.923e-06/0.5838, allocations: 0 / 0.7149 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0003456/0.5841, allocations: 41.62 kB / 0.715 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.5842, allocations: 55.41 kB / 0.715 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.179e-05/0.5843, allocations: 93.8 kB / 0.7151 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.5843, allocations: 29.69 kB / 0.7151 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.193e-05/0.5844, allocations: 84.27 kB / 0.7152 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.5844, allocations: 3.906 kB / 0.7152 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/0.5844, allocations: 0 / 0.7152 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.5846, allocations: 314.8 kB / 0.7155 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.603e-05/0.5847, allocations: 4 kB / 0.7155 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.869e-05/0.5848, allocations: 7.984 kB / 0.7155 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.585, allocations: 20.84 kB / 0.7155 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.585, allocations: 4 kB / 0.7155 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002208/0.5852, allocations: 41.62 kB / 0.7156 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.5853, allocations: 4 kB / 0.7156 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.5853, allocations: 0 / 0.7156 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.5853, allocations: 3.938 kB / 0.7156 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.5855, allocations: 7.984 kB / 0.7156 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.5855, allocations: 0 / 0.7156 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.38e-05/0.5856, allocations: 8.031 kB / 0.7156 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.5856, allocations: 0 / 0.7156 GB, free: 14.86 MB / 0.4948 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 0.0001173/0.5857, allocations: 105.8 kB / 0.7157 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.5858, allocations: 4 kB / 0.7157 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.353e-05/0.5858, allocations: 7.062 kB / 0.7157 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.5858, allocations: 0 / 0.7157 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.147e-05/0.5859, allocations: 8 kB / 0.7157 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.5859, allocations: 3.938 kB / 0.7157 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.5861, allocations: 145.7 kB / 0.7159 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.5861, allocations: 4 kB / 0.7159 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.802e-05/0.5862, allocations: 4 kB / 0.7159 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.5862, allocations: 0 / 0.7159 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.5862, allocations: 7.922 kB / 0.7159 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.5862, allocations: 0 / 0.7159 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.5862, allocations: 3.984 kB / 0.7159 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.5865, allocations: 69.12 kB / 0.716 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.339e-05/0.5866, allocations: 77.11 kB / 0.716 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.5866, allocations: 3.938 kB / 0.716 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.875e-05/0.5867, allocations: 3.984 kB / 0.716 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.315e-05/0.5867, allocations: 4 kB / 0.716 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.5867, allocations: 3.938 kB / 0.716 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.572e-05/0.5868, allocations: 75.28 kB / 0.7161 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.21e-07/0.5868, allocations: 0 / 0.7161 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003284/0.5871, allocations: 0 / 0.7161 GB, free: 14.24 MB / 0.4948 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.0001818/0.5873, allocations: 107 kB / 0.7162 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001974/0.5876, allocations: 11.98 kB / 0.7162 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5876, allocations: 0 / 0.7162 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.98e-05/0.5877, allocations: 11.98 kB / 0.7162 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.5879, allocations: 4 kB / 0.7162 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003513/0.5883, allocations: 83.86 kB / 0.7163 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.5886, allocations: 0.6692 MB / 0.717 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.099e-05/0.5887, allocations: 4 kB / 0.717 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.304e-05/0.5888, allocations: 7.438 kB / 0.717 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of SimCode: time 5.11e-07/0.5888, allocations: 0 / 0.717 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of Templates: time 0.003082/0.5919, allocations: 224 kB / 0.7172 GB, free: 13.07 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)