Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.6/1.6, allocations: 292.3 MB / 308.1 MB, free: 4.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001147/0.001147, allocations: 187.9 kB / 376.9 MB, free: 1.828 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.282/1.282, allocations: 205.1 MB / 0.6354 GB, free: 9.809 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009033/0.0009033, allocations: 101.4 kB / 0.748 GB, free: 61.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 59.91 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2058, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001826/0.2077, allocations: 0.6837 MB / 0.9829 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008266/0.2085, allocations: 386.7 kB / 0.9833 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.264e-05/0.2086, allocations: 0 / 0.9833 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.8e-05/0.2086, allocations: 4 kB / 0.9833 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.771e-05/0.2087, allocations: 0 / 0.9833 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004558/0.2091, allocations: 71.84 kB / 0.9833 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7e-05/0.2092, allocations: 27.92 kB / 0.9834 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.604e-05/0.2093, allocations: 4 kB / 0.9834 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.981e-05/0.2093, allocations: 7.938 kB / 0.9834 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.124e-05/0.2094, allocations: 19.91 kB / 0.9834 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.2094, allocations: 0 / 0.9834 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004156/0.2098, allocations: 279.6 kB / 0.9837 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/0.2098, allocations: 0 / 0.9837 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.976e-05/0.2099, allocations: 11.94 kB / 0.9837 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.2101, allocations: 107.8 kB / 0.9838 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2101, allocations: 0 / 0.9838 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.61e-07/0.2101, allocations: 0 / 0.9838 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.2101, allocations: 0 / 0.9838 GB, free: 8.797 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004749/0.2106, allocations: 363.7 kB / 0.9841 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.2106, allocations: 8.031 kB / 0.9841 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.327e-05/0.2107, allocations: 8.938 kB / 0.9841 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.2108, allocations: 164.3 kB / 0.9843 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.2108, allocations: 8.312 kB / 0.9843 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.2109, allocations: 4.375 kB / 0.9843 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.211, allocations: 50.19 kB / 0.9844 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.211, allocations: 192 / 0.9844 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.211, allocations: 3.938 kB / 0.9844 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.211, allocations: 7.984 kB / 0.9844 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.533e-05/0.2111, allocations: 15.94 kB / 0.9844 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000166/0.2113, allocations: 177.6 kB / 0.9846 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.277e-05/0.2114, allocations: 54.56 kB / 0.9846 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.229e-05/0.2114, allocations: 36.78 kB / 0.9846 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006168/0.212, allocations: 461.5 kB / 0.9851 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.2121, allocations: 38.55 kB / 0.9851 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.2121, allocations: 0 / 0.9851 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.001128/0.2132, allocations: 0.5955 MB / 0.9857 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.2132, allocations: 51.41 kB / 0.9858 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.373e-05/0.2133, allocations: 97.86 kB / 0.9858 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.2133, allocations: 29.7 kB / 0.9859 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.441e-05/0.2134, allocations: 80.14 kB / 0.9859 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/0.2134, allocations: 39.45 kB / 0.986 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.191e-05/0.2134, allocations: 29.7 kB / 0.986 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.621e-05/0.2135, allocations: 314.8 kB / 0.9863 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.348e-05/0.2136, allocations: 23.98 kB / 0.9863 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.322e-05/0.2136, allocations: 24 kB / 0.9864 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.311e-05/0.2137, allocations: 65.03 kB / 0.9864 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.2137, allocations: 0 / 0.9864 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001379/0.2139, allocations: 89.62 kB / 0.9865 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.2139, allocations: 10.81 kB / 0.9865 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.2139, allocations: 0 / 0.9865 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.2139, allocations: 0 / 0.9865 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.59e-05/0.214, allocations: 23.98 kB / 0.9865 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.214, allocations: 8 kB / 0.9865 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.096e-05/0.2141, allocations: 0 / 0.9865 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.2141, allocations: 0 / 0.9865 GB, free: 5.559 MB / 0.7136 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 (13): * Single equations (assignments): 13 * 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.587e-05/0.2141, allocations: 121.8 kB / 0.9867 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.2142, allocations: 15.83 kB / 0.9867 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001855/0.2144, allocations: 109.6 kB / 0.9868 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2144, allocations: 4 kB / 0.9868 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2144, allocations: 0 / 0.9868 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2144, allocations: 0 / 0.9868 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003372/0.2147, allocations: 358.5 kB / 0.9871 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2148, allocations: 0 / 0.9871 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.891e-05/0.2149, allocations: 27.92 kB / 0.9872 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2149, allocations: 0 / 0.9872 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.2149, allocations: 4.094 kB / 0.9872 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.2149, allocations: 7.938 kB / 0.9872 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2149, allocations: 0 / 0.9872 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.2167, allocations: 1.388 MB / 0.9885 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.595e-05/0.2168, allocations: 89.12 kB / 0.9886 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.018e-05/0.2168, allocations: 0 / 0.9886 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.563e-05/0.2169, allocations: 11.88 kB / 0.9886 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.899e-05/0.2169, allocations: 7.984 kB / 0.9886 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.2169, allocations: 8.094 kB / 0.9886 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.787e-05/0.2169, allocations: 79.28 kB / 0.9887 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2169, allocations: 0 / 0.9887 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003179/0.2173, allocations: 43.98 kB / 0.9888 GB, free: 3.051 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002044/0.2175, allocations: 147.2 kB / 0.9889 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001235/0.2176, allocations: 55.92 kB / 0.9889 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2176, allocations: 3.938 kB / 0.989 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.598e-05/0.2177, allocations: 39.92 kB / 0.989 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001886/0.2179, allocations: 4 kB / 0.989 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000377/0.2182, allocations: 330.5 kB / 0.9893 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.2185, allocations: 0.6887 MB / 0.99 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.213e-05/0.2185, allocations: 11.94 kB / 0.99 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.249e-05/0.2186, allocations: 15.44 kB / 0.99 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of SimCode: time 2.1e-07/0.2186, allocations: 0 / 0.99 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of Templates: time 0.003241/0.2218, allocations: 1.425 MB / 0.9914 GB, free: 276 kB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)