Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.61/1.61, allocations: 285.4 MB / 298 MB, free: 5.957 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00107/0.00107, allocations: 180.8 kB / 366.4 MB, free: 2.078 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.791/1.791, allocations: 205.1 MB / 0.6248 GB, free: 7.711 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009543/0.000955, allocations: 96.3 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.9e-05/3.913e-05, allocations: 8 kB / 0.8584 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7618/0.7619, allocations: 115.3 MB / 0.971 GB, free: 77.9 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1979/0.9598, allocations: 137.2 MB / 1.105 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/0.9602, allocations: 75.95 kB / 1.105 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.001342/0.9615, allocations: 0.5364 MB / 1.106 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.414e-06/0.9615, allocations: 4.531 kB / 1.106 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.9616, allocations: 0 / 1.106 GB, free: 13.96 MB / 0.7136 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.0002414/0.9618, allocations: 308 kB / 1.106 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.9619, allocations: 14.12 kB / 1.106 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.123e-05/0.9619, allocations: 35.38 kB / 1.106 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001764/0.9621, allocations: 15.97 kB / 1.106 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.954e-05/0.9622, allocations: 163 kB / 1.106 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.9622, allocations: 2.125 kB / 1.106 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.9622, allocations: 3.984 kB / 1.106 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.9624, allocations: 35.73 kB / 1.106 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.9624, allocations: 0 / 1.106 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.9624, allocations: 0.5938 kB / 1.106 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.9625, allocations: 3.422 kB / 1.106 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.502e-05/0.9625, allocations: 5.281 kB / 1.106 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001968/0.9627, allocations: 162.4 kB / 1.106 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.784e-05/0.9628, allocations: 15.23 kB / 1.106 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.7e-05/0.9628, allocations: 10.14 kB / 1.106 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.9628, allocations: 0 / 1.106 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.9629, allocations: 31.16 kB / 1.106 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.533e-06/0.9629, allocations: 1.094 kB / 1.106 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001566/0.9631, allocations: 37.62 kB / 1.106 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.9631, allocations: 53.47 kB / 1.106 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.46e-05/0.9632, allocations: 85 kB / 1.107 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.9632, allocations: 33.7 kB / 1.107 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.467e-05/0.9633, allocations: 80.14 kB / 1.107 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/0.9633, allocations: 0 / 1.107 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/0.9633, allocations: 0.6875 kB / 1.107 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.9635, allocations: 313 kB / 1.107 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.147e-05/0.9635, allocations: 0 / 1.107 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.196e-05/0.9635, allocations: 4 kB / 1.107 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.064e-05/0.9636, allocations: 0 / 1.107 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.9636, allocations: 1.219 kB / 1.107 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.521e-05/0.9636, allocations: 49.48 kB / 1.107 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.9637, allocations: 4 kB / 1.107 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.9637, allocations: 2.469 kB / 1.107 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.9637, allocations: 0 / 1.107 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.775e-05/0.9638, allocations: 9.703 kB / 1.107 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.9638, allocations: 0.5625 kB / 1.107 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.216e-05/0.9638, allocations: 0.6875 kB / 1.107 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.9639, allocations: 4 kB / 1.107 GB, free: 12.33 MB / 0.7136 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 () * 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 7.946e-05/0.9639, allocations: 106.3 kB / 1.107 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.766e-06/0.964, allocations: 7.234 kB / 1.107 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.08e-05/0.964, allocations: 4.75 kB / 1.107 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.964, allocations: 0 / 1.107 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.964, allocations: 0 / 1.107 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.964, allocations: 0.9688 kB / 1.107 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.9641, allocations: 149.7 kB / 1.107 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.9641, allocations: 0 / 1.107 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.915e-05/0.9642, allocations: 5.219 kB / 1.107 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.9642, allocations: 4.516 kB / 1.107 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.9642, allocations: 6.859 kB / 1.107 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.9642, allocations: 0.7188 kB / 1.107 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.9642, allocations: 0 / 1.107 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001248/0.9644, allocations: 65.08 kB / 1.107 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.838e-05/0.9644, allocations: 77.11 kB / 1.107 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.9644, allocations: 10.56 kB / 1.107 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.201e-05/0.9645, allocations: 0 / 1.107 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.434e-05/0.9645, allocations: 0 / 1.107 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.9645, allocations: 4 kB / 1.107 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.533e-05/0.9646, allocations: 78.53 kB / 1.107 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9646, allocations: 0 / 1.107 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000185/0.9647, allocations: 0 / 1.107 GB, free: 11.75 MB / 0.7136 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 () * 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.0004297/0.9652, allocations: 0.5925 MB / 1.108 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.14e-05/0.9653, allocations: 7.938 kB / 1.108 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.9653, allocations: 4.25 kB / 1.108 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.095e-05/0.9653, allocations: 4 kB / 1.108 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.454e-05/0.9654, allocations: 7.938 kB / 1.108 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002881/0.9657, allocations: 78.66 kB / 1.108 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.966, allocations: 0.6731 MB / 1.109 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.351e-05/0.966, allocations: 8.062 kB / 1.109 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.718e-05/0.9661, allocations: 7.438 kB / 1.109 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of SimCode: time 3.61e-07/0.9661, allocations: 0 / 1.109 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01144/0.9775, allocations: 0.7671 MB / 1.11 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002205/0.9778, allocations: 163.6 kB / 1.11 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.497/2.475, allocations: 64 / 1.11 GB, free: 9.48 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_RegStep.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)