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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.348/1.348, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.00101/0.00101, allocations: 171.2 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205.4 MB / 0.5775 GB, free: 20.57 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.0008153/0.0008153, allocations: 86 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003422/0.0003424, allocations: 9.812 kB / 0.7963 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.1971, allocations: 106.3 MB / 0.9002 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0005704/0.1977, allocations: 329.2 kB / 0.9005 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001793/0.1979, allocations: 44.66 kB / 0.9005 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.775e-06/0.1979, allocations: 3.938 kB / 0.9005 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.646e-06/0.1979, allocations: 0 / 0.9005 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.897e-06/0.198, allocations: 4 kB / 0.9005 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001748/0.1981, allocations: 3.984 kB / 0.9005 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.05e-05/0.1982, allocations: 4 kB / 0.9005 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.621e-05/0.1982, allocations: 0 / 0.9005 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.446e-05/0.1982, allocations: 4 kB / 0.9005 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.322e-05/0.1983, allocations: 3.984 kB / 0.9005 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.145e-06/0.1983, allocations: 4 kB / 0.9005 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.388e-05/0.1984, allocations: 23.97 kB / 0.9006 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.991e-06/0.1984, allocations: 0 / 0.9006 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.52e-05/0.1984, allocations: 25.7 kB / 0.9006 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.131e-05/0.1985, allocations: 4 kB / 0.9006 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.1985, allocations: 0 / 0.9006 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.315e-06/0.1985, allocations: 0 / 0.9006 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.1985, allocations: 0 / 0.9006 GB, free: 63.92 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.0001664/0.1987, allocations: 311.4 kB / 0.9009 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.1987, allocations: 8.031 kB / 0.9009 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.437e-05/0.1987, allocations: 38.5 kB / 0.9009 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002305/0.199, allocations: 19.97 kB / 0.901 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.292e-05/0.199, allocations: 167 kB / 0.9011 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.893e-06/0.199, allocations: 0 / 0.9011 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.1991, allocations: 7.969 kB / 0.9011 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.1992, allocations: 33.69 kB / 0.9012 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-06/0.1992, allocations: 0 / 0.9012 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.1992, allocations: 4 kB / 0.9012 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.1992, allocations: 3.938 kB / 0.9012 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.032e-05/0.1993, allocations: 11.98 kB / 0.9012 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.667e-05/0.1994, allocations: 145.6 kB / 0.9013 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.535e-05/0.1995, allocations: 30.53 kB / 0.9013 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.1995, allocations: 0 / 0.9013 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.468e-05/0.1995, allocations: 38.56 kB / 0.9014 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/0.1995, allocations: 3.938 kB / 0.9014 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0002011/0.1997, allocations: 45.73 kB / 0.9014 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.789e-05/0.1998, allocations: 51.41 kB / 0.9015 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.445e-05/0.1998, allocations: 89.86 kB / 0.9016 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.171e-06/0.1998, allocations: 29.64 kB / 0.9016 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.487e-06/0.1998, allocations: 84.14 kB / 0.9017 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.1998, allocations: 8.125 kB / 0.9017 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/0.1998, allocations: 0 / 0.9017 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.987e-05/0.1999, allocations: 312.1 kB / 0.902 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.249e-05/0.1999, allocations: 4 kB / 0.902 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.635e-05/0.2, allocations: 3.984 kB / 0.902 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.321e-05/0.2, allocations: 4 kB / 0.902 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2001, allocations: 3.953 kB / 0.902 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000137/0.2002, allocations: 49.73 kB / 0.902 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.2002, allocations: 6.969 kB / 0.902 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.2002, allocations: 0 / 0.902 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.2002, allocations: 0 / 0.902 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.498e-05/0.2003, allocations: 4 kB / 0.902 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.2003, allocations: 0 / 0.902 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.384e-05/0.2004, allocations: 3.984 kB / 0.902 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-06/0.2004, allocations: 4 kB / 0.9021 GB, free: 62.21 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.231e-05/0.2004, allocations: 117.8 kB / 0.9022 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-06/0.2004, allocations: 3.953 kB / 0.9022 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.681e-05/0.2005, allocations: 3.125 kB / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.2005, allocations: 0 / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2005, allocations: 0 / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2005, allocations: 4 kB / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.307e-05/0.2005, allocations: 145.7 kB / 0.9023 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2006, allocations: 0 / 0.9023 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.069e-05/0.2006, allocations: 7.953 kB / 0.9023 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2006, allocations: 7.938 kB / 0.9023 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.2006, allocations: 0 / 0.9023 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2006, allocations: 0 / 0.9023 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2006, allocations: 0 / 0.9023 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.2007, allocations: 69.11 kB / 0.9024 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.265e-05/0.2008, allocations: 77.11 kB / 0.9025 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.2008, allocations: 3.953 kB / 0.9025 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.025e-05/0.2008, allocations: 4.031 kB / 0.9025 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.635e-05/0.2008, allocations: 3.984 kB / 0.9025 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.2009, allocations: 7.938 kB / 0.9025 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.09e-05/0.2009, allocations: 75.28 kB / 0.9026 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2009, allocations: 0 / 0.9026 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001841/0.2011, allocations: 3.938 kB / 0.9026 GB, free: 61.59 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 (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.0002855/0.2014, allocations: 0.5969 MB / 0.9031 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001232/0.2015, allocations: 15.97 kB / 0.9032 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2015, allocations: 0 / 0.9032 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.936e-05/0.2015, allocations: 7.938 kB / 0.9032 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.876e-05/0.2016, allocations: 8.109 kB / 0.9032 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002882/0.2019, allocations: 107.3 kB / 0.9033 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.2021, allocations: 0.677 MB / 0.9039 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.849e-05/0.2021, allocations: 3.984 kB / 0.9039 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.41e-05/0.2021, allocations: 15.38 kB / 0.904 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.2021, allocations: 4 kB / 0.904 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01131/0.2135, allocations: 0.7471 MB / 0.9047 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001549/0.2137, allocations: 194.5 kB / 0.9049 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.451/1.665, allocations: 3.938 kB / 0.9049 GB, free: 59.21 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegStep.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)