Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002006/0.002006, allocations: 188 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.1 MB / 222.5 MB, free: 4.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.668/1.668, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 72.66 kB / 0.6718 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2127, allocations: 114.6 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001821/0.2146, allocations: 0.582 MB / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006648/0.2153, allocations: 318.8 kB / 0.7845 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.867e-05/0.2153, allocations: 0 / 0.7845 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.829e-05/0.2153, allocations: 0 / 0.7845 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.051e-06/0.2154, allocations: 7.938 kB / 0.7845 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004501/0.2158, allocations: 110.5 kB / 0.7846 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.584e-05/0.2159, allocations: 8 kB / 0.7846 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.873e-05/0.2159, allocations: 4 kB / 0.7846 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.431e-05/0.2159, allocations: 0 / 0.7846 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.231e-05/0.216, allocations: 0 / 0.7846 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.216, allocations: 0 / 0.7846 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004012/0.2164, allocations: 275.6 kB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.266e-05/0.2164, allocations: 7.938 kB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.667e-05/0.2164, allocations: 0 / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002305/0.2167, allocations: 83.84 kB / 0.785 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.2167, allocations: 4 kB / 0.785 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.963e-06/0.2167, allocations: 3.938 kB / 0.785 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.2167, allocations: 0 / 0.785 GB, free: 11.86 MB / 0.6075 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.0003424/0.2171, allocations: 331.6 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.2171, allocations: 12.03 kB / 0.7853 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.078e-05/0.2172, allocations: 30.75 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.24e-05/0.2172, allocations: 4.938 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.2173, allocations: 160.4 kB / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.2173, allocations: 384 / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-06/0.2174, allocations: 384 / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.2176, allocations: 38.19 kB / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.2176, allocations: 3.938 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.2176, allocations: 0 / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.2176, allocations: 0 / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.581e-05/0.2176, allocations: 8 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.2178, allocations: 145.7 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.959e-05/0.2178, allocations: 14.58 kB / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.467e-05/0.2179, allocations: 8.953 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005203/0.2184, allocations: 433.4 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.2184, allocations: 38.55 kB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.2184, allocations: 0 / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001578/0.2186, allocations: 37.64 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.2186, allocations: 51.41 kB / 0.7863 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.926e-05/0.2187, allocations: 89.86 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.2187, allocations: 25.7 kB / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.751e-05/0.2187, allocations: 84.14 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.2188, allocations: 4.188 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.467e-05/0.2188, allocations: 13.84 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.2189, allocations: 314.8 kB / 0.7868 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.266e-05/0.219, allocations: 8 kB / 0.7868 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.093e-06/0.219, allocations: 3.938 kB / 0.7868 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.59e-05/0.219, allocations: 8.859 kB / 0.7868 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.219, allocations: 0 / 0.7868 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.383e-05/0.2191, allocations: 29.7 kB / 0.7868 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.2191, allocations: 4.094 kB / 0.7868 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.2191, allocations: 11.94 kB / 0.7868 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.2191, allocations: 0 / 0.7868 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.179e-05/0.2192, allocations: 0 / 0.7868 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.2192, allocations: 0 / 0.7868 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.307e-05/0.2192, allocations: 4 kB / 0.7868 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.2192, allocations: 3.984 kB / 0.7868 GB, free: 9.645 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.504e-05/0.2193, allocations: 113.8 kB / 0.7869 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.903e-05/0.2193, allocations: 3.938 kB / 0.7869 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.833e-05/0.2194, allocations: 48.7 kB / 0.787 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2194, allocations: 0 / 0.787 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.2195, allocations: 4 kB / 0.787 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.2195, allocations: 0 / 0.787 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.914e-05/0.2196, allocations: 145.7 kB / 0.7871 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2196, allocations: 0 / 0.7871 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.124e-05/0.2196, allocations: 0 / 0.7871 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2196, allocations: 4 kB / 0.7871 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.2196, allocations: 3.938 kB / 0.7871 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.2196, allocations: 0 / 0.7871 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.2196, allocations: 4.031 kB / 0.7871 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.841e-05/0.2197, allocations: 69 kB / 0.7872 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.18e-05/0.2197, allocations: 77.11 kB / 0.7873 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.2198, allocations: 3.938 kB / 0.7873 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.762e-06/0.2198, allocations: 0 / 0.7873 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.109e-05/0.2198, allocations: 0 / 0.7873 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.2198, allocations: 3.984 kB / 0.7873 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.293e-05/0.2198, allocations: 79.31 kB / 0.7874 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2198, allocations: 0 / 0.7874 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001927/0.22, allocations: 15.98 kB / 0.7874 GB, free: 8.973 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004192/0.2205, allocations: 0.6085 MB / 0.788 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001009/0.2206, allocations: 12.03 kB / 0.788 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2206, allocations: 0 / 0.788 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.183e-06/0.2206, allocations: 4 kB / 0.788 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.2207, allocations: 3.938 kB / 0.788 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002831/0.221, allocations: 117.5 kB / 0.7881 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.2213, allocations: 0.669 MB / 0.7888 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.813e-05/0.2213, allocations: 4 kB / 0.7888 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.25e-05/0.2214, allocations: 11.56 kB / 0.7888 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2214, allocations: 4 kB / 0.7888 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01614/0.2375, allocations: 1.173 MB / 0.7899 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.297/7.535, allocations: 3.938 kB / 0.7899 GB, free: 6.355 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)