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.269/5.269, allocations: 0.5623 GB / 0.5769 GB, free: 3.375 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.002416/0.002416, allocations: 352.8 kB / 0.644 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.188/4.188, allocations: 410.7 MB / 1.112 GB, free: 5.957 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.001825/0.001824, allocations: 188.3 kB / 1.225 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005112/0.0005115, allocations: 16 kB / 1.348 GB, free: 8.207 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7022/0.7028, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.00061/0.7034, allocations: 356.2 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0006053/0.704, allocations: 313.8 kB / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.855e-05/0.7041, allocations: 0 / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.378e-05/0.7041, allocations: 3.938 kB / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 2.515e-05/0.7041, allocations: 0 / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003784/0.7045, allocations: 77.16 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.381e-05/0.7046, allocations: 23.92 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.919e-05/0.7046, allocations: 9.016 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.91e-05/0.7047, allocations: 7.984 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.478e-05/0.7047, allocations: 18.67 kB / 1.462 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.7048, allocations: 0 / 1.462 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003816/0.7052, allocations: 263.7 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.232e-05/0.7052, allocations: 4 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.093e-05/0.7052, allocations: 33.64 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.7053, allocations: 59.88 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.119e-06/0.7054, allocations: 0 / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.68e-06/0.7054, allocations: 0 / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.115e-06/0.7054, allocations: 0.5938 kB / 1.462 GB, free: 283.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.0003174/0.7057, allocations: 363.4 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.7058, allocations: 11.62 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.045e-05/0.7058, allocations: 7.906 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.492e-05/0.7059, allocations: 163 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.7059, allocations: 8.75 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.706, allocations: 4 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.7061, allocations: 46.42 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.7061, allocations: 1.344 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.7061, allocations: 10.12 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.122e-06/0.7061, allocations: 3.938 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.448e-05/0.7062, allocations: 19.98 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001409/0.7064, allocations: 173.5 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.7065, allocations: 53.11 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.975e-05/0.7065, allocations: 28.84 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000596/0.7072, allocations: 466 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.7072, allocations: 34.56 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 2.17e-06/0.7072, allocations: 3.938 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.001368/0.7086, allocations: 0.5873 MB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.007e-05/0.7086, allocations: 51.41 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.404e-05/0.7087, allocations: 98.42 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.7087, allocations: 26.64 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.994e-05/0.7087, allocations: 84.14 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.7088, allocations: 49.94 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.824e-06/0.7088, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.282e-05/0.7089, allocations: 322.8 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.009e-05/0.7089, allocations: 16 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.796e-05/0.709, allocations: 25.61 kB / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.073e-05/0.7091, allocations: 24 kB / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.592e-06/0.7091, allocations: 0.875 kB / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001893/0.7093, allocations: 109.1 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.7093, allocations: 9.094 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.124e-06/0.7093, allocations: 0 / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.7093, allocations: 0 / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.7095, allocations: 20 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.209e-06/0.7095, allocations: 7.984 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.138e-05/0.7095, allocations: 4.875 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.7096, allocations: 4 kB / 1.465 GB, free: 280.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 6.657e-05/0.7096, allocations: 123.9 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.574e-05/0.7097, allocations: 4 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002028/0.7099, allocations: 105.4 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.803e-06/0.7099, allocations: 0 / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.285e-06/0.7099, allocations: 5.609 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.23e-06/0.7099, allocations: 0 / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003694/0.7103, allocations: 360.4 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.763e-06/0.7103, allocations: 4.625 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.7105, allocations: 16 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.521e-06/0.7105, allocations: 5 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.7105, allocations: 3.984 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.582e-06/0.7105, allocations: 2.781 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.766e-06/0.7106, allocations: 0 / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.7108, allocations: 223.4 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.163e-05/0.7109, allocations: 89 kB / 1.465 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.7109, allocations: 4.031 kB / 1.465 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.711, allocations: 5.562 kB / 1.465 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.101e-05/0.7111, allocations: 11.31 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.7111, allocations: 4 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.453e-05/0.7111, allocations: 76.16 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.62e-07/0.7111, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000364/0.7115, allocations: 47.98 kB / 1.466 GB, free: 278.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.0002304/0.7118, allocations: 140.6 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001627/0.7119, allocations: 61.03 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.97e-06/0.712, allocations: 0 / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.035e-05/0.712, allocations: 32 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.7123, allocations: 12.53 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003515/0.7127, allocations: 201.3 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/0.7128, allocations: 0.6933 MB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.581e-05/0.7129, allocations: 14.11 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/0.713, allocations: 11.44 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.691e-06/0.713, allocations: 0 / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.004291/0.7173, allocations: 1.355 MB / 1.468 GB, free: 276.4 MB / 0.8542 GB