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.743/2.743, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001439/0.001439, allocations: 180.4 kB / 325.5 MB, free: 2.883 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.315/2.315, allocations: 205.4 MB / 0.5764 GB, free: 21.15 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001134/0.001134, allocations: 96.16 kB / 0.6809 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005291/0.0005291, allocations: 14.25 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2354, allocations: 106.3 MB / 0.8988 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2458/0.4812, allocations: 131.4 MB / 1.027 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003527/0.4817, allocations: 71.95 kB / 1.027 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02023/0.5019, allocations: 4.02 MB / 1.031 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.736e-06/0.502, allocations: 0 / 1.031 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.502, allocations: 0 / 1.031 GB, free: 10.22 MB / 0.6823 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.00043/0.5024, allocations: 343.4 kB / 1.031 GB, free: 9.836 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/0.5025, allocations: 8.031 kB / 1.031 GB, free: 9.828 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.31e-05/0.5025, allocations: 30.56 kB / 1.032 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.244e-05/0.5026, allocations: 3.938 kB / 1.032 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.5027, allocations: 167 kB / 1.032 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.5028, allocations: 0 / 1.032 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.5028, allocations: 8 kB / 1.032 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.5029, allocations: 25.7 kB / 1.032 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.5029, allocations: 0 / 1.032 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.5029, allocations: 0 / 1.032 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.503, allocations: 4 kB / 1.032 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.587e-05/0.503, allocations: 3.984 kB / 1.032 GB, free: 9.535 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001708/0.5032, allocations: 145.6 kB / 1.032 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.275e-05/0.5032, allocations: 26.48 kB / 1.032 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007105/0.504, allocations: 425.6 kB / 1.032 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.504, allocations: 42.5 kB / 1.032 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.653e-06/0.504, allocations: 0 / 1.032 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001861/0.5042, allocations: 37.69 kB / 1.032 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.5043, allocations: 55.53 kB / 1.032 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.059e-05/0.5043, allocations: 85 kB / 1.033 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.5044, allocations: 25.7 kB / 1.033 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.769e-05/0.5044, allocations: 88.08 kB / 1.033 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.389e-05/0.5045, allocations: 3.906 kB / 1.033 GB, free: 8.426 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-06/0.5045, allocations: 0 / 1.033 GB, free: 8.426 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.5046, allocations: 310.8 kB / 1.033 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.142e-05/0.5046, allocations: 0 / 1.033 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.278e-05/0.5047, allocations: 4 kB / 1.033 GB, free: 8.109 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.018e-05/0.5047, allocations: 11.95 kB / 1.033 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.5047, allocations: 0 / 1.033 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.363e-05/0.5048, allocations: 33.69 kB / 1.033 GB, free: 8.059 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.5048, allocations: 8 kB / 1.033 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.5049, allocations: 0 / 1.033 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.5049, allocations: 0 / 1.033 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.631e-05/0.5049, allocations: 0 / 1.033 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.505, allocations: 0 / 1.033 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.376e-05/0.505, allocations: 0 / 1.033 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.505, allocations: 8.094 kB / 1.033 GB, free: 8.043 MB / 0.6823 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 9.403e-05/0.5051, allocations: 113.7 kB / 1.033 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.5051, allocations: 0 / 1.033 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.5053, allocations: 40.81 kB / 1.033 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.5053, allocations: 4 kB / 1.033 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.5053, allocations: 0 / 1.033 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.5053, allocations: 0 / 1.033 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.5055, allocations: 141.7 kB / 1.033 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.5055, allocations: 7.984 kB / 1.033 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.323e-05/0.5055, allocations: 7.984 kB / 1.033 GB, free: 7.668 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.5055, allocations: 0 / 1.033 GB, free: 7.668 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.5055, allocations: 3.938 kB / 1.033 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.5056, allocations: 0 / 1.033 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.5056, allocations: 0 / 1.033 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.5057, allocations: 61.08 kB / 1.033 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.964e-05/0.5058, allocations: 81.06 kB / 1.033 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.5058, allocations: 8.016 kB / 1.033 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.899e-06/0.5058, allocations: 0 / 1.033 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.359e-05/0.5058, allocations: 0 / 1.033 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-06/0.5058, allocations: 0 / 1.033 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.644e-05/0.5059, allocations: 79.28 kB / 1.034 GB, free: 7.402 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.71e-07/0.5059, allocations: 3.938 kB / 1.034 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002654/0.5062, allocations: 11.94 kB / 1.034 GB, free: 7.387 MB / 0.6823 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.0005744/0.5067, allocations: 0.6203 MB / 1.034 GB, free: 6.738 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.558e-05/0.5068, allocations: 4 kB / 1.034 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.5069, allocations: 0 / 1.034 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.249e-05/0.5069, allocations: 4 kB / 1.034 GB, free: 6.73 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001129/0.507, allocations: 3.938 kB / 1.034 GB, free: 6.727 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003921/0.5074, allocations: 120.5 kB / 1.034 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.5077, allocations: 0.6731 MB / 1.035 GB, free: 5.867 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.241e-05/0.5078, allocations: 4 kB / 1.035 GB, free: 5.863 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.208e-05/0.5078, allocations: 7.438 kB / 1.035 GB, free: 5.855 MB / 0.6823 GB Notification: Performance of SimCode: time 7.11e-07/0.5078, allocations: 0 / 1.035 GB, free: 5.855 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02247/0.5303, allocations: 0.9671 MB / 1.036 GB, free: 5.031 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000358/0.5307, allocations: 191.5 kB / 1.036 GB, free: 4.789 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.328/2.859, allocations: 64 / 1.036 GB, free: 4.789 MB / 0.6823 GB