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.426/2.426, allocations: 248.7 MB / 256.2 MB, free: 7.062 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.001462/0.001463, allocations: 179.5 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.227/2.227, allocations: 205.3 MB / 0.5662 GB, free: 0.5586 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.00107/0.00107, allocations: 95.86 kB / 0.6704 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.353e-05/3.363e-05, allocations: 8 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2094, allocations: 106.2 MB / 0.8841 GB, free: 13.03 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9175/1.127, allocations: 132.3 MB / 1.013 GB, free: 6.586 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/1.127, allocations: 72.58 kB / 1.013 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02192/1.149, allocations: 4.299 MB / 1.018 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.944e-06/1.149, allocations: 0 / 1.018 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.999e-06/1.149, allocations: 4 kB / 1.018 GB, free: 2.949 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005636/1.15, allocations: 373.9 kB / 1.018 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/1.15, allocations: 8.031 kB / 1.018 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.043e-05/1.15, allocations: 11.92 kB / 1.018 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/1.15, allocations: 163 kB / 1.018 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/1.15, allocations: 0 / 1.018 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/1.15, allocations: 4 kB / 1.018 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.294e-05/1.15, allocations: 7.875 kB / 1.018 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.209e-05/1.15, allocations: 37.56 kB / 1.018 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/1.15, allocations: 0 / 1.018 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/1.15, allocations: 4 kB / 1.018 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/1.151, allocations: 4 kB / 1.018 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005527/1.151, allocations: 257 kB / 1.018 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.643e-05/1.151, allocations: 26.42 kB / 1.018 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.265e-05/1.151, allocations: 12.8 kB / 1.018 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009287/1.152, allocations: 457.5 kB / 1.019 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/1.152, allocations: 38.55 kB / 1.019 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.745e-06/1.152, allocations: 0 / 1.019 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002705/1.153, allocations: 41.52 kB / 1.019 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/1.153, allocations: 55.34 kB / 1.019 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.518e-05/1.153, allocations: 92.88 kB / 1.019 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/1.153, allocations: 25.7 kB / 1.019 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.843e-05/1.153, allocations: 91.38 kB / 1.019 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/1.153, allocations: 3.906 kB / 1.019 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.84e-06/1.153, allocations: 0 / 1.019 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001497/1.153, allocations: 322.7 kB / 1.02 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.633e-05/1.153, allocations: 4 kB / 1.02 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.635e-05/1.153, allocations: 7.812 kB / 1.02 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.116e-05/1.153, allocations: 4.75 kB / 1.02 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/1.153, allocations: 0 / 1.02 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001495/1.153, allocations: 45.25 kB / 1.02 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/1.153, allocations: 4 kB / 1.02 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/1.153, allocations: 0 / 1.02 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/1.153, allocations: 4.094 kB / 1.02 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/1.154, allocations: 11.98 kB / 1.02 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/1.154, allocations: 0 / 1.02 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.135e-05/1.154, allocations: 11.94 kB / 1.02 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/1.154, allocations: 7.922 kB / 1.02 GB, free: 0.6133 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 (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 8.32e-05/1.154, allocations: 108.9 kB / 1.02 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001557/1.154, allocations: 53.53 kB / 1.02 GB, free: 456 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.624e-05/1.154, allocations: 4 kB / 1.02 GB, free: 452 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001674/1.154, allocations: 53.95 kB / 1.02 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/1.154, allocations: 0 / 1.02 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.154, allocations: 0 / 1.02 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/1.154, allocations: 0 / 1.02 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/1.154, allocations: 149.8 kB / 1.02 GB, free: 212 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/1.154, allocations: 0 / 1.02 GB, free: 212 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/1.155, allocations: 11.94 kB / 1.02 GB, free: 200 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/1.155, allocations: 4.062 kB / 1.02 GB, free: 196 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/1.155, allocations: 0 / 1.02 GB, free: 196 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/1.155, allocations: 0 / 1.02 GB, free: 196 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.155, allocations: 3.984 kB / 1.02 GB, free: 192 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/1.155, allocations: 142.9 kB / 1.02 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.108e-05/1.155, allocations: 81.11 kB / 1.02 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/1.155, allocations: 0 / 1.02 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/1.155, allocations: 12.02 kB / 1.02 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/1.155, allocations: 4.25 kB / 1.02 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/1.155, allocations: 0 / 1.02 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.808e-05/1.155, allocations: 91.2 kB / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.5e-07/1.155, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003472/1.156, allocations: 16 kB / 1.02 GB, free: 15.82 MB / 0.6511 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 (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.0006221/1.156, allocations: 0.6855 MB / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000113/1.156, allocations: 11.94 kB / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.156, allocations: 0 / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.65e-05/1.156, allocations: 11.94 kB / 1.021 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/1.157, allocations: 0 / 1.021 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004998/1.157, allocations: 105.5 kB / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/1.158, allocations: 0.6807 MB / 1.022 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.194e-05/1.158, allocations: 7.984 kB / 1.022 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.135e-05/1.158, allocations: 11.38 kB / 1.022 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of SimCode: time 1.233e-06/1.158, allocations: 0 / 1.022 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0297/1.187, allocations: 0.988 MB / 1.023 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003538/1.188, allocations: 150.3 kB / 1.023 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.426/3.614, allocations: 3.938 kB / 1.023 GB, free: 13.06 MB / 0.6511 GB