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.666/1.666, allocations: 288.4 MB / 303.3 MB, free: 8.133 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.001008/0.001008, allocations: 172.6 kB / 372 MB, free: 10.28 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.398/1.398, allocations: 205.4 MB / 0.6307 GB, free: 10 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.000727/0.000727, allocations: 98.28 kB / 0.7441 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004285/0.0004282, allocations: 13.38 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.1991, allocations: 115.3 MB / 0.9797 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0006291/0.1998, allocations: 315.8 kB / 0.98 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002272/0.2, allocations: 43.88 kB / 0.98 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.03e-05/0.2001, allocations: 4 kB / 0.98 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.057e-06/0.2001, allocations: 0 / 0.98 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.909e-06/0.2001, allocations: 0 / 0.98 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.2003, allocations: 12 kB / 0.98 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.023e-05/0.2003, allocations: 7.922 kB / 0.98 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.5e-05/0.2004, allocations: 4 kB / 0.98 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.276e-05/0.2004, allocations: 0 / 0.98 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.44e-05/0.2004, allocations: 0 / 0.98 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.027e-06/0.2005, allocations: 4 kB / 0.98 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.038e-05/0.2006, allocations: 15.98 kB / 0.98 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.442e-06/0.2006, allocations: 3.984 kB / 0.9801 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.74e-05/0.2006, allocations: 25.7 kB / 0.9801 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.661e-05/0.2007, allocations: 15.98 kB / 0.9801 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2007, allocations: 3.938 kB / 0.9801 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2007, allocations: 0 / 0.9801 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.2007, allocations: 0 / 0.9801 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.0001846/0.2009, allocations: 311.4 kB / 0.9804 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.2009, allocations: 16.08 kB / 0.9804 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.961e-05/0.201, allocations: 30.56 kB / 0.9804 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002448/0.2012, allocations: 19.97 kB / 0.9805 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.493e-05/0.2013, allocations: 163 kB / 0.9806 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.2013, allocations: 3.938 kB / 0.9806 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.2013, allocations: 0 / 0.9806 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.2014, allocations: 41.62 kB / 0.9807 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.2014, allocations: 0 / 0.9807 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.2015, allocations: 4 kB / 0.9807 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2015, allocations: 3.984 kB / 0.9807 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.48e-05/0.2016, allocations: 11.98 kB / 0.9807 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.805e-05/0.2017, allocations: 149.6 kB / 0.9808 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.666e-05/0.2017, allocations: 22.61 kB / 0.9808 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.807e-05/0.2018, allocations: 12.91 kB / 0.9809 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.2018, allocations: 0 / 0.9809 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.2018, allocations: 42.5 kB / 0.9809 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.2018, allocations: 0 / 0.9809 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0002167/0.2021, allocations: 41.67 kB / 0.9809 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.2021, allocations: 55.53 kB / 0.981 GB, free: 26 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.484e-05/0.2021, allocations: 93.86 kB / 0.9811 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.414e-06/0.2022, allocations: 25.7 kB / 0.9811 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.103e-05/0.2022, allocations: 80.14 kB / 0.9812 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.2022, allocations: 3.906 kB / 0.9812 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-06/0.2022, allocations: 0 / 0.9812 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.636e-05/0.2023, allocations: 314.8 kB / 0.9815 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.534e-05/0.2023, allocations: 11.98 kB / 0.9815 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.685e-05/0.2024, allocations: 8 kB / 0.9815 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.779e-05/0.2024, allocations: 11.92 kB / 0.9815 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2024, allocations: 0 / 0.9815 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001076/0.2025, allocations: 41.64 kB / 0.9815 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.2026, allocations: 4 kB / 0.9816 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.2026, allocations: 0 / 0.9816 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.2026, allocations: 0 / 0.9816 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.868e-05/0.2027, allocations: 12.08 kB / 0.9816 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.2027, allocations: 0 / 0.9816 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.776e-05/0.2027, allocations: 4.281 kB / 0.9816 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.2027, allocations: 0 / 0.9816 GB, free: 25.37 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.238e-05/0.2028, allocations: 105.8 kB / 0.9817 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.244e-06/0.2028, allocations: 7.891 kB / 0.9817 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.468e-05/0.2028, allocations: 3.125 kB / 0.9817 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2028, allocations: 7.938 kB / 0.9817 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.2029, allocations: 4 kB / 0.9817 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.2029, allocations: 0 / 0.9817 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.234e-05/0.2029, allocations: 153.6 kB / 0.9818 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2029, allocations: 0 / 0.9818 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.059e-05/0.203, allocations: 4 kB / 0.9818 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.203, allocations: 3.953 kB / 0.9818 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.203, allocations: 7.922 kB / 0.9819 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.203, allocations: 0 / 0.9819 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.203, allocations: 0 / 0.9819 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.2031, allocations: 69.12 kB / 0.9819 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.345e-05/0.2031, allocations: 77.11 kB / 0.982 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.2032, allocations: 3.953 kB / 0.982 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.339e-05/0.2032, allocations: 11.98 kB / 0.982 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.768e-06/0.2032, allocations: 0 / 0.982 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.2032, allocations: 0 / 0.982 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.23e-05/0.2032, allocations: 75.28 kB / 0.9821 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2032, allocations: 4.031 kB / 0.9821 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001583/0.2034, allocations: 0 / 0.9821 GB, free: 24.75 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.0002815/0.2037, allocations: 0.6007 MB / 0.9827 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001221/0.2038, allocations: 16.02 kB / 0.9827 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2038, allocations: 0 / 0.9827 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.969e-05/0.2039, allocations: 4 kB / 0.9827 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001203/0.204, allocations: 7.953 kB / 0.9827 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002853/0.2043, allocations: 112.4 kB / 0.9828 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.874e-05/0.2044, allocations: 0.6731 MB / 0.9835 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.69e-05/0.2044, allocations: 8.062 kB / 0.9835 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.243e-05/0.2045, allocations: 11.44 kB / 0.9835 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2045, allocations: 0 / 0.9835 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009308/0.2138, allocations: 0.7591 MB / 0.9842 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001412/0.214, allocations: 199.7 kB / 0.9844 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.476/1.69, allocations: 1.828 kB / 0.9844 GB, free: 22.37 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)