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.579/1.579, allocations: 289.7 MB / 302.2 MB, free: 2.191 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.001259/0.001259, allocations: 179.5 kB / 371.6 MB, free: 3.367 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.556/1.556, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.0009172/0.0009175, allocations: 92.05 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.754e-05/3.758e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3039, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.012/1.316, allocations: 138.2 MB / 1.115 GB, free: 45.32 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/1.316, allocations: 74.48 kB / 1.115 GB, free: 45.29 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.001323/1.317, allocations: 0.5336 MB / 1.115 GB, free: 44.85 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.294e-06/1.317, allocations: 0 / 1.115 GB, free: 44.85 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.501e-06/1.317, allocations: 0 / 1.115 GB, free: 44.85 MB / 0.7448 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.0002271/1.318, allocations: 316.4 kB / 1.116 GB, free: 44.5 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/1.318, allocations: 12.66 kB / 1.116 GB, free: 44.49 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.181e-05/1.318, allocations: 35.38 kB / 1.116 GB, free: 44.45 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001767/1.318, allocations: 17.23 kB / 1.116 GB, free: 44.44 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.447e-05/1.318, allocations: 159.1 kB / 1.116 GB, free: 44.25 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/1.318, allocations: 3.797 kB / 1.116 GB, free: 44.25 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/1.318, allocations: 1.281 kB / 1.116 GB, free: 44.25 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/1.318, allocations: 37.61 kB / 1.116 GB, free: 44.21 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/1.318, allocations: 0 / 1.116 GB, free: 44.21 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/1.318, allocations: 0.6562 kB / 1.116 GB, free: 44.21 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/1.318, allocations: 0 / 1.116 GB, free: 44.21 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.744e-05/1.318, allocations: 0.6562 kB / 1.116 GB, free: 44.21 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001321/1.318, allocations: 154.6 kB / 1.116 GB, free: 44.02 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.402e-05/1.318, allocations: 24.39 kB / 1.116 GB, free: 43.99 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.14e-05/1.318, allocations: 8.953 kB / 1.116 GB, free: 43.98 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/1.318, allocations: 0 / 1.116 GB, free: 43.98 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/1.319, allocations: 30.56 kB / 1.116 GB, free: 43.94 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/1.319, allocations: 0 / 1.116 GB, free: 43.94 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001276/1.319, allocations: 37.17 kB / 1.116 GB, free: 43.9 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/1.319, allocations: 51.41 kB / 1.116 GB, free: 43.84 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.515e-05/1.319, allocations: 85 kB / 1.116 GB, free: 43.75 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/1.319, allocations: 33.33 kB / 1.116 GB, free: 43.71 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 1.865e-05/1.319, allocations: 87.53 kB / 1.116 GB, free: 43.62 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/1.319, allocations: 2.031 kB / 1.116 GB, free: 43.62 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/1.319, allocations: 0 / 1.116 GB, free: 43.62 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.703e-05/1.319, allocations: 310.8 kB / 1.117 GB, free: 43.31 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.226e-05/1.319, allocations: 4.031 kB / 1.117 GB, free: 43.31 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.975e-06/1.319, allocations: 4 kB / 1.117 GB, free: 43.3 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.917e-05/1.319, allocations: 0 / 1.117 GB, free: 43.3 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/1.319, allocations: 1.5 kB / 1.117 GB, free: 43.3 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.246e-05/1.319, allocations: 40.08 kB / 1.117 GB, free: 43.27 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/1.319, allocations: 8 kB / 1.117 GB, free: 43.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/1.319, allocations: 0 / 1.117 GB, free: 43.26 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/1.319, allocations: 0.5625 kB / 1.117 GB, free: 43.26 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.842e-05/1.319, allocations: 7.422 kB / 1.117 GB, free: 43.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/1.319, allocations: 4.094 kB / 1.117 GB, free: 43.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.3e-05/1.319, allocations: 0.5 kB / 1.117 GB, free: 43.25 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/1.319, allocations: 0 / 1.117 GB, free: 43.25 MB / 0.7448 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 5.906e-05/1.319, allocations: 108.9 kB / 1.117 GB, free: 43.14 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-06/1.319, allocations: 3.953 kB / 1.117 GB, free: 43.13 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.565e-05/1.319, allocations: 6.641 kB / 1.117 GB, free: 43.13 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/1.319, allocations: 0.5625 kB / 1.117 GB, free: 43.13 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.319, allocations: 0.5 kB / 1.117 GB, free: 43.13 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/1.319, allocations: 4 kB / 1.117 GB, free: 43.12 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.631e-05/1.319, allocations: 152.5 kB / 1.117 GB, free: 42.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/1.319, allocations: 1.906 kB / 1.117 GB, free: 42.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.618e-05/1.32, allocations: 3.422 kB / 1.117 GB, free: 42.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/1.32, allocations: 3.953 kB / 1.117 GB, free: 42.93 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/1.32, allocations: 4.938 kB / 1.117 GB, free: 42.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/1.32, allocations: 0 / 1.117 GB, free: 42.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/1.32, allocations: 1.312 kB / 1.117 GB, free: 42.92 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.132e-05/1.32, allocations: 60.16 kB / 1.117 GB, free: 42.85 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.699e-05/1.32, allocations: 81.11 kB / 1.117 GB, free: 42.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/1.32, allocations: 6.797 kB / 1.117 GB, free: 42.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.277e-05/1.32, allocations: 3.422 kB / 1.117 GB, free: 42.75 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.223e-05/1.32, allocations: 0 / 1.117 GB, free: 42.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/1.32, allocations: 7.938 kB / 1.117 GB, free: 42.74 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.045e-05/1.32, allocations: 75.28 kB / 1.117 GB, free: 42.67 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/1.32, allocations: 0.9375 kB / 1.117 GB, free: 42.67 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001791/1.32, allocations: 0 / 1.117 GB, free: 42.67 MB / 0.7448 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.0002875/1.32, allocations: 0.5961 MB / 1.118 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.665e-05/1.32, allocations: 4 kB / 1.118 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/1.32, allocations: 0 / 1.118 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.084e-05/1.32, allocations: 7.938 kB / 1.118 GB, free: 42.04 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.835e-05/1.32, allocations: 12.84 kB / 1.118 GB, free: 42.04 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002693/1.321, allocations: 70.66 kB / 1.118 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/1.321, allocations: 0.6764 MB / 1.119 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.856e-05/1.321, allocations: 1.875 kB / 1.119 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.074e-05/1.321, allocations: 15.44 kB / 1.119 GB, free: 41.22 MB / 0.7448 GB Notification: Performance of SimCode: time 6.52e-07/1.321, allocations: 2.953 kB / 1.119 GB, free: 41.22 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01137/1.332, allocations: 0.7454 MB / 1.119 GB, free: 40.84 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/1.333, allocations: 160 kB / 1.12 GB, free: 40.62 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.809/3.142, allocations: 0 / 1.12 GB, free: 40.62 MB / 0.7448 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)