Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.317/5.317, allocations: 0.5623 GB / 0.5775 GB, free: 3.332 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.00246/0.002459, allocations: 357.7 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.756/4.756, allocations: 410.7 MB / 1.113 GB, free: 6.062 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.00194/0.00194, allocations: 187.3 kB / 1.226 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005579/0.0005582, allocations: 16 kB / 1.349 GB, free: 8.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7474/0.748, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2162/0.9643, allocations: 138 MB / 1.596 GB, free: 146.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/0.9646, allocations: 85.06 kB / 1.596 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02353/0.9882, allocations: 5.073 MB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.315e-06/0.9883, allocations: 0 / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.9883, allocations: 0.7188 kB / 1.601 GB, free: 141.2 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004236/0.9887, allocations: 363.9 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.9888, allocations: 12.81 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.22e-05/0.9888, allocations: 11.84 kB / 1.602 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.096e-05/0.9889, allocations: 170.9 kB / 1.602 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.989, allocations: 6.828 kB / 1.602 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.989, allocations: 4 kB / 1.602 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.9891, allocations: 57.61 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.9892, allocations: 0 / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.9892, allocations: 0 / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.9892, allocations: 0 / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.495e-05/0.9893, allocations: 19.98 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001679/0.9895, allocations: 166.8 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.9896, allocations: 59.47 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.702e-05/0.9897, allocations: 29.84 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007753/0.9905, allocations: 460.6 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.9905, allocations: 31.06 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.9905, allocations: 0.75 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.001579/0.9921, allocations: 0.6021 MB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.9921, allocations: 55.41 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.425e-05/0.9922, allocations: 98.45 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.9922, allocations: 29.7 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.34e-05/0.9923, allocations: 81.23 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.055e-05/0.9923, allocations: 35.45 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-06/0.9923, allocations: 4 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.804e-05/0.9924, allocations: 320 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.819e-05/0.9925, allocations: 27.92 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.397e-05/0.9926, allocations: 23.83 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.143e-05/0.9926, allocations: 24 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.9927, allocations: 1.781 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002088/0.9929, allocations: 93.59 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.9929, allocations: 11.75 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.9929, allocations: 0 / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.9929, allocations: 0 / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.9931, allocations: 24.86 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.403e-06/0.9931, allocations: 4 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.885e-05/0.9932, allocations: 6.344 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.9932, allocations: 4 kB / 1.604 GB, free: 138.1 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 (13): * Single equations (assignments): 13 * 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 7.354e-05/0.9933, allocations: 113.8 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.9933, allocations: 5.031 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002438/0.9936, allocations: 105.6 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.9936, allocations: 8.469 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.9936, allocations: 1.438 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.9936, allocations: 0 / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004225/0.9941, allocations: 350.4 kB / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.9941, allocations: 6.406 kB / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.9943, allocations: 24.02 kB / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.9943, allocations: 8.594 kB / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.9943, allocations: 5.375 kB / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.9943, allocations: 4 kB / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.9944, allocations: 0 / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/0.9947, allocations: 214.5 kB / 1.605 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.615e-05/0.9947, allocations: 85.05 kB / 1.605 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.9948, allocations: 8.484 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.9949, allocations: 4.5 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.563e-05/0.9949, allocations: 4.781 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.9949, allocations: 3.984 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.735e-05/0.995, allocations: 85.22 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.81e-07/0.995, allocations: 3.938 kB / 1.605 GB, free: 136.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003899/0.9954, allocations: 55.88 kB / 1.605 GB, free: 136.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002984/0.9957, allocations: 161.1 kB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001842/0.9959, allocations: 55.98 kB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.9959, allocations: 0 / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.968e-05/0.996, allocations: 31.92 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.9963, allocations: 17.42 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004425/0.9967, allocations: 193.8 kB / 1.605 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.9969, allocations: 0.6926 MB / 1.606 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.785e-05/0.997, allocations: 9.172 kB / 1.606 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.434e-05/0.997, allocations: 19.42 kB / 1.606 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of SimCode: time 8.12e-07/0.997, allocations: 0 / 1.606 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.00487/1.002, allocations: 1.326 MB / 1.607 GB, free: 134.4 MB / 0.8542 GB