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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.415/1.415, allocations: 252 MB / 268 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 185.2 kB / 327.6 MB, free: 2.066 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.064/2.064, allocations: 205.4 MB / 0.5786 GB, free: 20.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009674/0.0009675, allocations: 91.72 kB / 0.6833 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003466, allocations: 13.31 kB / 0.7976 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2104, allocations: 106.3 MB / 0.9015 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0007167/0.2112, allocations: 330.2 kB / 0.9018 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005836/0.2118, allocations: 352.2 kB / 0.9021 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.058e-05/0.2118, allocations: 0 / 0.9021 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.239e-05/0.2118, allocations: 0 / 0.9021 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.949e-06/0.2118, allocations: 0 / 0.9021 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003216/0.2122, allocations: 67.86 kB / 0.9022 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.793e-05/0.2122, allocations: 4 kB / 0.9022 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.26e-05/0.2123, allocations: 3.984 kB / 0.9022 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.325e-05/0.2123, allocations: 0 / 0.9022 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.492e-05/0.2123, allocations: 4 kB / 0.9022 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.899e-06/0.2123, allocations: 0 / 0.9022 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003225/0.2127, allocations: 267.7 kB / 0.9024 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.124e-05/0.2127, allocations: 7.922 kB / 0.9025 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.762e-05/0.2127, allocations: 25.7 kB / 0.9025 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.2128, allocations: 51.91 kB / 0.9025 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.2128, allocations: 4 kB / 0.9025 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2128, allocations: 4 kB / 0.9025 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.2128, allocations: 0 / 0.9025 GB, free: 62.2 MB / 0.6042 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.0002226/0.2131, allocations: 335.5 kB / 0.9029 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.2131, allocations: 8.031 kB / 0.9029 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.46e-05/0.2132, allocations: 4.938 kB / 0.9029 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.436e-05/0.2132, allocations: 164.4 kB / 0.903 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.527e-06/0.2133, allocations: 384 / 0.903 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-06/0.2133, allocations: 384 / 0.903 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.39e-05/0.2134, allocations: 26.27 kB / 0.9031 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.2134, allocations: 8.188 kB / 0.9031 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.619e-06/0.2134, allocations: 3.938 kB / 0.9031 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.2134, allocations: 0 / 0.9031 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.884e-05/0.2134, allocations: 11.92 kB / 0.9031 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001102/0.2135, allocations: 149.7 kB / 0.9032 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 2.723e-05/0.2136, allocations: 18.61 kB / 0.9032 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.392e-05/0.2136, allocations: 4.859 kB / 0.9032 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004055/0.214, allocations: 429.6 kB / 0.9036 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.214, allocations: 30.56 kB / 0.9037 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.214, allocations: 0 / 0.9037 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001421/0.2142, allocations: 41.58 kB / 0.9037 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.107e-05/0.2142, allocations: 55.41 kB / 0.9038 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.888e-05/0.2142, allocations: 93.98 kB / 0.9039 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.384e-06/0.2142, allocations: 25.7 kB / 0.9039 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.182e-05/0.2143, allocations: 84.12 kB / 0.904 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.2143, allocations: 0 / 0.904 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-06/0.2143, allocations: 3.938 kB / 0.904 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.535e-05/0.2144, allocations: 310.8 kB / 0.9043 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.155e-06/0.2144, allocations: 4 kB / 0.9043 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.168e-06/0.2144, allocations: 0 / 0.9043 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.271e-05/0.2144, allocations: 12.92 kB / 0.9043 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.2144, allocations: 0 / 0.9043 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.416e-05/0.2145, allocations: 37.64 kB / 0.9043 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.2145, allocations: 4 kB / 0.9043 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.2145, allocations: 7.938 kB / 0.9043 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.2145, allocations: 7.922 kB / 0.9043 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.114e-05/0.2146, allocations: 0 / 0.9043 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.2146, allocations: 0 / 0.9043 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.558e-06/0.2146, allocations: 0 / 0.9043 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.2146, allocations: 4 kB / 0.9043 GB, free: 60.04 MB / 0.6042 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 4.222e-05/0.2147, allocations: 109.9 kB / 0.9044 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.842e-05/0.2147, allocations: 0 / 0.9044 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.312e-05/0.2148, allocations: 44.75 kB / 0.9045 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.2148, allocations: 0 / 0.9045 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.2148, allocations: 7.938 kB / 0.9045 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2148, allocations: 0 / 0.9045 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.015e-05/0.2148, allocations: 141.7 kB / 0.9046 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.2149, allocations: 4.031 kB / 0.9046 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.079e-05/0.2149, allocations: 0 / 0.9046 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.2149, allocations: 4 kB / 0.9046 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.2149, allocations: 3.938 kB / 0.9046 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2149, allocations: 3.984 kB / 0.9046 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2149, allocations: 0 / 0.9046 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.882e-05/0.215, allocations: 57.14 kB / 0.9047 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.521e-05/0.215, allocations: 77.11 kB / 0.9048 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.848e-06/0.215, allocations: 7.969 kB / 0.9048 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.452e-06/0.215, allocations: 0 / 0.9048 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.624e-05/0.215, allocations: 3.984 kB / 0.9048 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-06/0.215, allocations: 0 / 0.9048 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.32e-05/0.2151, allocations: 75.28 kB / 0.9049 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2151, allocations: 0 / 0.9049 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001815/0.2152, allocations: 12 kB / 0.9049 GB, free: 59.39 MB / 0.6042 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.0001446/0.2154, allocations: 111.2 kB / 0.905 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.283e-05/0.2155, allocations: 8 kB / 0.905 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2155, allocations: 0 / 0.905 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.584e-06/0.2155, allocations: 7.984 kB / 0.905 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001269/0.2156, allocations: 1.891 kB / 0.905 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001507/0.2158, allocations: 108.2 kB / 0.9051 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.948e-05/0.2159, allocations: 0.6731 MB / 0.9058 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.09e-05/0.2159, allocations: 7.438 kB / 0.9058 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/0.2159, allocations: 0 / 0.9058 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of Templates: time 0.001519/0.2174, allocations: 461.6 kB / 0.9062 GB, free: 57.96 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (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)