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.5.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.5.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.77/0.77, allocations: 127.3 MB / 139.8 MB, free: 15.46 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001207/0.001207, allocations: 180.9 kB / 169.7 MB, free: 1.742 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.757/1.757, allocations: 205.1 MB / 404.5 MB, free: 1.645 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.0009485/0.0009488, allocations: 86.42 kB / 481.8 MB, free: 4.293 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.188e-05/3.191e-05, allocations: 8 kB / 0.5532 GB, free: 54.83 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1374, allocations: 76.75 MB / 0.6282 GB, free: 10.01 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4428/0.5802, allocations: 101.8 MB / 0.7276 GB, free: 11.56 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/0.5806, allocations: 75.14 kB / 0.7277 GB, free: 11.52 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001407/0.582, allocations: 0.5459 MB / 0.7282 GB, free: 11 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5821, allocations: 0 / 0.7282 GB, free: 11 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.5821, allocations: 4 kB / 0.7282 GB, free: 10.99 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.0002282/0.5823, allocations: 304.7 kB / 0.7285 GB, free: 10.65 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.5824, allocations: 8.094 kB / 0.7285 GB, free: 10.64 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.5826, allocations: 19.92 kB / 0.7285 GB, free: 10.62 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.373e-05/0.5827, allocations: 167 kB / 0.7287 GB, free: 10.42 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.5827, allocations: 4 kB / 0.7287 GB, free: 10.42 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.395e-06/0.5827, allocations: 4 kB / 0.7287 GB, free: 10.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.5828, allocations: 29.69 kB / 0.7287 GB, free: 10.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.5828, allocations: 0 / 0.7287 GB, free: 10.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.5828, allocations: 3.812 kB / 0.7287 GB, free: 10.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.5829, allocations: 4 kB / 0.7287 GB, free: 10.38 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.362e-05/0.5829, allocations: 0 / 0.7287 GB, free: 10.38 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001252/0.583, allocations: 149.6 kB / 0.7289 GB, free: 10.18 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.653e-05/0.5831, allocations: 26.55 kB / 0.7289 GB, free: 10.14 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.69e-05/0.5831, allocations: 4.859 kB / 0.7289 GB, free: 10.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.5831, allocations: 0 / 0.7289 GB, free: 10.14 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.5831, allocations: 38.38 kB / 0.7289 GB, free: 10.09 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.5832, allocations: 0.6562 kB / 0.7289 GB, free: 10.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001117/0.5833, allocations: 33.69 kB / 0.729 GB, free: 10.05 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.5833, allocations: 51.41 kB / 0.729 GB, free: 9.992 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.43e-05/0.5834, allocations: 89.03 kB / 0.7291 GB, free: 9.898 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.5834, allocations: 25.7 kB / 0.7291 GB, free: 9.867 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.366e-05/0.5834, allocations: 80.14 kB / 0.7292 GB, free: 9.785 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.5834, allocations: 2.188 kB / 0.7292 GB, free: 9.785 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.5834, allocations: 0 / 0.7292 GB, free: 9.785 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.5836, allocations: 318.8 kB / 0.7295 GB, free: 9.465 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.348e-05/0.5836, allocations: 7.375 kB / 0.7295 GB, free: 9.461 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.983e-06/0.5836, allocations: 0 / 0.7295 GB, free: 9.461 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.013e-05/0.5836, allocations: 8.062 kB / 0.7295 GB, free: 9.453 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5836, allocations: 0 / 0.7295 GB, free: 9.453 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.883e-05/0.5837, allocations: 33.69 kB / 0.7295 GB, free: 9.414 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.5837, allocations: 4 kB / 0.7295 GB, free: 9.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.5837, allocations: 4 kB / 0.7295 GB, free: 9.406 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.5838, allocations: 2.375 kB / 0.7295 GB, free: 9.406 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.99e-05/0.5838, allocations: 0 / 0.7295 GB, free: 9.406 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.5838, allocations: 5.016 kB / 0.7296 GB, free: 9.402 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.474e-05/0.5839, allocations: 7.922 kB / 0.7296 GB, free: 9.395 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.5839, allocations: 4.031 kB / 0.7296 GB, free: 9.391 MB / 490.7 MB 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 () * 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.661e-05/0.584, allocations: 104.9 kB / 0.7297 GB, free: 9.281 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-06/0.584, allocations: 4 kB / 0.7297 GB, free: 9.277 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.577e-05/0.584, allocations: 3.125 kB / 0.7297 GB, free: 9.277 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.584, allocations: 0 / 0.7297 GB, free: 9.277 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.584, allocations: 0 / 0.7297 GB, free: 9.277 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.584, allocations: 3.938 kB / 0.7297 GB, free: 9.273 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.422e-05/0.5841, allocations: 157.5 kB / 0.7298 GB, free: 9.074 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.5841, allocations: 0 / 0.7298 GB, free: 9.074 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.104e-05/0.5842, allocations: 8 kB / 0.7298 GB, free: 9.066 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.5842, allocations: 0 / 0.7298 GB, free: 9.066 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.5842, allocations: 0 / 0.7298 GB, free: 9.066 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.5842, allocations: 0 / 0.7298 GB, free: 9.066 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.5842, allocations: 7.984 kB / 0.7298 GB, free: 9.059 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.966e-05/0.5843, allocations: 56.84 kB / 0.7299 GB, free: 8.988 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.366e-05/0.5844, allocations: 77.73 kB / 0.73 GB, free: 8.895 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.5844, allocations: 8.781 kB / 0.73 GB, free: 8.887 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.552e-05/0.5844, allocations: 3.984 kB / 0.73 GB, free: 8.883 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.032e-05/0.5844, allocations: 0 / 0.73 GB, free: 8.883 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.5845, allocations: 0 / 0.73 GB, free: 8.883 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.689e-05/0.5845, allocations: 75.28 kB / 0.7301 GB, free: 8.809 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5845, allocations: 0 / 0.7301 GB, free: 8.809 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001705/0.5847, allocations: 4 kB / 0.7301 GB, free: 8.805 MB / 490.7 MB 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 () * 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.00013/0.5848, allocations: 103 kB / 0.7302 GB, free: 8.695 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.404e-05/0.5849, allocations: 8 kB / 0.7302 GB, free: 8.688 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5849, allocations: 0 / 0.7302 GB, free: 8.688 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.258e-05/0.5849, allocations: 7.984 kB / 0.7302 GB, free: 8.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.36e-05/0.585, allocations: 2.516 kB / 0.7302 GB, free: 8.68 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001732/0.5852, allocations: 48.77 kB / 0.7302 GB, free: 8.613 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.5854, allocations: 0.677 MB / 0.7309 GB, free: 7.91 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.84e-05/0.5855, allocations: 4.125 kB / 0.7309 GB, free: 7.906 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.398e-05/0.5855, allocations: 7.438 kB / 0.7309 GB, free: 7.898 MB / 490.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5855, allocations: 3.938 kB / 0.7309 GB, free: 7.895 MB / 490.7 MB Notification: Performance of Templates: time 0.00167/0.5872, allocations: 238.2 kB / 0.7311 GB, free: 7.672 MB / 490.7 MB 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)