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.789/1.789, allocations: 289.9 MB / 297.4 MB, free: 6.414 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.001305/0.001306, allocations: 184.8 kB / 366.7 MB, free: 1.668 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.953/1.953, allocations: 205.2 MB / 0.626 GB, free: 7.199 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.0008727/0.0008726, allocations: 89.47 kB / 0.74 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.463e-05/5.47e-05, allocations: 8 kB / 0.8598 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7356/0.7357, allocations: 116.3 MB / 0.9734 GB, free: 76.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1937/0.9294, allocations: 137.5 MB / 1.108 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/0.9298, allocations: 72.64 kB / 1.108 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.001533/0.9313, allocations: 0.5375 MB / 1.108 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9314, allocations: 4.594 kB / 1.108 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.9314, allocations: 0.875 kB / 1.108 GB, free: 12.04 MB / 0.7136 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.0002852/0.9317, allocations: 316.9 kB / 1.109 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.9317, allocations: 15.22 kB / 1.109 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001896/0.9319, allocations: 17.53 kB / 1.109 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.988e-05/0.932, allocations: 163 kB / 1.109 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.9321, allocations: 0 / 1.109 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.9321, allocations: 1.062 kB / 1.109 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.883e-05/0.9321, allocations: 1.312 kB / 1.109 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.519e-05/0.9322, allocations: 42.23 kB / 1.109 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.9322, allocations: 0 / 1.109 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.9323, allocations: 1.094 kB / 1.109 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.9323, allocations: 0 / 1.109 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001213/0.9324, allocations: 123.2 kB / 1.109 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.688e-05/0.9324, allocations: 22.56 kB / 1.109 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.095e-05/0.9325, allocations: 13.38 kB / 1.109 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.9325, allocations: 1.406 kB / 1.109 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.9325, allocations: 34.62 kB / 1.109 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.9325, allocations: 1.656 kB / 1.109 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001283/0.9327, allocations: 33.64 kB / 1.109 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.9327, allocations: 51.41 kB / 1.109 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.169e-05/0.9327, allocations: 85.59 kB / 1.109 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.9328, allocations: 25.7 kB / 1.109 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.046e-05/0.9328, allocations: 80.7 kB / 1.109 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.9328, allocations: 2.438 kB / 1.109 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.9328, allocations: 0 / 1.109 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.933, allocations: 314.8 kB / 1.11 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.033e-05/0.933, allocations: 4 kB / 1.11 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.696e-06/0.933, allocations: 4 kB / 1.11 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.814e-05/0.933, allocations: 1.281 kB / 1.11 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.933, allocations: 0.6562 kB / 1.11 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.146e-05/0.9331, allocations: 39.08 kB / 1.11 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.9331, allocations: 7.953 kB / 1.11 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.9331, allocations: 0 / 1.11 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.9332, allocations: 0 / 1.11 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.115e-05/0.9332, allocations: 13.23 kB / 1.11 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.9333, allocations: 0 / 1.11 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.328e-05/0.9333, allocations: 6.5 kB / 1.11 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.9333, allocations: 4.562 kB / 1.11 GB, free: 10.48 MB / 0.7136 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 7.774e-05/0.9334, allocations: 104.2 kB / 1.11 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.181e-05/0.9335, allocations: 33.69 kB / 1.11 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.446e-06/0.9335, allocations: 3.953 kB / 1.11 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.762e-05/0.9335, allocations: 7.75 kB / 1.11 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.9335, allocations: 0 / 1.11 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.9335, allocations: 2.953 kB / 1.11 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.9336, allocations: 0.8125 kB / 1.11 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.359e-05/0.9336, allocations: 126.2 kB / 1.11 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.9337, allocations: 0.875 kB / 1.11 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.792e-05/0.9337, allocations: 4 kB / 1.11 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.9337, allocations: 0.875 kB / 1.11 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.9337, allocations: 3.953 kB / 1.11 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.9337, allocations: 0 / 1.11 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.9338, allocations: 1.844 kB / 1.11 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.166e-05/0.9338, allocations: 66.22 kB / 1.11 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.329e-05/0.9339, allocations: 77.11 kB / 1.11 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.9339, allocations: 0 / 1.11 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.119e-05/0.9339, allocations: 12.12 kB / 1.11 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.307e-05/0.934, allocations: 4 kB / 1.11 GB, free: 9.965 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.934, allocations: 3.984 kB / 1.11 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.345e-05/0.934, allocations: 75.28 kB / 1.11 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.01e-07/0.934, allocations: 0 / 1.11 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001807/0.9342, allocations: 0 / 1.11 GB, free: 9.887 MB / 0.7136 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.0003328/0.9345, allocations: 0.5995 MB / 1.111 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.234e-05/0.9346, allocations: 4 kB / 1.111 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.9346, allocations: 0 / 1.111 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.488e-06/0.9346, allocations: 4 kB / 1.111 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.936e-05/0.9348, allocations: 5.781 kB / 1.111 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002749/0.935, allocations: 77.66 kB / 1.111 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002084/0.9353, allocations: 0.6768 MB / 1.111 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.769e-05/0.9353, allocations: 4.125 kB / 1.111 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.976e-05/0.9353, allocations: 12.84 kB / 1.111 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.9353, allocations: 0 / 1.111 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0175/0.9528, allocations: 469.1 kB / 1.112 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002014/0.9531, allocations: 136.9 kB / 1.112 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.429/2.382, allocations: 3.562 kB / 1.112 GB, free: 7.805 MB / 0.7136 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)