Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.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.RegNonZeroPower,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",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.764/1.764, allocations: 288.2 MB / 303.2 MB, free: 8.184 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.001128/0.001128, allocations: 181.8 kB / 371.8 MB, free: 10.29 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.807/1.807, allocations: 205.4 MB / 0.6305 GB, free: 10.05 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009232/0.0009232, allocations: 86.92 kB / 0.7439 GB, free: 5.984 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005577/0.0005581, allocations: 13.5 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3043, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.011/1.316, allocations: 137.9 MB / 1.114 GB, free: 16.35 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/1.316, allocations: 78.86 kB / 1.114 GB, free: 16.35 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01123/1.327, allocations: 4.002 MB / 1.118 GB, free: 31.84 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.325e-06/1.327, allocations: 0 / 1.118 GB, free: 31.84 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.733e-06/1.327, allocations: 7.938 kB / 1.118 GB, free: 31.83 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.000402/1.328, allocations: 352.2 kB / 1.118 GB, free: 31.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/1.328, allocations: 11.67 kB / 1.118 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.088e-05/1.328, allocations: 34.38 kB / 1.119 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.573e-05/1.328, allocations: 0 / 1.119 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/1.328, allocations: 169.6 kB / 1.119 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/1.328, allocations: 0 / 1.119 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/1.328, allocations: 0 / 1.119 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/1.328, allocations: 36.83 kB / 1.119 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/1.328, allocations: 0 / 1.119 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/1.328, allocations: 0 / 1.119 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/1.328, allocations: 0 / 1.119 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.203e-05/1.328, allocations: 0 / 1.119 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001568/1.328, allocations: 152.4 kB / 1.119 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.334e-05/1.328, allocations: 21.64 kB / 1.119 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004999/1.329, allocations: 428.3 kB / 1.119 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/1.329, allocations: 34.56 kB / 1.119 GB, free: 30.44 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/1.329, allocations: 0 / 1.119 GB, free: 30.44 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001889/1.329, allocations: 33.36 kB / 1.119 GB, free: 30.41 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/1.329, allocations: 53.94 kB / 1.119 GB, free: 30.35 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.616e-05/1.329, allocations: 85 kB / 1.119 GB, free: 30.26 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/1.329, allocations: 29.83 kB / 1.12 GB, free: 30.22 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.138e-05/1.329, allocations: 83.95 kB / 1.12 GB, free: 30.14 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/1.329, allocations: 4.719 kB / 1.12 GB, free: 30.14 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.934e-06/1.329, allocations: 0 / 1.12 GB, free: 30.14 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001227/1.33, allocations: 314.7 kB / 1.12 GB, free: 29.82 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.016e-06/1.33, allocations: 0 / 1.12 GB, free: 29.82 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.67e-06/1.33, allocations: 0 / 1.12 GB, free: 29.82 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.17e-05/1.33, allocations: 3.875 kB / 1.12 GB, free: 29.82 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/1.33, allocations: 4.062 kB / 1.12 GB, free: 29.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.874e-05/1.33, allocations: 35.73 kB / 1.12 GB, free: 29.79 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/1.33, allocations: 3.812 kB / 1.12 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/1.33, allocations: 3.875 kB / 1.12 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/1.33, allocations: 3.938 kB / 1.12 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.618e-05/1.33, allocations: 2.906 kB / 1.12 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/1.33, allocations: 0 / 1.12 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.047e-05/1.33, allocations: 0 / 1.12 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/1.33, allocations: 3.875 kB / 1.12 GB, free: 29.78 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 () * 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 8.286e-05/1.33, allocations: 113.5 kB / 1.12 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.525e-05/1.33, allocations: 7.891 kB / 1.12 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.826e-05/1.33, allocations: 39.06 kB / 1.12 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/1.33, allocations: 0 / 1.12 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/1.33, allocations: 7.812 kB / 1.12 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/1.33, allocations: 0 / 1.12 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.96e-05/1.33, allocations: 148.2 kB / 1.12 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/1.33, allocations: 0 / 1.12 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.543e-05/1.33, allocations: 3.812 kB / 1.12 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/1.33, allocations: 4.031 kB / 1.12 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/1.33, allocations: 3.953 kB / 1.12 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/1.33, allocations: 3.984 kB / 1.12 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.614e-06/1.33, allocations: 0 / 1.12 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.751e-05/1.33, allocations: 63.98 kB / 1.12 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.507e-05/1.33, allocations: 77.11 kB / 1.12 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/1.33, allocations: 0 / 1.12 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.456e-06/1.33, allocations: 3.984 kB / 1.12 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.245e-05/1.33, allocations: 4 kB / 1.12 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/1.33, allocations: 10.78 kB / 1.12 GB, free: 29.25 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.427e-05/1.331, allocations: 75.28 kB / 1.121 GB, free: 29.17 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.71e-07/1.331, allocations: 0 / 1.121 GB, free: 29.17 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002294/1.331, allocations: 15.69 kB / 1.121 GB, free: 29.16 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 () * 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.000465/1.331, allocations: 0.6099 MB / 1.121 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.156e-05/1.331, allocations: 3.844 kB / 1.121 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.331, allocations: 0 / 1.121 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.244e-06/1.331, allocations: 3 kB / 1.121 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.764e-05/1.331, allocations: 8.547 kB / 1.121 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003041/1.332, allocations: 118.1 kB / 1.121 GB, free: 28.42 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/1.332, allocations: 0.6717 MB / 1.122 GB, free: 27.73 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.282e-05/1.332, allocations: 7.875 kB / 1.122 GB, free: 27.72 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.366e-05/1.332, allocations: 7.438 kB / 1.122 GB, free: 27.71 MB / 0.698 GB Notification: Performance of SimCode: time 7.81e-07/1.332, allocations: 0 / 1.122 GB, free: 27.71 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01303/1.345, allocations: 0.9612 MB / 1.123 GB, free: 27.59 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000161/1.345, allocations: 207.5 kB / 1.123 GB, free: 27.35 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.513/2.859, allocations: 0 / 1.123 GB, free: 27.35 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)