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.00102/0.00102, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001117/0.001117, allocations: 198.5 kB / 16.14 MB, free: 6.703 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.517/1.517, allocations: 205.1 MB / 222 MB, free: 4.961 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.6365/0.6365, allocations: 95.48 MB / 364.8 MB, free: 10.13 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.001365/0.001365, allocations: 63.92 kB / 444.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3384, allocations: 69.07 MB / 0.5017 GB, free: 17.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001726/0.3402, allocations: 0.6016 MB / 0.5023 GB, free: 17.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000692/0.3409, allocations: 333.9 kB / 0.5026 GB, free: 16.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.564e-05/0.3409, allocations: 0 / 0.5026 GB, free: 16.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.264e-05/0.341, allocations: 0 / 0.5026 GB, free: 16.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.653e-06/0.341, allocations: 0 / 0.5026 GB, free: 16.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.3413, allocations: 71.86 kB / 0.5027 GB, free: 16.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.712e-05/0.3414, allocations: 3.938 kB / 0.5027 GB, free: 16.78 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.937e-05/0.3414, allocations: 0 / 0.5027 GB, free: 16.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.78e-05/0.3414, allocations: 0 / 0.5027 GB, free: 16.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.444e-05/0.3415, allocations: 7.938 kB / 0.5027 GB, free: 16.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.3415, allocations: 0 / 0.5027 GB, free: 16.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003232/0.3418, allocations: 231.7 kB / 0.5029 GB, free: 16.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.215e-05/0.3418, allocations: 0 / 0.5029 GB, free: 16.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.02e-05/0.3419, allocations: 0 / 0.5029 GB, free: 16.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.3421, allocations: 83.88 kB / 0.503 GB, free: 16.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.3421, allocations: 4 kB / 0.503 GB, free: 16.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3421, allocations: 4 kB / 0.503 GB, free: 16.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.3421, allocations: 0 / 0.503 GB, free: 16.45 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.0003437/0.3424, allocations: 335.5 kB / 0.5033 GB, free: 16.08 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.3425, allocations: 11.98 kB / 0.5033 GB, free: 16.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.819e-05/0.3426, allocations: 4.938 kB / 0.5033 GB, free: 16.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.278e-05/0.3426, allocations: 160.4 kB / 0.5035 GB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.3427, allocations: 8.312 kB / 0.5035 GB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.3427, allocations: 3.938 kB / 0.5035 GB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.3428, allocations: 33.7 kB / 0.5035 GB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.3428, allocations: 0 / 0.5035 GB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.3428, allocations: 0 / 0.5035 GB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.3428, allocations: 0 / 0.5035 GB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.285e-05/0.3429, allocations: 11.92 kB / 0.5035 GB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001227/0.343, allocations: 141.7 kB / 0.5037 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.259e-05/0.343, allocations: 26.55 kB / 0.5037 GB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.524e-05/0.3431, allocations: 4.859 kB / 0.5037 GB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005109/0.3436, allocations: 429.6 kB / 0.5041 GB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.3436, allocations: 30.56 kB / 0.5042 GB, free: 15.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.3436, allocations: 0 / 0.5042 GB, free: 15.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001621/0.3438, allocations: 41.53 kB / 0.5042 GB, free: 14.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.3438, allocations: 59.53 kB / 0.5042 GB, free: 14.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.26e-05/0.3438, allocations: 89.86 kB / 0.5043 GB, free: 14.81 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.705e-06/0.3438, allocations: 25.7 kB / 0.5044 GB, free: 14.78 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.695e-05/0.3439, allocations: 84.12 kB / 0.5044 GB, free: 14.69 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.3439, allocations: 0 / 0.5044 GB, free: 14.69 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/0.3439, allocations: 13.72 kB / 0.5045 GB, free: 14.67 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.263e-05/0.344, allocations: 314.8 kB / 0.5048 GB, free: 14.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.024e-05/0.344, allocations: 0 / 0.5048 GB, free: 14.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.612e-06/0.344, allocations: 4 kB / 0.5048 GB, free: 14.35 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.555e-05/0.3441, allocations: 12.84 kB / 0.5048 GB, free: 14.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3441, allocations: 0 / 0.5048 GB, free: 14.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.551e-05/0.3441, allocations: 37.58 kB / 0.5048 GB, free: 14.29 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.3442, allocations: 8 kB / 0.5048 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3442, allocations: 0 / 0.5048 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.3442, allocations: 0 / 0.5048 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.355e-05/0.3442, allocations: 0 / 0.5048 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.3442, allocations: 0 / 0.5048 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.184e-05/0.3443, allocations: 8.094 kB / 0.5048 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.3443, allocations: 4 kB / 0.5048 GB, free: 14.27 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.139e-05/0.3443, allocations: 105.8 kB / 0.5049 GB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.122e-05/0.3444, allocations: 11.86 kB / 0.5049 GB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.147e-05/0.3444, allocations: 44.72 kB / 0.505 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3445, allocations: 0 / 0.505 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.3445, allocations: 0 / 0.505 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3445, allocations: 3.938 kB / 0.505 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.109e-05/0.3445, allocations: 157.6 kB / 0.5051 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3445, allocations: 0 / 0.5051 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.091e-05/0.3446, allocations: 4 kB / 0.5051 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3446, allocations: 3.984 kB / 0.5051 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.3446, allocations: 0 / 0.5051 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3446, allocations: 0 / 0.5051 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3446, allocations: 0 / 0.5051 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.87e-05/0.3447, allocations: 61.06 kB / 0.5052 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.236e-05/0.3447, allocations: 83.25 kB / 0.5053 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.3447, allocations: 4 kB / 0.5053 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.226e-06/0.3447, allocations: 4 kB / 0.5053 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.289e-05/0.3447, allocations: 0 / 0.5053 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.3447, allocations: 4 kB / 0.5053 GB, free: 13.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.77e-05/0.3448, allocations: 83.22 kB / 0.5054 GB, free: 13.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3448, allocations: 0 / 0.5054 GB, free: 13.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002003/0.345, allocations: 8 kB / 0.5054 GB, free: 13.61 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 (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.0001546/0.3451, allocations: 115.2 kB / 0.5055 GB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.822e-05/0.3452, allocations: 4 kB / 0.5055 GB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3452, allocations: 0 / 0.5055 GB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.262e-06/0.3452, allocations: 4 kB / 0.5055 GB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.3454, allocations: 3.938 kB / 0.5055 GB, free: 13.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001755/0.3456, allocations: 86.59 kB / 0.5056 GB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.3457, allocations: 0.6731 MB / 0.5062 GB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.712e-05/0.3457, allocations: 4.125 kB / 0.5062 GB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.158e-05/0.3457, allocations: 7.438 kB / 0.5062 GB, free: 12.65 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3457, allocations: 0 / 0.5062 GB, free: 12.65 MB / 382.1 MB Notification: Performance of Templates: time 0.002253/0.348, allocations: 452.3 kB / 0.5067 GB, free: 12.21 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (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)