Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006563/0.0006565, allocations: 91.22 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00378/0.00378, allocations: 172.3 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.137/1.137, allocations: 205.4 MB / 222.5 MB, free: 5.789 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.335/1.335, allocations: 252 MB / 0.5105 GB, free: 4.699 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004479/0.0004479, allocations: 12 kB / 0.6249 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.366, allocations: 106.3 MB / 0.7287 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0005904/0.3666, allocations: 324.6 kB / 0.729 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005775/0.3672, allocations: 341.9 kB / 0.7294 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.051e-05/0.3673, allocations: 0 / 0.7294 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.089e-05/0.3673, allocations: 3.938 kB / 0.7294 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.238e-06/0.3673, allocations: 4 kB / 0.7294 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000297/0.3676, allocations: 74.84 kB / 0.7295 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 2.795e-05/0.3676, allocations: 0 / 0.7295 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.236e-05/0.3677, allocations: 0 / 0.7295 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.698e-06/0.3677, allocations: 0 / 0.7295 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.014e-05/0.3677, allocations: 4 kB / 0.7295 GB, free: 10.53 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.644e-06/0.3677, allocations: 0 / 0.7295 GB, free: 10.53 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003443/0.3681, allocations: 275.6 kB / 0.7297 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.147e-06/0.3681, allocations: 3.984 kB / 0.7297 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.354e-05/0.3681, allocations: 29.7 kB / 0.7297 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.3683, allocations: 83.86 kB / 0.7298 GB, free: 10.14 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3683, allocations: 0 / 0.7298 GB, free: 10.14 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.496e-06/0.3683, allocations: 0 / 0.7298 GB, free: 10.14 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.086e-06/0.3683, allocations: 3.938 kB / 0.7298 GB, free: 10.14 MB / 0.545 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.0002371/0.3685, allocations: 335.5 kB / 0.7302 GB, free: 9.758 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.3686, allocations: 12.02 kB / 0.7302 GB, free: 9.746 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.191e-05/0.3686, allocations: 4.938 kB / 0.7302 GB, free: 9.742 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.951e-05/0.3687, allocations: 160.4 kB / 0.7303 GB, free: 9.547 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.502e-06/0.3687, allocations: 4.375 kB / 0.7303 GB, free: 9.543 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.3687, allocations: 384 / 0.7303 GB, free: 9.543 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.9e-05/0.3688, allocations: 34.2 kB / 0.7304 GB, free: 9.504 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.55e-06/0.3688, allocations: 4.188 kB / 0.7304 GB, free: 9.5 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.3688, allocations: 3.938 kB / 0.7304 GB, free: 9.496 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.3688, allocations: 0 / 0.7304 GB, free: 9.496 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.575e-05/0.3689, allocations: 0 / 0.7304 GB, free: 9.496 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001056/0.369, allocations: 145.7 kB / 0.7305 GB, free: 9.305 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.244e-05/0.369, allocations: 26.55 kB / 0.7305 GB, free: 9.27 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.763e-05/0.369, allocations: 8.859 kB / 0.7305 GB, free: 9.258 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004466/0.3695, allocations: 421.6 kB / 0.7309 GB, free: 8.754 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.3695, allocations: 34.56 kB / 0.731 GB, free: 8.711 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.3695, allocations: 4 kB / 0.731 GB, free: 8.707 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001218/0.3696, allocations: 41.58 kB / 0.731 GB, free: 8.66 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.3697, allocations: 55.39 kB / 0.7311 GB, free: 8.594 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.493e-05/0.3697, allocations: 89.86 kB / 0.7312 GB, free: 8.496 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.3697, allocations: 25.7 kB / 0.7312 GB, free: 8.465 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.066e-05/0.3698, allocations: 80.14 kB / 0.7313 GB, free: 8.383 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.3698, allocations: 0 / 0.7313 GB, free: 8.383 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.979e-05/0.3698, allocations: 9.719 kB / 0.7313 GB, free: 8.367 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.712e-05/0.3699, allocations: 311 kB / 0.7316 GB, free: 8.055 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.574e-06/0.3699, allocations: 12 kB / 0.7316 GB, free: 8.043 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.648e-06/0.3699, allocations: 0 / 0.7316 GB, free: 8.043 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.455e-05/0.37, allocations: 8.859 kB / 0.7316 GB, free: 8.031 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.37, allocations: 0 / 0.7316 GB, free: 8.031 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.201e-05/0.37, allocations: 37.62 kB / 0.7316 GB, free: 7.988 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.37, allocations: 4 kB / 0.7316 GB, free: 7.984 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.3701, allocations: 4 kB / 0.7316 GB, free: 7.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.3701, allocations: 3.938 kB / 0.7316 GB, free: 7.977 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.467e-05/0.3701, allocations: 4.094 kB / 0.7316 GB, free: 7.973 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.748e-06/0.3701, allocations: 3.938 kB / 0.7316 GB, free: 7.969 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.346e-06/0.3701, allocations: 0 / 0.7316 GB, free: 7.969 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.3701, allocations: 4 kB / 0.7316 GB, free: 7.965 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.135e-05/0.3702, allocations: 105.8 kB / 0.7317 GB, free: 7.852 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.049e-05/0.3702, allocations: 7.984 kB / 0.7318 GB, free: 7.844 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.073e-05/0.3703, allocations: 40.75 kB / 0.7318 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.3703, allocations: 4.031 kB / 0.7318 GB, free: 7.793 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3703, allocations: 8 kB / 0.7318 GB, free: 7.785 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.3703, allocations: 0 / 0.7318 GB, free: 7.785 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.33e-05/0.3704, allocations: 141.7 kB / 0.7319 GB, free: 7.598 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3704, allocations: 0 / 0.7319 GB, free: 7.598 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.225e-05/0.3705, allocations: 11.92 kB / 0.7319 GB, free: 7.586 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.3705, allocations: 0 / 0.7319 GB, free: 7.586 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.3705, allocations: 3.938 kB / 0.732 GB, free: 7.582 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3705, allocations: 3.938 kB / 0.732 GB, free: 7.578 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.3705, allocations: 0 / 0.732 GB, free: 7.578 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.868e-05/0.3706, allocations: 61.14 kB / 0.732 GB, free: 7.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.691e-05/0.3706, allocations: 79.08 kB / 0.7321 GB, free: 7.406 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.3706, allocations: 7.922 kB / 0.7321 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.121e-06/0.3706, allocations: 0 / 0.7321 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.474e-06/0.3706, allocations: 0 / 0.7321 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-06/0.3706, allocations: 0 / 0.7321 GB, free: 7.398 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.087e-05/0.3707, allocations: 79.28 kB / 0.7322 GB, free: 7.32 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/0.3707, allocations: 4 kB / 0.7322 GB, free: 7.316 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000171/0.3709, allocations: 12.03 kB / 0.7322 GB, free: 7.305 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001481/0.371, allocations: 111.2 kB / 0.7323 GB, free: 7.184 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 5.231e-05/0.3711, allocations: 11.92 kB / 0.7323 GB, free: 7.172 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.3711, allocations: 0 / 0.7323 GB, free: 7.172 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.093e-06/0.3711, allocations: 4 kB / 0.7323 GB, free: 7.168 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001117/0.3712, allocations: 0 / 0.7323 GB, free: 7.168 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001409/0.3714, allocations: 86.73 kB / 0.7324 GB, free: 7.059 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/0.3716, allocations: 0.6692 MB / 0.733 GB, free: 6.363 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.437e-05/0.3716, allocations: 0 / 0.733 GB, free: 6.363 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.12e-05/0.3716, allocations: 11.42 kB / 0.7331 GB, free: 6.352 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.3716, allocations: 0 / 0.7331 GB, free: 6.352 MB / 0.545 GB Notification: Performance of Templates: time 0.001874/0.3735, allocations: 444.3 kB / 0.7335 GB, free: 5.918 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) Environment - environmentSimulation: