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 5.044/5.044, allocations: 0.5623 GB / 0.577 GB, free: 3.328 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.002469/0.002468, allocations: 354.7 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.346/4.346, allocations: 410.7 MB / 1.112 GB, free: 5.953 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.002049/0.002049, allocations: 187.8 kB / 1.225 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007705/0.0007711, allocations: 12 kB / 1.348 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6169/0.6177, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0005813/0.6184, allocations: 325.8 kB / 1.461 GB, free: 284.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0005088/0.6189, allocations: 293.8 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.205e-06/0.6189, allocations: 0 / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 8.977e-06/0.6189, allocations: 0 / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.235e-06/0.619, allocations: 0.625 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003398/0.6193, allocations: 65.08 kB / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 3.241e-05/0.6193, allocations: 9.641 kB / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.524e-05/0.6194, allocations: 4 kB / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 1.189e-05/0.6194, allocations: 0 / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 1.949e-05/0.6194, allocations: 0 / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 8.348e-06/0.6195, allocations: 0 / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003719/0.6198, allocations: 264.2 kB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.98e-06/0.6199, allocations: 4.703 kB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.665e-05/0.6199, allocations: 29.7 kB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.62, allocations: 52.41 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.62, allocations: 0 / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.936e-06/0.62, allocations: 1.562 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.6201, allocations: 4 kB / 1.462 GB, free: 283.3 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002082/0.6203, allocations: 331.4 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.6203, allocations: 16.38 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.49e-05/0.6204, allocations: 0 / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.698e-05/0.6205, allocations: 163.6 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.6205, allocations: 5.609 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.6205, allocations: 4 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.848e-05/0.6206, allocations: 29.7 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.379e-06/0.6206, allocations: 0.7969 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.66e-06/0.6206, allocations: 1.094 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.854e-06/0.6206, allocations: 0 / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.786e-05/0.6207, allocations: 0 / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.896e-05/0.6208, allocations: 158.3 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.061e-05/0.6208, allocations: 15.48 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.645e-05/0.6208, allocations: 9.562 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004238/0.6213, allocations: 429.3 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.6213, allocations: 32.44 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.885e-06/0.6213, allocations: 0 / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001658/0.6215, allocations: 37.64 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.922e-05/0.6215, allocations: 55.34 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.838e-05/0.6216, allocations: 95.27 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.86e-06/0.6216, allocations: 29.7 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.381e-05/0.6216, allocations: 80.14 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.6216, allocations: 0.6875 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-06/0.6216, allocations: 0 / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.939e-05/0.6217, allocations: 319.4 kB / 1.463 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.012e-05/0.6217, allocations: 0.8438 kB / 1.463 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.785e-06/0.6217, allocations: 2.75 kB / 1.463 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.178e-05/0.6218, allocations: 0 / 1.463 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.601e-06/0.6218, allocations: 7.953 kB / 1.463 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.852e-05/0.6219, allocations: 29.7 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.6219, allocations: 4 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.584e-06/0.6219, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.6219, allocations: 3.938 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.389e-05/0.622, allocations: 4.75 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.203e-06/0.622, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.431e-05/0.622, allocations: 4.625 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.107e-06/0.622, allocations: 5.203 kB / 1.464 GB, free: 281.2 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 (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.024e-05/0.6221, allocations: 117.3 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.6221, allocations: 4.703 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.134e-05/0.6222, allocations: 33.58 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.462e-06/0.6223, allocations: 0.5 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.981e-06/0.6223, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.066e-06/0.6223, allocations: 1.891 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.32e-05/0.6224, allocations: 153.7 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.751e-06/0.6224, allocations: 1.219 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.724e-05/0.6224, allocations: 3.953 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.728e-06/0.6224, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.927e-06/0.6224, allocations: 1.281 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.036e-06/0.6224, allocations: 7.938 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.665e-06/0.6224, allocations: 0 / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.754e-05/0.6225, allocations: 54.72 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.81e-05/0.6226, allocations: 79.22 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.6226, allocations: 8.453 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.058e-05/0.6226, allocations: 1.281 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.099e-05/0.6226, allocations: 4 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.384e-06/0.6226, allocations: 3.938 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.409e-05/0.6227, allocations: 79.39 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.25e-07/0.6227, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002559/0.6229, allocations: 11.98 kB / 1.464 GB, free: 280.6 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 (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 Backend phase and start with SimCode phase: time 0.0001502/0.6231, allocations: 109.4 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.558e-05/0.6232, allocations: 12.38 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.533e-06/0.6232, allocations: 1.969 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.081e-05/0.6232, allocations: 4 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.6234, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001478/0.6235, allocations: 80.78 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.6237, allocations: 0.6731 MB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.353e-05/0.6237, allocations: 3.984 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.19e-05/0.6237, allocations: 7.438 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.387e-06/0.6237, allocations: 1.781 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.002549/0.6263, allocations: 438 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB