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.124/5.124, allocations: 0.5623 GB / 0.5776 GB, free: 3.355 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.002515/0.002515, allocations: 362.9 kB / 0.6447 GB, free: 185.6 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.239/4.239, allocations: 410.7 MB / 1.113 GB, free: 5.941 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.001895/0.001895, allocations: 195.4 kB / 1.226 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005206/0.0005209, allocations: 16 kB / 1.349 GB, free: 8.184 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7431/0.7437, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0008116/0.7446, allocations: 357.4 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0007142/0.7453, allocations: 316.7 kB / 1.462 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.496e-05/0.7453, allocations: 0.7812 kB / 1.462 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.228e-05/0.7454, allocations: 3.938 kB / 1.462 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 2.932e-05/0.7454, allocations: 2.688 kB / 1.462 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000443/0.7459, allocations: 86.27 kB / 1.462 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.792e-05/0.7459, allocations: 19.92 kB / 1.462 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.462e-05/0.746, allocations: 0 / 1.462 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.523e-05/0.7461, allocations: 8 kB / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.616e-05/0.7461, allocations: 13.36 kB / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.7462, allocations: 4 kB / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000464/0.7466, allocations: 263.7 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.7467, allocations: 11.97 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.301e-05/0.7467, allocations: 35.23 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.7469, allocations: 55.89 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.7469, allocations: 0 / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7469, allocations: 0 / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.7469, allocations: 0.5 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.000382/0.7473, allocations: 355.3 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.7473, allocations: 11.62 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.279e-05/0.7474, allocations: 11.89 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.319e-05/0.7475, allocations: 163.7 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.7475, allocations: 8 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.7476, allocations: 0.5938 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.7477, allocations: 50.19 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.7478, allocations: 1.688 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.7478, allocations: 1.5 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.7478, allocations: 4 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.592e-05/0.7479, allocations: 19.92 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001751/0.7481, allocations: 182.4 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.7482, allocations: 55.62 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.503e-05/0.7483, allocations: 32.84 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008842/0.7491, allocations: 456.9 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.7492, allocations: 37.06 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 2.033e-06/0.7492, allocations: 4 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.001574/0.7508, allocations: 0.5864 MB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.137e-05/0.7508, allocations: 56.03 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.994e-05/0.7509, allocations: 98.59 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.7509, allocations: 29.7 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.385e-05/0.751, allocations: 81.36 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.285e-05/0.751, allocations: 39.39 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.744e-06/0.751, allocations: 4 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.436e-05/0.7511, allocations: 320.1 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.16e-05/0.7512, allocations: 23.98 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.601e-05/0.7512, allocations: 21.67 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.787e-05/0.7513, allocations: 23.94 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.7513, allocations: 0 / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002059/0.7515, allocations: 97.59 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.7516, allocations: 9.344 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.7516, allocations: 0 / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.7516, allocations: 0 / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.7518, allocations: 23.92 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.7518, allocations: 5.656 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.653e-05/0.7519, allocations: 4 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.7519, allocations: 5.312 kB / 1.465 GB, free: 280 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.218e-05/0.752, allocations: 114.6 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.752, allocations: 4.75 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002414/0.7523, allocations: 117.4 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.7523, allocations: 4.625 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.7523, allocations: 1.25 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.698e-05/0.7524, allocations: 81.09 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.7524, allocations: 4 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.441e-05/0.7525, allocations: 4.656 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.703e-05/0.7525, allocations: 11.94 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002986/0.7528, allocations: 180.2 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003316/0.7532, allocations: 299.9 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.176e-05/0.7533, allocations: 31.95 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.642e-05/0.7533, allocations: 81 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of Backend: time 7.52e-07/0.7533, allocations: 0 / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000614/0.7539, allocations: 164.5 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0003989/0.7543, allocations: 0.6185 MB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.005085/0.7594, allocations: 1.508 MB / 1.468 GB, free: 276.8 MB / 0.8542 GB