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.74/1.74, allocations: 285.6 MB / 293.1 MB, free: 10.19 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.001072/0.001072, allocations: 180.9 kB / 361.4 MB, free: 6.855 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.659/1.659, allocations: 205.2 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008935/0.0008936, allocations: 100.7 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.834e-05/2.853e-05, allocations: 8 kB / 0.8518 GB, free: 2.656 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7376/0.7376, allocations: 115.3 MB / 0.9645 GB, free: 78.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1947/0.9324, allocations: 136.5 MB / 1.098 GB, free: 3.332 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003247/0.9328, allocations: 78.06 kB / 1.098 GB, free: 3.258 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001724/0.9345, allocations: 0.535 MB / 1.098 GB, free: 2.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.843e-06/0.9346, allocations: 0 / 1.098 GB, free: 2.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.9346, allocations: 0.5938 kB / 1.098 GB, free: 2.73 MB / 0.698 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.0003401/0.9349, allocations: 315 kB / 1.099 GB, free: 2.383 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.082e-05/0.935, allocations: 12.53 kB / 1.099 GB, free: 2.371 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002191/0.9352, allocations: 17.5 kB / 1.099 GB, free: 2.355 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.9354, allocations: 163.7 kB / 1.099 GB, free: 2.156 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.9354, allocations: 4 kB / 1.099 GB, free: 2.152 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.9354, allocations: 2.844 kB / 1.099 GB, free: 2.152 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.4e-05/0.9355, allocations: 5.25 kB / 1.099 GB, free: 2.152 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.998e-05/0.9356, allocations: 37.69 kB / 1.099 GB, free: 2.109 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.9356, allocations: 0 / 1.099 GB, free: 2.109 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.9356, allocations: 0 / 1.099 GB, free: 2.109 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.9356, allocations: 0 / 1.099 GB, free: 2.109 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001641/0.9358, allocations: 123.3 kB / 1.099 GB, free: 1.953 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.222e-05/0.9359, allocations: 30.66 kB / 1.099 GB, free: 1.918 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.234e-05/0.9359, allocations: 8.844 kB / 1.099 GB, free: 1.906 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.936, allocations: 0 / 1.099 GB, free: 1.906 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.936, allocations: 33.66 kB / 1.099 GB, free: 1.867 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.573e-06/0.936, allocations: 0 / 1.099 GB, free: 1.867 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001512/0.9362, allocations: 35.17 kB / 1.099 GB, free: 1.828 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.9362, allocations: 55.41 kB / 1.099 GB, free: 1.762 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.441e-05/0.9363, allocations: 85 kB / 1.099 GB, free: 1.672 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.9363, allocations: 26.48 kB / 1.099 GB, free: 1.641 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.614e-05/0.9363, allocations: 80.73 kB / 1.099 GB, free: 1.559 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.9364, allocations: 0 / 1.099 GB, free: 1.559 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-06/0.9364, allocations: 0.6875 kB / 1.099 GB, free: 1.559 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.9365, allocations: 315.4 kB / 1.1 GB, free: 1.242 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.061e-05/0.9365, allocations: 0.5938 kB / 1.1 GB, free: 1.242 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.127e-06/0.9366, allocations: 4.594 kB / 1.1 GB, free: 1.238 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.177e-05/0.9366, allocations: 4.469 kB / 1.1 GB, free: 1.234 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.9366, allocations: 0 / 1.1 GB, free: 1.234 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.991e-05/0.9367, allocations: 38.3 kB / 1.1 GB, free: 1.191 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.9367, allocations: 9.453 kB / 1.1 GB, free: 1.184 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.9367, allocations: 0 / 1.1 GB, free: 1.184 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.9368, allocations: 0.875 kB / 1.1 GB, free: 1.184 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.26e-05/0.9368, allocations: 9.391 kB / 1.1 GB, free: 1.176 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.9369, allocations: 2.609 kB / 1.1 GB, free: 1.176 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.357e-05/0.9369, allocations: 0.625 kB / 1.1 GB, free: 1.176 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.9369, allocations: 4 kB / 1.1 GB, free: 1.176 MB / 0.698 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 () * 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 9.063e-05/0.937, allocations: 105.6 kB / 1.1 GB, free: 1.066 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.173e-05/0.9371, allocations: 42.16 kB / 1.1 GB, free: 1.02 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.067e-06/0.9371, allocations: 5.266 kB / 1.1 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.048e-05/0.9372, allocations: 6 kB / 1.1 GB, free: 1.012 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.9372, allocations: 0 / 1.1 GB, free: 1.012 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.9372, allocations: 4.875 kB / 1.1 GB, free: 1.008 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.9372, allocations: 0 / 1.1 GB, free: 1.008 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.9373, allocations: 127.3 kB / 1.1 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.9373, allocations: 2.188 kB / 1.1 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.314e-05/0.9374, allocations: 4 kB / 1.1 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.9374, allocations: 2.938 kB / 1.1 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.9374, allocations: 3.953 kB / 1.1 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.9374, allocations: 0 / 1.1 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.9374, allocations: 0 / 1.1 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.348e-05/0.9375, allocations: 61.28 kB / 1.1 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.689e-05/0.9376, allocations: 81.14 kB / 1.1 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.9376, allocations: 3.656 kB / 1.1 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.634e-05/0.9376, allocations: 7.938 kB / 1.1 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.405e-05/0.9376, allocations: 4 kB / 1.1 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.9376, allocations: 0 / 1.1 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.364e-05/0.9377, allocations: 75.28 kB / 1.1 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.402e-06/0.9377, allocations: 0 / 1.1 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001805/0.9379, allocations: 3.938 kB / 1.1 GB, free: 0.5742 MB / 0.698 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 () * 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.0004805/0.9384, allocations: 0.6004 MB / 1.101 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.212e-05/0.9385, allocations: 4 kB / 1.101 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.9385, allocations: 0 / 1.101 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.061e-05/0.9385, allocations: 4 kB / 1.101 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000102/0.9386, allocations: 6.219 kB / 1.101 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002918/0.9389, allocations: 81.75 kB / 1.101 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.9392, allocations: 0.6768 MB / 1.102 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.767e-05/0.9392, allocations: 0 / 1.102 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.804e-05/0.9393, allocations: 7.438 kB / 1.102 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of SimCode: time 6.11e-07/0.9393, allocations: 0 / 1.102 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02652/0.9658, allocations: 472 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002977/0.9662, allocations: 154.2 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.375/2.341, allocations: 1 kB / 1.102 GB, free: 14.48 MB / 0.7136 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)