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.001087/0.001087, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001062/0.001062, allocations: 177.3 kB / 15.94 MB, free: 228 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.328/1.328, allocations: 205.4 MB / 222.1 MB, free: 5.527 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.5695/0.5695, allocations: 95.58 MB / 365.9 MB, free: 10.36 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.0005895/0.0005897, allocations: 16 kB / 446.8 MB, free: 9.348 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3066, allocations: 70.33 MB / 0.505 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0005097/0.3072, allocations: 269.7 kB / 0.5053 GB, free: 16.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003844/0.3076, allocations: 289 kB / 0.5055 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.768e-06/0.3076, allocations: 0 / 0.5055 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.375e-06/0.3076, allocations: 0 / 0.5055 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.579e-06/0.3076, allocations: 0 / 0.5055 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.3079, allocations: 55.88 kB / 0.5056 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 2.982e-05/0.3079, allocations: 4 kB / 0.5056 GB, free: 15.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.206e-05/0.308, allocations: 0 / 0.5056 GB, free: 15.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.206e-05/0.308, allocations: 7.984 kB / 0.5056 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.256e-05/0.308, allocations: 0 / 0.5056 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.308, allocations: 3.938 kB / 0.5056 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002508/0.3083, allocations: 211.7 kB / 0.5058 GB, free: 15.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.065e-06/0.3083, allocations: 3.984 kB / 0.5058 GB, free: 15.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.63e-05/0.3083, allocations: 29.69 kB / 0.5058 GB, free: 15.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.307e-05/0.3084, allocations: 51.92 kB / 0.5059 GB, free: 15.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.3084, allocations: 4 kB / 0.5059 GB, free: 15.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3084, allocations: 0 / 0.5059 GB, free: 15.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.555e-06/0.3085, allocations: 0 / 0.5059 GB, free: 15.61 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.0001932/0.3087, allocations: 339.4 kB / 0.5062 GB, free: 15.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.3087, allocations: 11.98 kB / 0.5062 GB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.096e-05/0.3087, allocations: 4 kB / 0.5062 GB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.135e-05/0.3088, allocations: 163.1 kB / 0.5064 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.3088, allocations: 0 / 0.5064 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.667e-06/0.3088, allocations: 0 / 0.5064 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.467e-05/0.3089, allocations: 33.66 kB / 0.5064 GB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.3089, allocations: 0 / 0.5064 GB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.753e-06/0.3089, allocations: 4 kB / 0.5064 GB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.3089, allocations: 0 / 0.5064 GB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.694e-05/0.309, allocations: 3.938 kB / 0.5064 GB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.508e-05/0.3091, allocations: 145.7 kB / 0.5066 GB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.912e-05/0.3091, allocations: 22.55 kB / 0.5066 GB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003682/0.3095, allocations: 433.5 kB / 0.507 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.3095, allocations: 30.56 kB / 0.507 GB, free: 14.19 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.3095, allocations: 0 / 0.507 GB, free: 14.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001259/0.3096, allocations: 41.5 kB / 0.5071 GB, free: 14.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.006e-05/0.3097, allocations: 55.34 kB / 0.5071 GB, free: 14.08 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.632e-05/0.3097, allocations: 89.98 kB / 0.5072 GB, free: 13.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.353e-06/0.3097, allocations: 37.7 kB / 0.5072 GB, free: 13.94 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.247e-05/0.3097, allocations: 80.14 kB / 0.5073 GB, free: 13.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.3098, allocations: 0 / 0.5073 GB, free: 13.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.613e-06/0.3098, allocations: 0 / 0.5073 GB, free: 13.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.693e-05/0.3098, allocations: 310.8 kB / 0.5076 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.193e-06/0.3098, allocations: 0 / 0.5076 GB, free: 13.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.581e-06/0.3098, allocations: 7.984 kB / 0.5076 GB, free: 13.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.37e-05/0.3099, allocations: 0 / 0.5076 GB, free: 13.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.3099, allocations: 4.062 kB / 0.5076 GB, free: 13.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.965e-05/0.3099, allocations: 29.7 kB / 0.5077 GB, free: 13.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.3099, allocations: 8 kB / 0.5077 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3099, allocations: 0 / 0.5077 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.31, allocations: 3.953 kB / 0.5077 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.667e-05/0.31, allocations: 0 / 0.5077 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.31, allocations: 0 / 0.5077 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.297e-06/0.31, allocations: 4 kB / 0.5077 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.31, allocations: 3.938 kB / 0.5077 GB, free: 13.48 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 3.948e-05/0.3101, allocations: 117.9 kB / 0.5078 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.771e-05/0.3101, allocations: 0 / 0.5078 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.639e-05/0.3102, allocations: 44.77 kB / 0.5078 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.3102, allocations: 0 / 0.5078 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3102, allocations: 3.953 kB / 0.5078 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.3102, allocations: 0 / 0.5078 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.781e-05/0.3102, allocations: 149.7 kB / 0.508 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3103, allocations: 0 / 0.508 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.097e-05/0.3103, allocations: 7.938 kB / 0.508 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3103, allocations: 4.031 kB / 0.508 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.3103, allocations: 0 / 0.508 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3103, allocations: 0 / 0.508 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3103, allocations: 0 / 0.508 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.784e-05/0.3104, allocations: 65.02 kB / 0.5081 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.62e-05/0.3104, allocations: 83.06 kB / 0.5081 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.3104, allocations: 0 / 0.5081 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.955e-06/0.3104, allocations: 4.031 kB / 0.5081 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.195e-05/0.3104, allocations: 8 kB / 0.5081 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.3104, allocations: 4 kB / 0.5081 GB, free: 12.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.496e-05/0.3105, allocations: 79.23 kB / 0.5082 GB, free: 12.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3105, allocations: 0 / 0.5082 GB, free: 12.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001959/0.3107, allocations: 8 kB / 0.5082 GB, free: 12.81 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.0001162/0.3108, allocations: 111.2 kB / 0.5083 GB, free: 12.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 5.495e-05/0.3108, allocations: 4 kB / 0.5083 GB, free: 12.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3109, allocations: 4.062 kB / 0.5083 GB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.462e-06/0.3109, allocations: 7.938 kB / 0.5084 GB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.025e-05/0.311, allocations: 2.031 kB / 0.5084 GB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001259/0.3111, allocations: 77.95 kB / 0.5084 GB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.981e-05/0.3112, allocations: 0.6731 MB / 0.5091 GB, free: 11.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.482e-05/0.3112, allocations: 0 / 0.5091 GB, free: 11.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.646e-06/0.3112, allocations: 7.438 kB / 0.5091 GB, free: 11.87 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3112, allocations: 4.062 kB / 0.5091 GB, free: 11.86 MB / 382.1 MB Notification: Performance of Templates: time 0.002095/0.3133, allocations: 435.8 kB / 0.5095 GB, free: 11.44 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: