Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.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.Examples.RegNonZeroPower,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_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.118/2.118, allocations: 251 MB / 265.9 MB, free: 11.69 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.001598/0.001598, allocations: 179.2 kB / 325.5 MB, free: 2.891 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.411/2.411, allocations: 205.4 MB / 0.5764 GB, free: 20.77 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.001171/0.001171, allocations: 90.95 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004952/0.0004953, allocations: 17.05 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2094, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2208/0.4302, allocations: 132.1 MB / 1.028 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.4305, allocations: 71.97 kB / 1.028 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03428/0.4648, allocations: 4.332 MB / 1.032 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.697e-06/0.4649, allocations: 0 / 1.032 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.4649, allocations: 0 / 1.032 GB, free: 8.773 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0009728/0.4659, allocations: 375.2 kB / 1.032 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.167e-05/0.466, allocations: 12.03 kB / 1.032 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.151e-05/0.4661, allocations: 30.56 kB / 1.033 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.19e-05/0.4662, allocations: 3.906 kB / 1.033 GB, free: 8.305 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.4663, allocations: 175 kB / 1.033 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.4664, allocations: 0 / 1.033 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.4664, allocations: 3.938 kB / 1.033 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000353/0.4668, allocations: 57.67 kB / 1.033 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.4668, allocations: 4 kB / 1.033 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.4668, allocations: 0 / 1.033 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.4669, allocations: 3.938 kB / 1.033 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004302/0.4673, allocations: 39.97 kB / 1.033 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007106/0.468, allocations: 272.9 kB / 1.033 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.4684, allocations: 50.48 kB / 1.033 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001327/0.4697, allocations: 457.5 kB / 1.034 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.9e-05/0.4698, allocations: 34.56 kB / 1.034 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 3.376e-06/0.4698, allocations: 0 / 1.034 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0009348/0.4708, allocations: 97.64 kB / 1.034 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.4709, allocations: 55.41 kB / 1.034 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.471, allocations: 101.1 kB / 1.034 GB, free: 6.75 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.471, allocations: 25.7 kB / 1.034 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.27e-05/0.4711, allocations: 88.14 kB / 1.034 GB, free: 6.629 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.4712, allocations: 15.77 kB / 1.034 GB, free: 6.613 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-06/0.4712, allocations: 0 / 1.034 GB, free: 6.613 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.4714, allocations: 310.8 kB / 1.034 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/0.4716, allocations: 27.98 kB / 1.034 GB, free: 6.273 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/0.4718, allocations: 15.98 kB / 1.034 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.4721, allocations: 27.97 kB / 1.034 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4721, allocations: 0 / 1.034 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005634/0.4727, allocations: 77.64 kB / 1.034 GB, free: 6.148 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/0.4727, allocations: 8 kB / 1.034 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.4727, allocations: 0 / 1.034 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.4728, allocations: 0 / 1.034 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.473, allocations: 11.98 kB / 1.034 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.465e-06/0.473, allocations: 4.031 kB / 1.034 GB, free: 6.125 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.4732, allocations: 15.92 kB / 1.034 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.4732, allocations: 4.203 kB / 1.034 GB, free: 6.105 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 (2): * Single equations (assignments): 2 * 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 0.0001254/0.4733, allocations: 113.8 kB / 1.035 GB, free: 5.984 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.582e-05/0.4734, allocations: 4 kB / 1.035 GB, free: 5.98 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006132/0.4741, allocations: 85.19 kB / 1.035 GB, free: 5.891 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.128e-06/0.4741, allocations: 4 kB / 1.035 GB, free: 5.887 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.739e-06/0.4741, allocations: 3.984 kB / 1.035 GB, free: 5.883 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.4741, allocations: 0 / 1.035 GB, free: 5.883 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.4744, allocations: 161.6 kB / 1.035 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4744, allocations: 3.938 kB / 1.035 GB, free: 5.672 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.4746, allocations: 16.02 kB / 1.035 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.4746, allocations: 3.984 kB / 1.035 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.4746, allocations: 0 / 1.035 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.4746, allocations: 0 / 1.035 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.4747, allocations: 4 kB / 1.035 GB, free: 5.648 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004333/0.4751, allocations: 183.3 kB / 1.035 GB, free: 5.453 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.974e-05/0.4752, allocations: 77.11 kB / 1.035 GB, free: 5.359 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.4752, allocations: 4 kB / 1.035 GB, free: 5.355 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.4753, allocations: 7.984 kB / 1.035 GB, free: 5.348 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.4754, allocations: 4 kB / 1.035 GB, free: 5.344 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.4754, allocations: 0 / 1.035 GB, free: 5.344 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.143e-05/0.4755, allocations: 91.3 kB / 1.035 GB, free: 5.254 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.81e-07/0.4755, allocations: 0 / 1.035 GB, free: 5.254 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003098/0.4758, allocations: 16 kB / 1.035 GB, free: 5.238 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 (2): * Single equations (assignments): 2 * 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.0007923/0.4766, allocations: 0.7279 MB / 1.036 GB, free: 4.484 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003417/0.477, allocations: 48.02 kB / 1.036 GB, free: 4.438 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.477, allocations: 4.094 kB / 1.036 GB, free: 4.434 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.4771, allocations: 23.98 kB / 1.036 GB, free: 4.41 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.4774, allocations: 0 / 1.036 GB, free: 4.41 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005793/0.478, allocations: 162.3 kB / 1.036 GB, free: 4.207 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.4783, allocations: 0.6849 MB / 1.037 GB, free: 3.496 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.167e-05/0.4783, allocations: 7.922 kB / 1.037 GB, free: 3.488 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.452e-05/0.4784, allocations: 11.44 kB / 1.037 GB, free: 3.477 MB / 0.6823 GB Notification: Performance of SimCode: time 1.183e-06/0.4784, allocations: 3.938 kB / 1.037 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01921/0.4976, allocations: 1.293 MB / 1.038 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003584/0.498, allocations: 177 kB / 1.038 GB, free: 2.066 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.38/2.878, allocations: 8 kB / 1.038 GB, free: 2.059 MB / 0.6823 GB