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: 288.2 MB / 303.2 MB, free: 8.191 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.001127/0.001127, allocations: 185.1 kB / 371.8 MB, free: 10.26 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.411/1.411, allocations: 205.4 MB / 0.6305 GB, free: 9.988 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008337/0.0008338, allocations: 86.88 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004224/0.0004225, allocations: 12.72 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2104, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0006823/0.2111, allocations: 310.1 kB / 0.9798 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002015/0.2113, allocations: 49.61 kB / 0.9798 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.608e-06/0.2114, allocations: 0 / 0.9798 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.526e-06/0.2114, allocations: 0 / 0.9798 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.98e-06/0.2114, allocations: 0 / 0.9798 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002016/0.2116, allocations: 11.98 kB / 0.9798 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.38e-05/0.2116, allocations: 3.984 kB / 0.9799 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.628e-05/0.2117, allocations: 4 kB / 0.9799 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.392e-05/0.2117, allocations: 0 / 0.9799 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.83e-05/0.2118, allocations: 7.938 kB / 0.9799 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.708e-06/0.2118, allocations: 0 / 0.9799 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.736e-05/0.2119, allocations: 15.98 kB / 0.9799 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.911e-06/0.2119, allocations: 3.938 kB / 0.9799 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.005e-05/0.2119, allocations: 25.7 kB / 0.9799 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.161e-05/0.212, allocations: 11.98 kB / 0.9799 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.212, allocations: 0 / 0.9799 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.202e-06/0.212, allocations: 0 / 0.9799 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.212, allocations: 4 kB / 0.9799 GB, free: 27.11 MB / 0.6198 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.0001898/0.2122, allocations: 315.4 kB / 0.9802 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.2122, allocations: 16.08 kB / 0.9802 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.067e-05/0.2123, allocations: 30.56 kB / 0.9803 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002459/0.2125, allocations: 15.97 kB / 0.9803 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.733e-05/0.2126, allocations: 163 kB / 0.9804 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.2126, allocations: 0 / 0.9804 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.2126, allocations: 0 / 0.9804 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.2128, allocations: 37.69 kB / 0.9805 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.2128, allocations: 0 / 0.9805 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.2128, allocations: 7.938 kB / 0.9805 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.2128, allocations: 0 / 0.9805 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.301e-05/0.2129, allocations: 7.984 kB / 0.9805 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.813e-05/0.213, allocations: 153.6 kB / 0.9806 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.546e-05/0.2131, allocations: 26.55 kB / 0.9807 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.2131, allocations: 0 / 0.9807 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.2131, allocations: 38.61 kB / 0.9807 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.2131, allocations: 0 / 0.9807 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0002143/0.2133, allocations: 45.62 kB / 0.9807 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.165e-05/0.2134, allocations: 55.41 kB / 0.9808 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.71e-05/0.2134, allocations: 93.98 kB / 0.9809 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.376e-06/0.2134, allocations: 25.7 kB / 0.9809 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.184e-05/0.2134, allocations: 80.14 kB / 0.981 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.2135, allocations: 7.891 kB / 0.981 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/0.2135, allocations: 0 / 0.981 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.397e-05/0.2135, allocations: 310.8 kB / 0.9813 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.062e-05/0.2136, allocations: 4 kB / 0.9813 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.555e-05/0.2136, allocations: 7.984 kB / 0.9813 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.024e-05/0.2137, allocations: 8.062 kB / 0.9813 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2137, allocations: 3.938 kB / 0.9813 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001147/0.2138, allocations: 49.58 kB / 0.9814 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.2138, allocations: 7.984 kB / 0.9814 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.2138, allocations: 0 / 0.9814 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.2138, allocations: 4 kB / 0.9814 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.899e-05/0.2139, allocations: 0 / 0.9814 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.2139, allocations: 0 / 0.9814 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.406e-05/0.214, allocations: 8.312 kB / 0.9814 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.214, allocations: 0 / 0.9814 GB, free: 25.4 MB / 0.6198 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 4.862e-05/0.214, allocations: 111.2 kB / 0.9815 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.267e-06/0.214, allocations: 7.938 kB / 0.9815 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.117e-05/0.2141, allocations: 7.125 kB / 0.9815 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.2141, allocations: 0 / 0.9815 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.2141, allocations: 0 / 0.9815 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.2141, allocations: 0 / 0.9815 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.607e-05/0.2142, allocations: 157.6 kB / 0.9816 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2142, allocations: 0 / 0.9816 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.132e-05/0.2142, allocations: 4 kB / 0.9817 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.2142, allocations: 3.953 kB / 0.9817 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.2142, allocations: 4 kB / 0.9817 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2143, allocations: 0 / 0.9817 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2143, allocations: 0 / 0.9817 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.2144, allocations: 77.05 kB / 0.9817 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.621e-05/0.2144, allocations: 77.11 kB / 0.9818 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.2144, allocations: 3.953 kB / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.012e-05/0.2145, allocations: 4 kB / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.718e-05/0.2145, allocations: 0 / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.2145, allocations: 3.938 kB / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.199e-05/0.2145, allocations: 75.28 kB / 0.9819 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2145, allocations: 0 / 0.9819 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001858/0.2147, allocations: 4 kB / 0.9819 GB, free: 24.78 MB / 0.6198 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.0002819/0.215, allocations: 0.6046 MB / 0.9825 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001211/0.2151, allocations: 11.98 kB / 0.9825 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2151, allocations: 4.094 kB / 0.9825 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.944e-05/0.2152, allocations: 7.984 kB / 0.9825 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.672e-05/0.2153, allocations: 7.953 kB / 0.9825 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003077/0.2156, allocations: 108.3 kB / 0.9826 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.658e-05/0.2157, allocations: 0.677 MB / 0.9833 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.93e-05/0.2158, allocations: 4.062 kB / 0.9833 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.272e-05/0.2158, allocations: 7.438 kB / 0.9833 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of SimCode: time 2.5e-07/0.2158, allocations: 0 / 0.9833 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009733/0.2255, allocations: 0.7536 MB / 0.984 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001457/0.2257, allocations: 186.5 kB / 0.9842 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.432/1.657, allocations: 0 / 0.9842 GB, free: 22.41 MB / 0.6198 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)