Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001246/0.001246, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001437/0.001437, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.972/1.972, allocations: 205.4 MB / 222.1 MB, free: 5.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6818/0.6818, allocations: 95.62 MB / 366 MB, free: 10.31 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000621/0.000621, allocations: 12 kB / 446.9 MB, free: 9.305 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.3986, allocations: 70.34 MB / 0.5051 GB, free: 16.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0006312/0.3993, allocations: 273 kB / 0.5053 GB, free: 16.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004621/0.3998, allocations: 274.3 kB / 0.5056 GB, free: 16.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.323e-05/0.3998, allocations: 0 / 0.5056 GB, free: 16.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.306e-05/0.3998, allocations: 0 / 0.5056 GB, free: 16.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.494e-06/0.3998, allocations: 0 / 0.5056 GB, free: 16.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.4002, allocations: 67.88 kB / 0.5057 GB, free: 16.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.785e-05/0.4002, allocations: 0 / 0.5057 GB, free: 16.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.521e-05/0.4003, allocations: 11.92 kB / 0.5057 GB, free: 16.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.368e-05/0.4003, allocations: 0 / 0.5057 GB, free: 16.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.625e-05/0.4003, allocations: 0 / 0.5057 GB, free: 16.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.708e-06/0.4003, allocations: 0 / 0.5057 GB, free: 16.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002787/0.4006, allocations: 227.7 kB / 0.5059 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.171e-06/0.4006, allocations: 0 / 0.5059 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.005e-05/0.4007, allocations: 29.7 kB / 0.5059 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.4008, allocations: 59.91 kB / 0.506 GB, free: 15.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4008, allocations: 0 / 0.506 GB, free: 15.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4008, allocations: 4 kB / 0.506 GB, free: 15.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.4008, allocations: 0 / 0.506 GB, free: 15.69 MB / 382.1 MB 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.0002084/0.401, allocations: 323.4 kB / 0.5063 GB, free: 15.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.4011, allocations: 15.97 kB / 0.5063 GB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.916e-05/0.4011, allocations: 0 / 0.5063 GB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.503e-05/0.4012, allocations: 163 kB / 0.5065 GB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.4012, allocations: 4 kB / 0.5065 GB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.4012, allocations: 4 kB / 0.5065 GB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.807e-05/0.4013, allocations: 37.66 kB / 0.5065 GB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.4013, allocations: 0 / 0.5065 GB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.4013, allocations: 0 / 0.5065 GB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.4013, allocations: 0 / 0.5065 GB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.102e-05/0.4014, allocations: 7.984 kB / 0.5065 GB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001074/0.4015, allocations: 145.7 kB / 0.5067 GB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.055e-05/0.4015, allocations: 22.52 kB / 0.5067 GB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.386e-05/0.4015, allocations: 12.89 kB / 0.5067 GB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003745/0.4019, allocations: 421.5 kB / 0.5071 GB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.4019, allocations: 42.52 kB / 0.5071 GB, free: 14.26 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.352e-06/0.4019, allocations: 0 / 0.5071 GB, free: 14.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001391/0.4021, allocations: 37.55 kB / 0.5072 GB, free: 14.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.4021, allocations: 55.52 kB / 0.5072 GB, free: 14.15 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.814e-05/0.4022, allocations: 93.86 kB / 0.5073 GB, free: 14.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.711e-06/0.4022, allocations: 25.7 kB / 0.5073 GB, free: 14.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.031e-05/0.4022, allocations: 80.14 kB / 0.5074 GB, free: 13.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.4022, allocations: 7.938 kB / 0.5074 GB, free: 13.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.113e-06/0.4022, allocations: 0 / 0.5074 GB, free: 13.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.531e-05/0.4023, allocations: 314.8 kB / 0.5077 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-06/0.4023, allocations: 0 / 0.5077 GB, free: 13.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.599e-06/0.4023, allocations: 0 / 0.5077 GB, free: 13.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.499e-05/0.4023, allocations: 8.062 kB / 0.5077 GB, free: 13.6 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4023, allocations: 0 / 0.5077 GB, free: 13.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.187e-05/0.4024, allocations: 29.7 kB / 0.5078 GB, free: 13.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.4024, allocations: 14.48 kB / 0.5078 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.4024, allocations: 0 / 0.5078 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.4024, allocations: 3.953 kB / 0.5078 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.923e-05/0.4025, allocations: 0 / 0.5078 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.4025, allocations: 0 / 0.5078 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.03e-05/0.4025, allocations: 0 / 0.5078 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.4025, allocations: 4 kB / 0.5078 GB, free: 13.55 MB / 382.1 MB 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 4.065e-05/0.4025, allocations: 109.9 kB / 0.5079 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.86e-05/0.4026, allocations: 3.938 kB / 0.5079 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.703e-05/0.4026, allocations: 44.77 kB / 0.5079 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.4026, allocations: 7.953 kB / 0.5079 GB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.4027, allocations: 0 / 0.5079 GB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4027, allocations: 0 / 0.5079 GB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.061e-05/0.4027, allocations: 141.7 kB / 0.5081 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.4027, allocations: 0 / 0.5081 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.041e-05/0.4027, allocations: 8.031 kB / 0.5081 GB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.4027, allocations: 3.984 kB / 0.5081 GB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.4028, allocations: 0 / 0.5081 GB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.4028, allocations: 0 / 0.5081 GB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4028, allocations: 3.953 kB / 0.5081 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.07e-05/0.4028, allocations: 61.08 kB / 0.5081 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.69e-05/0.4029, allocations: 79.22 kB / 0.5082 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.258e-06/0.4029, allocations: 0 / 0.5082 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.375e-06/0.4029, allocations: 11.95 kB / 0.5082 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.245e-05/0.4029, allocations: 0 / 0.5082 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.4029, allocations: 7.891 kB / 0.5082 GB, free: 12.97 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.22e-05/0.4029, allocations: 75.28 kB / 0.5083 GB, free: 12.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4029, allocations: 4 kB / 0.5083 GB, free: 12.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002252/0.4032, allocations: 12 kB / 0.5083 GB, free: 12.88 MB / 382.1 MB 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.0001224/0.4033, allocations: 103.2 kB / 0.5084 GB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.223e-05/0.4034, allocations: 15.98 kB / 0.5084 GB, free: 12.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4034, allocations: 0 / 0.5084 GB, free: 12.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.835e-06/0.4034, allocations: 3.938 kB / 0.5084 GB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.4035, allocations: 4 kB / 0.5084 GB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001295/0.4037, allocations: 70.92 kB / 0.5085 GB, free: 12.65 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.612e-05/0.4038, allocations: 0.6692 MB / 0.5092 GB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.696e-05/0.4038, allocations: 7.984 kB / 0.5092 GB, free: 11.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.245e-06/0.4038, allocations: 11.56 kB / 0.5092 GB, free: 11.94 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4038, allocations: 0 / 0.5092 GB, free: 11.94 MB / 382.1 MB Notification: Performance of Templates: time 0.002013/0.4058, allocations: 435.7 kB / 0.5096 GB, free: 11.51 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) Environment - environmentSimulation: