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.612/1.612, allocations: 288.4 MB / 303.6 MB, free: 8.113 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.001105/0.001105, allocations: 191.8 kB / 372.3 MB, free: 10.13 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.577/1.577, allocations: 205.4 MB / 0.631 GB, free: 9.879 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.0008597/0.0008598, allocations: 90.88 kB / 0.7444 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004588/0.0004588, allocations: 13.28 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2059, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0006191/0.2066, allocations: 319.8 kB / 0.9805 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002158/0.2068, allocations: 47.83 kB / 0.9806 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.163e-05/0.2068, allocations: 0 / 0.9806 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.27e-05/0.2068, allocations: 0 / 0.9806 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.284e-06/0.2069, allocations: 0 / 0.9806 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.2071, allocations: 11.98 kB / 0.9806 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.018e-05/0.2071, allocations: 4 kB / 0.9806 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.494e-05/0.2072, allocations: 8 kB / 0.9806 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.247e-05/0.2072, allocations: 0 / 0.9806 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.536e-05/0.2072, allocations: 0 / 0.9806 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.668e-06/0.2072, allocations: 0 / 0.9806 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.905e-05/0.2073, allocations: 23.97 kB / 0.9806 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.666e-06/0.2073, allocations: 3.984 kB / 0.9806 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.33e-05/0.2074, allocations: 29.64 kB / 0.9806 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.725e-05/0.2074, allocations: 7.984 kB / 0.9806 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2075, allocations: 4 kB / 0.9806 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2075, allocations: 0 / 0.9806 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.2075, allocations: 0 / 0.9806 GB, free: 26.77 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.0001851/0.2077, allocations: 311.6 kB / 0.9809 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.2077, allocations: 12.09 kB / 0.981 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.702e-05/0.2078, allocations: 34.75 kB / 0.981 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002578/0.208, allocations: 16.91 kB / 0.981 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.119e-05/0.2081, allocations: 164.4 kB / 0.9812 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.2081, allocations: 4.312 kB / 0.9812 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.2081, allocations: 384 / 0.9812 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.2083, allocations: 38.25 kB / 0.9812 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.2083, allocations: 3.938 kB / 0.9812 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.2083, allocations: 0 / 0.9812 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2083, allocations: 4 kB / 0.9812 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.315e-05/0.2084, allocations: 11.92 kB / 0.9812 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001017/0.2085, allocations: 145.7 kB / 0.9814 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.851e-05/0.2086, allocations: 26.59 kB / 0.9814 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.513e-05/0.2086, allocations: 8.922 kB / 0.9814 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.2087, allocations: 0 / 0.9814 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.457e-05/0.2087, allocations: 30.56 kB / 0.9814 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.2087, allocations: 7.938 kB / 0.9814 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.000211/0.2089, allocations: 49.55 kB / 0.9815 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.135e-05/0.2089, allocations: 55.53 kB / 0.9815 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.646e-05/0.209, allocations: 93.86 kB / 0.9816 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.209, allocations: 29.7 kB / 0.9816 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.009e-05/0.209, allocations: 80.14 kB / 0.9817 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.209, allocations: 3.906 kB / 0.9817 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/0.209, allocations: 0 / 0.9817 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.599e-05/0.2091, allocations: 318.8 kB / 0.982 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.128e-05/0.2091, allocations: 4 kB / 0.982 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.392e-05/0.2092, allocations: 11.98 kB / 0.982 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.99e-05/0.2093, allocations: 8.859 kB / 0.9821 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2093, allocations: 0 / 0.9821 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001085/0.2094, allocations: 53.61 kB / 0.9821 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.2094, allocations: 4 kB / 0.9821 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.2094, allocations: 7.922 kB / 0.9821 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.2094, allocations: 4.094 kB / 0.9821 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.966e-05/0.2095, allocations: 4 kB / 0.9821 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2095, allocations: 0 / 0.9821 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.423e-05/0.2096, allocations: 4.266 kB / 0.9821 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.2096, allocations: 4 kB / 0.9821 GB, free: 25.02 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.432e-05/0.2096, allocations: 111.1 kB / 0.9822 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.073e-06/0.2096, allocations: 0 / 0.9822 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.032e-05/0.2097, allocations: 7.062 kB / 0.9822 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.2097, allocations: 7.938 kB / 0.9822 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.2097, allocations: 0 / 0.9822 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2097, allocations: 0 / 0.9822 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.32e-05/0.2098, allocations: 153.6 kB / 0.9824 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2098, allocations: 0 / 0.9824 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.069e-05/0.2098, allocations: 4 kB / 0.9824 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2098, allocations: 0 / 0.9824 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.2098, allocations: 11.94 kB / 0.9824 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2098, allocations: 0 / 0.9824 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2098, allocations: 7.922 kB / 0.9824 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.21, allocations: 69.11 kB / 0.9825 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.288e-05/0.21, allocations: 77.11 kB / 0.9826 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.878e-06/0.21, allocations: 3.938 kB / 0.9826 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.908e-05/0.21, allocations: 3.984 kB / 0.9826 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.987e-06/0.21, allocations: 0 / 0.9826 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.2101, allocations: 4 kB / 0.9826 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.281e-05/0.2101, allocations: 83.31 kB / 0.9826 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2101, allocations: 0 / 0.9826 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001645/0.2102, allocations: 3.938 kB / 0.9827 GB, free: 24.39 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.0002767/0.2105, allocations: 0.6046 MB / 0.9832 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001099/0.2107, allocations: 16.02 kB / 0.9833 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2107, allocations: 0 / 0.9833 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.76e-05/0.2107, allocations: 4 kB / 0.9833 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001131/0.2108, allocations: 0 / 0.9833 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002784/0.2111, allocations: 112.4 kB / 0.9834 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.951e-05/0.2112, allocations: 0.6732 MB / 0.984 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.573e-05/0.2113, allocations: 7.938 kB / 0.984 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.304e-05/0.2113, allocations: 7.438 kB / 0.984 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of SimCode: time 3.61e-07/0.2113, allocations: 3.938 kB / 0.984 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4202/0.6315, allocations: 0.749 MB / 0.9848 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/0.6318, allocations: 193.5 kB / 0.985 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.675/2.307, allocations: 4 kB / 0.985 GB, free: 22.03 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)