Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.752/1.752, allocations: 292.6 MB / 307.5 MB, free: 5.254 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.001029/0.001029, allocations: 189 kB / 377.1 MB, free: 1.559 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.711/1.711, allocations: 205.4 MB / 0.6366 GB, free: 8.543 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.0008824/0.0008823, allocations: 93.48 kB / 0.7509 GB, free: 63.24 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003901/0.0003901, allocations: 12 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3085, allocations: 116.3 MB / 0.9884 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8813/1.19, allocations: 138.2 MB / 1.123 GB, free: 36.05 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/1.19, allocations: 80.3 kB / 1.124 GB, free: 35.99 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.001352/1.192, allocations: 0.5341 MB / 1.124 GB, free: 35.53 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.677e-06/1.192, allocations: 4 kB / 1.124 GB, free: 35.52 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.515e-05/1.192, allocations: 0 / 1.124 GB, free: 35.52 MB / 0.7292 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.0002545/1.192, allocations: 322.2 kB / 1.124 GB, free: 35.17 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/1.192, allocations: 16.08 kB / 1.124 GB, free: 35.16 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.273e-05/1.192, allocations: 30.56 kB / 1.124 GB, free: 35.12 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002191/1.192, allocations: 21.2 kB / 1.124 GB, free: 35.11 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.27e-05/1.192, allocations: 161.1 kB / 1.125 GB, free: 34.91 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/1.192, allocations: 0 / 1.125 GB, free: 34.91 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/1.192, allocations: 3.438 kB / 1.125 GB, free: 34.91 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/1.193, allocations: 36.64 kB / 1.125 GB, free: 34.88 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/1.193, allocations: 3.938 kB / 1.125 GB, free: 34.88 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/1.193, allocations: 3.172 kB / 1.125 GB, free: 34.88 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/1.193, allocations: 0.6562 kB / 1.125 GB, free: 34.88 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.854e-05/1.193, allocations: 11.42 kB / 1.125 GB, free: 34.87 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001272/1.193, allocations: 151.6 kB / 1.125 GB, free: 34.68 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.769e-05/1.193, allocations: 19.64 kB / 1.125 GB, free: 34.65 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/1.193, allocations: 0 / 1.125 GB, free: 34.65 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/1.193, allocations: 34.31 kB / 1.125 GB, free: 34.61 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 2.184e-06/1.193, allocations: 0 / 1.125 GB, free: 34.61 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0002323/1.193, allocations: 56.94 kB / 1.125 GB, free: 34.56 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/1.193, allocations: 51.41 kB / 1.125 GB, free: 34.5 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.401e-05/1.193, allocations: 85 kB / 1.125 GB, free: 34.41 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/1.193, allocations: 29.7 kB / 1.125 GB, free: 34.37 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.51e-05/1.193, allocations: 84.27 kB / 1.125 GB, free: 34.29 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/1.193, allocations: 1.562 kB / 1.125 GB, free: 34.29 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/1.193, allocations: 0 / 1.125 GB, free: 34.29 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.847e-05/1.193, allocations: 316.3 kB / 1.125 GB, free: 33.97 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.995e-05/1.193, allocations: 4 kB / 1.125 GB, free: 33.97 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.083e-05/1.193, allocations: 8.266 kB / 1.125 GB, free: 33.96 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.349e-05/1.194, allocations: 0 / 1.125 GB, free: 33.96 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.194, allocations: 4.062 kB / 1.125 GB, free: 33.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001017/1.194, allocations: 56.53 kB / 1.125 GB, free: 33.91 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/1.194, allocations: 4 kB / 1.125 GB, free: 33.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/1.194, allocations: 0 / 1.125 GB, free: 33.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/1.194, allocations: 0.8438 kB / 1.125 GB, free: 33.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.717e-05/1.194, allocations: 4 kB / 1.125 GB, free: 33.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/1.194, allocations: 3.328 kB / 1.125 GB, free: 33.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.308e-05/1.194, allocations: 5.5 kB / 1.125 GB, free: 33.89 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/1.194, allocations: 4.031 kB / 1.125 GB, free: 33.89 MB / 0.7292 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 5.355e-05/1.194, allocations: 105.8 kB / 1.126 GB, free: 33.78 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.514e-06/1.194, allocations: 3.953 kB / 1.126 GB, free: 33.77 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.302e-05/1.194, allocations: 3.125 kB / 1.126 GB, free: 33.77 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/1.194, allocations: 0 / 1.126 GB, free: 33.77 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/1.194, allocations: 10.23 kB / 1.126 GB, free: 33.77 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/1.194, allocations: 0.9844 kB / 1.126 GB, free: 33.77 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.489e-05/1.194, allocations: 145.6 kB / 1.126 GB, free: 33.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/1.194, allocations: 0 / 1.126 GB, free: 33.58 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.073e-05/1.194, allocations: 12.5 kB / 1.126 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/1.194, allocations: 0.6875 kB / 1.126 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/1.194, allocations: 3.953 kB / 1.126 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/1.194, allocations: 0 / 1.126 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/1.194, allocations: 0 / 1.126 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/1.194, allocations: 72.06 kB / 1.126 GB, free: 33.48 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.645e-05/1.194, allocations: 81.14 kB / 1.126 GB, free: 33.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/1.194, allocations: 0.5 kB / 1.126 GB, free: 33.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.882e-05/1.194, allocations: 3.953 kB / 1.126 GB, free: 33.38 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/1.194, allocations: 4 kB / 1.126 GB, free: 33.38 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.463e-06/1.194, allocations: 4.219 kB / 1.126 GB, free: 33.38 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.183e-05/1.194, allocations: 75.84 kB / 1.126 GB, free: 33.3 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/1.194, allocations: 0 / 1.126 GB, free: 33.3 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00017/1.195, allocations: 4 kB / 1.126 GB, free: 33.3 MB / 0.7292 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.0003465/1.195, allocations: 0.6064 MB / 1.127 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001251/1.195, allocations: 12.72 kB / 1.127 GB, free: 32.67 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.195, allocations: 0 / 1.127 GB, free: 32.67 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.732e-05/1.195, allocations: 8.094 kB / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001002/1.195, allocations: 5.844 kB / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003326/1.196, allocations: 116.2 kB / 1.127 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/1.196, allocations: 0.6699 MB / 1.127 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.357e-05/1.196, allocations: 12.75 kB / 1.127 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.026e-05/1.196, allocations: 7.438 kB / 1.127 GB, free: 31.8 MB / 0.7292 GB Notification: Performance of SimCode: time 3.41e-07/1.196, allocations: 0 / 1.127 GB, free: 31.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01405/1.21, allocations: 0.7451 MB / 1.128 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002614/1.21, allocations: 171.4 kB / 1.128 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/2.8, allocations: 0.9844 kB / 1.128 GB, free: 31.2 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegStep.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)