Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Functions.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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.821/4.821, allocations: 0.5623 GB / 0.5775 GB, free: 66.94 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002622/0.002622, allocations: 354.3 kB / 0.6446 GB, free: 21.54 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.119/4.119, allocations: 410.7 MB / 1.113 GB, free: 109.7 MB / 0.5573 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001887/0.001887, allocations: 185.9 kB / 1.226 GB, free: 9.535 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004848/0.000485, allocations: 12 kB / 1.349 GB, free: 84.62 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2198, allocations: 115.3 MB / 1.461 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.6072/0.827, allocations: 317.4 kB / 1.462 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008603/0.8279, allocations: 292 kB / 1.462 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.003e-05/0.828, allocations: 0 / 1.462 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.819e-06/0.828, allocations: 0 / 1.462 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.542e-06/0.828, allocations: 0 / 1.462 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004645/0.8285, allocations: 73.28 kB / 1.462 GB, free: 11.58 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.572e-05/0.8285, allocations: 5.562 kB / 1.462 GB, free: 11.58 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.725e-05/0.8286, allocations: 1.797 kB / 1.462 GB, free: 11.58 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.62e-05/0.8286, allocations: 6.953 kB / 1.462 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.479e-05/0.8286, allocations: 0.6562 kB / 1.462 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.8286, allocations: 1.156 kB / 1.462 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006424/0.8293, allocations: 265.9 kB / 1.462 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.815e-06/0.8293, allocations: 1.219 kB / 1.462 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.832e-05/0.8293, allocations: 25.7 kB / 1.462 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.8295, allocations: 55.25 kB / 1.462 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.8295, allocations: 0.9375 kB / 1.462 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.953e-06/0.8296, allocations: 4 kB / 1.462 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.8296, allocations: 0 / 1.462 GB, free: 11.54 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002497/0.8298, allocations: 332 kB / 1.463 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.8299, allocations: 8.188 kB / 1.463 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.995e-05/0.8299, allocations: 2.656 kB / 1.463 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.539e-05/0.83, allocations: 163.7 kB / 1.463 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.83, allocations: 0.5625 kB / 1.463 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.8301, allocations: 1.656 kB / 1.463 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.715e-05/0.8302, allocations: 29.94 kB / 1.463 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.8302, allocations: 4 kB / 1.463 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.8302, allocations: 0 / 1.463 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.8302, allocations: 4.594 kB / 1.463 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.11e-05/0.8302, allocations: 1.25 kB / 1.463 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001115/0.8304, allocations: 151.1 kB / 1.463 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.83e-05/0.8304, allocations: 17.47 kB / 1.463 GB, free: 10.72 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.791e-05/0.8304, allocations: 7.203 kB / 1.463 GB, free: 10.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005434/0.831, allocations: 428.1 kB / 1.463 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.831, allocations: 32.22 kB / 1.463 GB, free: 10.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.493e-06/0.831, allocations: 0 / 1.463 GB, free: 10.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001503/0.8312, allocations: 38.11 kB / 1.464 GB, free: 10.17 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.608e-05/0.8312, allocations: 51.41 kB / 1.464 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.082e-05/0.8313, allocations: 96.53 kB / 1.464 GB, free: 10 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.8313, allocations: 25.7 kB / 1.464 GB, free: 9.973 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.462e-05/0.8313, allocations: 84.7 kB / 1.464 GB, free: 9.887 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.8313, allocations: 3 kB / 1.464 GB, free: 9.887 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-06/0.8314, allocations: 0 / 1.464 GB, free: 9.887 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.088e-05/0.8314, allocations: 312.7 kB / 1.464 GB, free: 9.574 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.216e-05/0.8314, allocations: 1.312 kB / 1.464 GB, free: 9.574 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.069e-05/0.8315, allocations: 1.734 kB / 1.464 GB, free: 9.574 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.129e-05/0.8315, allocations: 5.656 kB / 1.464 GB, free: 9.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.8315, allocations: 0 / 1.464 GB, free: 9.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.916e-05/0.8316, allocations: 46.45 kB / 1.464 GB, free: 9.527 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.8316, allocations: 5.312 kB / 1.464 GB, free: 9.527 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.8316, allocations: 0.6562 kB / 1.464 GB, free: 9.527 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.8317, allocations: 0 / 1.464 GB, free: 9.527 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.552e-05/0.8317, allocations: 2.844 kB / 1.464 GB, free: 9.527 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.8317, allocations: 0 / 1.464 GB, free: 9.527 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.378e-05/0.8317, allocations: 6.031 kB / 1.464 GB, free: 9.523 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.8318, allocations: 0 / 1.464 GB, free: 9.523 MB / 0.6042 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 (1): * Single equations (assignments): 1 * 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 5.356e-05/0.8318, allocations: 115.8 kB / 1.464 GB, free: 9.406 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.8319, allocations: 5.828 kB / 1.464 GB, free: 9.402 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.977e-05/0.832, allocations: 43.22 kB / 1.464 GB, free: 9.363 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.832, allocations: 0 / 1.464 GB, free: 9.363 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.832, allocations: 0 / 1.464 GB, free: 9.363 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.905e-05/0.832, allocations: 79.34 kB / 1.464 GB, free: 9.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.832, allocations: 1.641 kB / 1.464 GB, free: 9.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.05e-05/0.8321, allocations: 0.5625 kB / 1.464 GB, free: 9.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.393e-05/0.8321, allocations: 6.438 kB / 1.464 GB, free: 9.266 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 5.83e-05/0.8321, allocations: 108 kB / 1.464 GB, free: 9.16 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001066/0.8323, allocations: 211.6 kB / 1.465 GB, free: 8.949 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.904e-05/0.8323, allocations: 4.328 kB / 1.465 GB, free: 8.949 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.432e-05/0.8323, allocations: 75.84 kB / 1.465 GB, free: 8.875 MB / 0.6042 GB Notification: Performance of Backend: time 5.51e-07/0.8323, allocations: 4.062 kB / 1.465 GB, free: 8.871 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005892/0.8329, allocations: 117.1 kB / 1.465 GB, free: 8.805 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0002469/0.8332, allocations: 0.5289 MB / 1.465 GB, free: 8.238 MB / 0.6042 GB Notification: Performance of Templates: time 0.004712/0.8379, allocations: 1.044 MB / 1.466 GB, free: 8.164 MB / 0.6042 GB