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.495/1.495, allocations: 251.9 MB / 266.9 MB, free: 11.09 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.001064/0.001064, allocations: 174.6 kB / 326.5 MB, free: 2.281 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.844/1.844, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009296/0.0009296, allocations: 90.36 kB / 0.6821 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004928/0.000493, allocations: 14.94 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.32, allocations: 106.3 MB / 0.9002 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2022/0.5223, allocations: 131 MB / 1.028 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000338/0.5227, allocations: 83.94 kB / 1.028 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001676/0.5244, allocations: 0.5357 MB / 1.029 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.016e-06/0.5244, allocations: 0 / 1.029 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.5244, allocations: 0 / 1.029 GB, free: 12.11 MB / 0.6823 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.0003301/0.5248, allocations: 319.6 kB / 1.029 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.058e-05/0.5248, allocations: 8.031 kB / 1.029 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.172e-05/0.5249, allocations: 34.56 kB / 1.029 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002325/0.5251, allocations: 23.97 kB / 1.029 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.5253, allocations: 163 kB / 1.029 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.5253, allocations: 0 / 1.029 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.5253, allocations: 4 kB / 1.029 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.5255, allocations: 41.61 kB / 1.029 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.5255, allocations: 0 / 1.029 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.5256, allocations: 0 / 1.029 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.5256, allocations: 0 / 1.029 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.5257, allocations: 11.98 kB / 1.029 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000232/0.526, allocations: 157.5 kB / 1.029 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.964e-05/0.5261, allocations: 22.59 kB / 1.029 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.5261, allocations: 0 / 1.029 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.5262, allocations: 30.56 kB / 1.029 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 3.086e-06/0.5262, allocations: 0 / 1.029 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0002601/0.5264, allocations: 49.69 kB / 1.029 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.5265, allocations: 55.39 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.204e-05/0.5266, allocations: 85 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.5266, allocations: 25.7 kB / 1.03 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.058e-05/0.5266, allocations: 84.14 kB / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.5267, allocations: 0 / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-06/0.5267, allocations: 0 / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.5269, allocations: 315 kB / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.99e-05/0.5269, allocations: 4 kB / 1.03 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.706e-05/0.5269, allocations: 7.984 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.923e-05/0.527, allocations: 4 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.527, allocations: 0 / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001191/0.5271, allocations: 49.56 kB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.5272, allocations: 8 kB / 1.03 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.5272, allocations: 4.094 kB / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.5272, allocations: 0 / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.584e-05/0.5273, allocations: 4 kB / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.5273, allocations: 3.938 kB / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.179e-05/0.5273, allocations: 3.938 kB / 1.03 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.5273, allocations: 3.984 kB / 1.03 GB, free: 10.4 MB / 0.6823 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 7.814e-05/0.5274, allocations: 113.8 kB / 1.03 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.288e-06/0.5274, allocations: 3.953 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.421e-05/0.5275, allocations: 7.125 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.5275, allocations: 0 / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5275, allocations: 0 / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.5275, allocations: 0 / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.5276, allocations: 145.7 kB / 1.03 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.5276, allocations: 4 kB / 1.03 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.826e-05/0.5277, allocations: 0 / 1.03 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.5277, allocations: 3.953 kB / 1.03 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.5277, allocations: 4 kB / 1.03 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.5277, allocations: 3.984 kB / 1.03 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.5277, allocations: 4 kB / 1.03 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.5279, allocations: 69.05 kB / 1.03 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.562e-05/0.5279, allocations: 77.11 kB / 1.031 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.5279, allocations: 7.953 kB / 1.031 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.816e-05/0.528, allocations: 0 / 1.031 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.464e-05/0.528, allocations: 3.984 kB / 1.031 GB, free: 9.863 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.528, allocations: 12.02 kB / 1.031 GB, free: 9.852 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.158e-05/0.528, allocations: 75.28 kB / 1.031 GB, free: 9.777 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.11e-07/0.528, allocations: 0 / 1.031 GB, free: 9.777 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001742/0.5282, allocations: 4 kB / 1.031 GB, free: 9.773 MB / 0.6823 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.0004878/0.5287, allocations: 0.6014 MB / 1.031 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001278/0.5289, allocations: 11.98 kB / 1.031 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.5289, allocations: 0 / 1.031 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.995e-05/0.5289, allocations: 11.98 kB / 1.031 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.444e-05/0.529, allocations: 3.953 kB / 1.031 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003834/0.5294, allocations: 114.4 kB / 1.031 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.5297, allocations: 0.677 MB / 1.032 GB, free: 8.262 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.714e-05/0.5298, allocations: 0 / 1.032 GB, free: 8.262 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.967e-05/0.5298, allocations: 7.438 kB / 1.032 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of SimCode: time 4.94e-06/0.5298, allocations: 0 / 1.032 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01131/0.5411, allocations: 0.7541 MB / 1.033 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001986/0.5414, allocations: 190.2 kB / 1.033 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.522/2.063, allocations: 2 kB / 1.033 GB, free: 7.398 MB / 0.6823 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)