Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.545/1.545, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001298/0.001298, allocations: 171.1 kB / 327.6 MB, free: 2.109 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.021/2.021, allocations: 205.4 MB / 0.5786 GB, free: 20.13 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007923/0.0007922, allocations: 85.64 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.000339, allocations: 11.09 kB / 0.7976 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2029, allocations: 106.3 MB / 0.9015 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0007271/0.2037, allocations: 330.3 kB / 0.9018 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002689/0.2039, allocations: 57.12 kB / 0.9018 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.989e-06/0.204, allocations: 0 / 0.9018 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.612e-05/0.204, allocations: 3.938 kB / 0.9018 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.851e-06/0.204, allocations: 0 / 0.9018 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.2042, allocations: 15.92 kB / 0.9018 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.735e-05/0.2043, allocations: 0 / 0.9018 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.582e-05/0.2043, allocations: 0 / 0.9018 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.478e-05/0.2044, allocations: 0 / 0.9018 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.96e-05/0.2044, allocations: 7.984 kB / 0.9019 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.2044, allocations: 4 kB / 0.9019 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.962e-05/0.2045, allocations: 15.98 kB / 0.9019 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.063e-05/0.2046, allocations: 0 / 0.9019 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.451e-05/0.2046, allocations: 29.7 kB / 0.9019 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.72e-05/0.2047, allocations: 11.98 kB / 0.9019 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.2047, allocations: 0 / 0.9019 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2047, allocations: 0 / 0.9019 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.2047, allocations: 0 / 0.9019 GB, free: 63.07 MB / 0.6042 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.0002183/0.2049, allocations: 315.6 kB / 0.9022 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.205, allocations: 11.97 kB / 0.9022 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002749/0.2052, allocations: 24.81 kB / 0.9023 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.043e-05/0.2053, allocations: 160.4 kB / 0.9024 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.2054, allocations: 384 / 0.9024 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.2054, allocations: 4.375 kB / 0.9024 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.2055, allocations: 34.25 kB / 0.9024 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.2055, allocations: 192 / 0.9024 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.2055, allocations: 11.81 kB / 0.9025 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2056, allocations: 0 / 0.9025 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.435e-05/0.2056, allocations: 15.98 kB / 0.9025 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001065/0.2058, allocations: 153.7 kB / 0.9026 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.347e-05/0.2058, allocations: 18.58 kB / 0.9026 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.995e-05/0.2059, allocations: 12.83 kB / 0.9026 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.855e-05/0.2059, allocations: 64 / 0.9026 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.514e-05/0.2059, allocations: 42.56 kB / 0.9027 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.206, allocations: 0 / 0.9027 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0002329/0.2062, allocations: 53.55 kB / 0.9027 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.2062, allocations: 51.41 kB / 0.9028 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.08e-05/0.2063, allocations: 89.86 kB / 0.9029 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.855e-06/0.2063, allocations: 25.7 kB / 0.9029 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.329e-05/0.2063, allocations: 80.27 kB / 0.903 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.2063, allocations: 4 kB / 0.903 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/0.2063, allocations: 0 / 0.903 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.677e-05/0.2064, allocations: 310.8 kB / 0.9033 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.329e-05/0.2064, allocations: 11.98 kB / 0.9033 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.573e-05/0.2065, allocations: 4 kB / 0.9033 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.626e-05/0.2066, allocations: 20.78 kB / 0.9033 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2066, allocations: 4.062 kB / 0.9033 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001117/0.2067, allocations: 37.69 kB / 0.9033 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.2067, allocations: 4 kB / 0.9034 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.2067, allocations: 3.984 kB / 0.9034 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.2067, allocations: 3.938 kB / 0.9034 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.958e-05/0.2068, allocations: 4 kB / 0.9034 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.2068, allocations: 0 / 0.9034 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.429e-05/0.2069, allocations: 4 kB / 0.9034 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.2069, allocations: 4.031 kB / 0.9034 GB, free: 61.36 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.871e-05/0.2069, allocations: 109.8 kB / 0.9035 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.624e-06/0.207, allocations: 0 / 0.9035 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.16e-05/0.207, allocations: 11.06 kB / 0.9035 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.207, allocations: 4 kB / 0.9035 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.207, allocations: 0 / 0.9035 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.207, allocations: 0 / 0.9035 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.375e-05/0.2071, allocations: 145.6 kB / 0.9036 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2071, allocations: 3.938 kB / 0.9036 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-05/0.2071, allocations: 11.98 kB / 0.9036 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.2071, allocations: 0 / 0.9036 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.2072, allocations: 7.875 kB / 0.9037 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2072, allocations: 0 / 0.9037 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2072, allocations: 0 / 0.9037 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.2073, allocations: 69.11 kB / 0.9037 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.664e-05/0.2073, allocations: 81.14 kB / 0.9038 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.2073, allocations: 3.938 kB / 0.9038 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.06e-05/0.2074, allocations: 4 kB / 0.9038 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.428e-05/0.2074, allocations: 0 / 0.9038 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.2074, allocations: 0 / 0.9038 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.297e-05/0.2074, allocations: 75.28 kB / 0.9039 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2074, allocations: 0 / 0.9039 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001715/0.2076, allocations: 0 / 0.9039 GB, free: 60.74 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001095/0.2077, allocations: 107.2 kB / 0.904 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000132/0.2079, allocations: 15.92 kB / 0.904 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2079, allocations: 0 / 0.904 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.11e-05/0.2079, allocations: 4 kB / 0.904 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001244/0.208, allocations: 0 / 0.904 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002271/0.2083, allocations: 108.4 kB / 0.9041 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.127e-05/0.2084, allocations: 0.6811 MB / 0.9048 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.309e-05/0.2084, allocations: 7.438 kB / 0.9048 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of SimCode: time 4.31e-07/0.2084, allocations: 0 / 0.9048 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of Templates: time 0.001392/0.2098, allocations: 387.1 kB / 0.9051 GB, free: 59.38 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)