Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.233/5.233, allocations: 0.5623 GB / 0.5775 GB, free: 3.348 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003675/0.003676, allocations: 359.6 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.217/4.217, allocations: 410.7 MB / 1.113 GB, free: 5.961 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001876/0.001875, allocations: 187.3 kB / 1.226 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005484/0.0005489, allocations: 16 kB / 1.349 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7814/0.782, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2083/0.9903, allocations: 138.4 MB / 1.597 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/0.9906, allocations: 76.86 kB / 1.597 GB, free: 145.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.01973/1.01, allocations: 4.321 MB / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.354e-06/1.01, allocations: 0 / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.222e-06/1.01, allocations: 0 / 1.601 GB, free: 141.5 MB / 0.8542 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.0004843/1.011, allocations: 372.8 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/1.011, allocations: 11.62 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.033e-05/1.011, allocations: 8.906 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/1.011, allocations: 167 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/1.011, allocations: 5.312 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/1.011, allocations: 1.078 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/1.011, allocations: 58.52 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/1.012, allocations: 0.9062 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/1.012, allocations: 0 / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/1.012, allocations: 0 / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000276/1.012, allocations: 45.3 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004804/1.012, allocations: 272.9 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/1.013, allocations: 49.3 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/1.013, allocations: 25.75 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007806/1.013, allocations: 465.5 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/1.013, allocations: 30.56 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.603e-06/1.014, allocations: 3.719 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0005518/1.014, allocations: 103 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/1.014, allocations: 51.41 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.367e-05/1.014, allocations: 101.9 kB / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/1.014, allocations: 30.59 kB / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.49e-05/1.014, allocations: 80.14 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/1.014, allocations: 20.42 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/1.014, allocations: 0 / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.125e-05/1.014, allocations: 323.6 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/1.015, allocations: 23.36 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/1.015, allocations: 23.97 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/1.015, allocations: 20.95 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.015, allocations: 1.281 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000332/1.015, allocations: 80.38 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/1.015, allocations: 4 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/1.015, allocations: 0 / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/1.015, allocations: 0 / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/1.015, allocations: 18.78 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/1.015, allocations: 3.984 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.057e-05/1.015, allocations: 4 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/1.016, allocations: 1.719 kB / 1.603 GB, free: 138.9 MB / 0.8542 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 6.497e-05/1.016, allocations: 121.7 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.729e-05/1.016, allocations: 0 / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003553/1.016, allocations: 95.67 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/1.016, allocations: 0.9062 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.016, allocations: 0.5156 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/1.016, allocations: 0 / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/1.016, allocations: 158.7 kB / 1.603 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/1.016, allocations: 3.984 kB / 1.603 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/1.016, allocations: 10 kB / 1.603 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/1.016, allocations: 4.25 kB / 1.603 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/1.016, allocations: 0 / 1.603 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/1.016, allocations: 4 kB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.016, allocations: 0 / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003551/1.017, allocations: 185.4 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.657e-05/1.017, allocations: 82.28 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/1.017, allocations: 0 / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/1.017, allocations: 9.156 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/1.017, allocations: 3.984 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/1.017, allocations: 0 / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.315e-05/1.017, allocations: 83.81 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.51e-07/1.017, allocations: 0.5 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003001/1.017, allocations: 16.5 kB / 1.604 GB, free: 138 MB / 0.8542 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.0001798/1.018, allocations: 116.1 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003259/1.018, allocations: 42.31 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/1.018, allocations: 9 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/1.018, allocations: 29.31 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/1.018, allocations: 6.641 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002938/1.019, allocations: 116.5 kB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/1.019, allocations: 0.6848 MB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.465e-05/1.019, allocations: 6.203 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.49e-05/1.019, allocations: 11.44 kB / 1.605 GB, free: 136.9 MB / 0.8542 GB Notification: Performance of SimCode: time 7.31e-07/1.019, allocations: 0 / 1.605 GB, free: 136.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.003394/1.022, allocations: 0.6091 MB / 1.605 GB, free: 136.4 MB / 0.8542 GB