Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.00111/0.001111, allocations: 90.75 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.009642/0.009642, allocations: 173.7 kB / 16.27 MB, free: 6.676 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.453/1.453, allocations: 205.4 MB / 222.4 MB, free: 5.801 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.667/1.667, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.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.0005042/0.0005043, allocations: 21.44 kB / 0.6743 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2108, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0007058/0.2116, allocations: 323.5 kB / 0.7882 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006376/0.2122, allocations: 347 kB / 0.7885 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.206e-06/0.2122, allocations: 0 / 0.7885 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.796e-06/0.2123, allocations: 0 / 0.7885 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.848e-06/0.2123, allocations: 0 / 0.7885 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000331/0.2126, allocations: 67.86 kB / 0.7886 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 2.925e-05/0.2126, allocations: 4 kB / 0.7886 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.596e-05/0.2127, allocations: 7.922 kB / 0.7886 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.431e-05/0.2127, allocations: 4 kB / 0.7886 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 1.874e-05/0.2127, allocations: 0 / 0.7886 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.624e-06/0.2127, allocations: 0 / 0.7886 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003862/0.2131, allocations: 271.7 kB / 0.7889 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.689e-06/0.2132, allocations: 4 kB / 0.7889 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.669e-05/0.2132, allocations: 33.62 kB / 0.7889 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.2133, allocations: 83.86 kB / 0.789 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2133, allocations: 0 / 0.789 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2134, allocations: 0 / 0.789 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.805e-06/0.2134, allocations: 4 kB / 0.789 GB, free: 10.44 MB / 0.6075 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.0003782/0.2137, allocations: 323.6 kB / 0.7893 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.2138, allocations: 12.03 kB / 0.7893 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.326e-05/0.2138, allocations: 0.9375 kB / 0.7893 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.2139, allocations: 164.4 kB / 0.7895 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.214, allocations: 384 / 0.7895 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.704e-06/0.214, allocations: 384 / 0.7895 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.32e-05/0.2141, allocations: 38.19 kB / 0.7895 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.999e-06/0.2141, allocations: 4.188 kB / 0.7895 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.2141, allocations: 3.938 kB / 0.7895 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.2141, allocations: 0 / 0.7895 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.89e-05/0.2141, allocations: 8 kB / 0.7895 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001241/0.2142, allocations: 141.7 kB / 0.7897 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.346e-05/0.2143, allocations: 18.56 kB / 0.7897 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.514e-05/0.2143, allocations: 12.89 kB / 0.7897 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004523/0.2148, allocations: 425.5 kB / 0.7901 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.2148, allocations: 34.56 kB / 0.7901 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.2148, allocations: 0 / 0.7901 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001223/0.2149, allocations: 37.64 kB / 0.7902 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.215, allocations: 51.41 kB / 0.7902 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.052e-05/0.215, allocations: 97.92 kB / 0.7903 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.215, allocations: 25.7 kB / 0.7903 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.029e-05/0.2151, allocations: 80.14 kB / 0.7904 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.2151, allocations: 7.906 kB / 0.7904 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.019e-05/0.2151, allocations: 13.7 kB / 0.7904 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.363e-05/0.2152, allocations: 310.8 kB / 0.7907 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.556e-06/0.2152, allocations: 0 / 0.7907 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.799e-06/0.2152, allocations: 3.938 kB / 0.7907 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.54e-05/0.2153, allocations: 16.92 kB / 0.7907 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2153, allocations: 0 / 0.7907 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.441e-05/0.2154, allocations: 33.7 kB / 0.7908 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.2154, allocations: 4 kB / 0.7908 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.2154, allocations: 3.938 kB / 0.7908 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.2154, allocations: 3.938 kB / 0.7908 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.788e-05/0.2154, allocations: 7.984 kB / 0.7908 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.2154, allocations: 0 / 0.7908 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.113e-05/0.2155, allocations: 4 kB / 0.7908 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-06/0.2155, allocations: 0 / 0.7908 GB, free: 8.273 MB / 0.6075 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 6.397e-05/0.2155, allocations: 114.5 kB / 0.7909 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.145e-05/0.2156, allocations: 4 kB / 0.7909 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.849e-05/0.2157, allocations: 44.75 kB / 0.791 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2157, allocations: 0 / 0.791 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.2157, allocations: 0 / 0.791 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.2157, allocations: 0 / 0.791 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.625e-05/0.2158, allocations: 141.7 kB / 0.7911 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2158, allocations: 0 / 0.7911 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.185e-05/0.2158, allocations: 8.031 kB / 0.7911 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2158, allocations: 0 / 0.7911 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.2158, allocations: 3.938 kB / 0.7911 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2158, allocations: 0 / 0.7911 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2158, allocations: 0 / 0.7911 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.231e-05/0.2159, allocations: 65.06 kB / 0.7912 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.043e-05/0.216, allocations: 77.39 kB / 0.7912 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.216, allocations: 3.938 kB / 0.7912 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.224e-06/0.216, allocations: 4.031 kB / 0.7912 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.215e-05/0.216, allocations: 4 kB / 0.7912 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.216, allocations: 7.922 kB / 0.7913 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.51e-05/0.2161, allocations: 76.34 kB / 0.7913 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2161, allocations: 0 / 0.7913 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001893/0.2163, allocations: 12 kB / 0.7913 GB, free: 7.613 MB / 0.6075 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.0001575/0.2164, allocations: 110.1 kB / 0.7914 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.424e-05/0.2165, allocations: 12 kB / 0.7915 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2165, allocations: 0 / 0.7915 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.303e-06/0.2165, allocations: 3.938 kB / 0.7915 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001201/0.2166, allocations: 11.92 kB / 0.7915 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000132/0.2168, allocations: 70.77 kB / 0.7915 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.217, allocations: 0.6692 MB / 0.7922 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.761e-05/0.2171, allocations: 4 kB / 0.7922 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.217e-05/0.2171, allocations: 11.56 kB / 0.7922 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.2171, allocations: 0 / 0.7922 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of Templates: time 0.002179/0.2193, allocations: 452.4 kB / 0.7926 GB, free: 6.223 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) Environment - environmentSimulation: