Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.251/2.251, allocations: 248.7 MB / 256.2 MB, free: 7.094 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001508/0.001509, allocations: 182.4 kB / 315.4 MB, free: 4.016 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.553/2.553, allocations: 205.3 MB / 0.5662 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 91.73 kB / 0.6704 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.907e-05/2.921e-05, allocations: 8 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.1997, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8703/1.07, allocations: 131.6 MB / 1.013 GB, free: 7.195 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/1.07, allocations: 73.89 kB / 1.013 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01996/1.09, allocations: 3.994 MB / 1.017 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.683e-06/1.09, allocations: 0 / 1.017 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.84e-06/1.09, allocations: 0 / 1.017 GB, free: 3.832 MB / 0.6355 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.0003947/1.091, allocations: 345.2 kB / 1.017 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/1.091, allocations: 8.031 kB / 1.017 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.174e-05/1.091, allocations: 0 / 1.017 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/1.091, allocations: 170.5 kB / 1.017 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/1.091, allocations: 3.938 kB / 1.017 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.725e-06/1.091, allocations: 4 kB / 1.017 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.862e-05/1.091, allocations: 0 / 1.017 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.174e-05/1.091, allocations: 33.69 kB / 1.017 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/1.091, allocations: 3.938 kB / 1.017 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/1.091, allocations: 4 kB / 1.017 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/1.091, allocations: 0 / 1.017 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001545/1.091, allocations: 126.2 kB / 1.017 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.712e-05/1.092, allocations: 14.58 kB / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.191e-05/1.092, allocations: 8.953 kB / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006392/1.092, allocations: 429 kB / 1.018 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/1.092, allocations: 34.56 kB / 1.018 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.523e-06/1.092, allocations: 0 / 1.018 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001715/1.092, allocations: 36.12 kB / 1.018 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/1.093, allocations: 55.34 kB / 1.018 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.147e-05/1.093, allocations: 89.03 kB / 1.018 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/1.093, allocations: 25.7 kB / 1.018 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.167e-05/1.093, allocations: 80.14 kB / 1.018 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/1.093, allocations: 0 / 1.018 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-06/1.093, allocations: 0 / 1.018 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001442/1.093, allocations: 310.8 kB / 1.018 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.105e-05/1.093, allocations: 6.5 kB / 1.018 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.535e-06/1.093, allocations: 0 / 1.018 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.549e-05/1.093, allocations: 4.062 kB / 1.018 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/1.093, allocations: 0 / 1.018 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.674e-05/1.093, allocations: 38.31 kB / 1.018 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/1.093, allocations: 7.984 kB / 1.018 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/1.093, allocations: 0 / 1.018 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/1.093, allocations: 0 / 1.018 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.225e-05/1.093, allocations: 4 kB / 1.018 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/1.093, allocations: 0 / 1.018 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.954e-05/1.093, allocations: 0 / 1.018 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/1.093, allocations: 3.938 kB / 1.018 GB, free: 1.75 MB / 0.6355 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.994e-05/1.093, allocations: 105 kB / 1.018 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.276e-05/1.093, allocations: 45.53 kB / 1.019 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/1.093, allocations: 0 / 1.019 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/1.094, allocations: 44.08 kB / 1.019 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/1.094, allocations: 0 / 1.019 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.094, allocations: 0 / 1.019 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/1.094, allocations: 4 kB / 1.019 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/1.094, allocations: 122.2 kB / 1.019 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/1.094, allocations: 12 kB / 1.019 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.796e-05/1.094, allocations: 0 / 1.019 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/1.094, allocations: 0 / 1.019 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/1.094, allocations: 7.938 kB / 1.019 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/1.094, allocations: 0 / 1.019 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/1.094, allocations: 4 kB / 1.019 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001093/1.094, allocations: 51.77 kB / 1.019 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.979e-05/1.094, allocations: 93.08 kB / 1.019 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/1.094, allocations: 0 / 1.019 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.358e-06/1.094, allocations: 0 / 1.019 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.605e-05/1.094, allocations: 0 / 1.019 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/1.094, allocations: 0 / 1.019 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.86e-05/1.094, allocations: 75.28 kB / 1.019 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.61e-07/1.094, allocations: 0 / 1.019 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002801/1.094, allocations: 19.94 kB / 1.019 GB, free: 1.086 MB / 0.6355 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.0005409/1.095, allocations: 0.6145 MB / 1.02 GB, free: 460 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.057e-05/1.095, allocations: 0 / 1.02 GB, free: 460 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.095, allocations: 4 kB / 1.02 GB, free: 456 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.975e-06/1.095, allocations: 0 / 1.02 GB, free: 456 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001125/1.095, allocations: 0 / 1.02 GB, free: 456 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003092/1.096, allocations: 85.8 kB / 1.02 GB, free: 332 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/1.096, allocations: 0.6767 MB / 1.02 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.953e-05/1.096, allocations: 5.094 kB / 1.02 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.976e-05/1.096, allocations: 7.438 kB / 1.02 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of SimCode: time 9.12e-07/1.096, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03217/1.128, allocations: 0.6729 MB / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002918/1.129, allocations: 159.9 kB / 1.021 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.181/3.309, allocations: 1.422 kB / 1.021 GB, free: 14.75 MB / 0.6511 GB