Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009381/0.0009381, allocations: 80.8 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9634/0.9634, allocations: 177.1 MB / 204.6 MB, free: 5.238 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.975/1.975, allocations: 389.6 MB / 0.6354 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.7753 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.518e-05/1.667e-05, allocations: 6.609 kB / 0.7753 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001207/0.001224, allocations: 0.6875 MB / 0.7759 GB, free: 4.656 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0005107/0.001734, allocations: 328.2 kB / 0.7762 GB, free: 4.34 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.189e-05/0.001756, allocations: 0 / 0.7762 GB, free: 4.34 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.316e-05/0.00177, allocations: 3.938 kB / 0.7762 GB, free: 4.336 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.692e-05/0.001796, allocations: 2.062 kB / 0.7763 GB, free: 4.336 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003089/0.002105, allocations: 96.95 kB / 0.7763 GB, free: 4.242 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.279e-05/0.002158, allocations: 25.34 kB / 0.7764 GB, free: 4.223 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.124e-05/0.002189, allocations: 4 kB / 0.7764 GB, free: 4.219 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.068e-05/0.00225, allocations: 16.95 kB / 0.7764 GB, free: 4.203 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.765e-05/0.002298, allocations: 13.52 kB / 0.7764 GB, free: 4.191 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.002312, allocations: 4 kB / 0.7764 GB, free: 4.188 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003028/0.002615, allocations: 279.6 kB / 0.7767 GB, free: 3.914 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.406e-05/0.002629, allocations: 6.078 kB / 0.7767 GB, free: 3.91 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.683e-05/0.002646, allocations: 15.61 kB / 0.7767 GB, free: 3.898 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.002793, allocations: 120.8 kB / 0.7768 GB, free: 3.781 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.614e-06/0.002795, allocations: 4 kB / 0.7768 GB, free: 3.777 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.7e-07/0.002796, allocations: 0 / 0.7768 GB, free: 3.777 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.367e-06/0.002799, allocations: 0 / 0.7768 GB, free: 3.777 MB / 0.7292 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.0002591/0.003058, allocations: 269.5 kB / 0.7771 GB, free: 3.488 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.003088, allocations: 8.75 kB / 0.7771 GB, free: 3.48 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.018e-05/0.003148, allocations: 11.38 kB / 0.7771 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.62e-05/0.003225, allocations: 113.7 kB / 0.7772 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.275e-06/0.003233, allocations: 384 / 0.7772 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.003249, allocations: 5.031 kB / 0.7772 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.388e-05/0.003332, allocations: 101.6 kB / 0.7773 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.00334, allocations: 192 / 0.7773 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.003346, allocations: 384 / 0.7773 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.003352, allocations: 8.984 kB / 0.7773 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.225e-05/0.003374, allocations: 15.92 kB / 0.7773 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.104e-05/0.003465, allocations: 78.27 kB / 0.7774 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.877e-05/0.003534, allocations: 47.16 kB / 0.7774 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.937e-05/0.003553, allocations: 21.56 kB / 0.7775 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002671/0.003821, allocations: 80.36 kB / 0.7775 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.003839, allocations: 30.56 kB / 0.7776 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.00384, allocations: 0 / 0.7776 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0008111/0.004651, allocations: 441.8 kB / 0.778 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.004675, allocations: 56.34 kB / 0.778 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.898e-05/0.004724, allocations: 108.1 kB / 0.7781 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.004735, allocations: 29.7 kB / 0.7782 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.999e-05/0.004755, allocations: 88.06 kB / 0.7783 GB, free: 2.121 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.004787, allocations: 43.56 kB / 0.7783 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.004817, allocations: 26.58 kB / 0.7783 GB, free: 2.047 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.872e-05/0.004886, allocations: 322.8 kB / 0.7786 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.254e-05/0.004898, allocations: 8.844 kB / 0.7786 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.448e-05/0.004913, allocations: 8 kB / 0.7786 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.227e-05/0.004955, allocations: 43.2 kB / 0.7787 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.004956, allocations: 1.75 kB / 0.7787 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 7.956e-05/0.005035, allocations: 77.56 kB / 0.7788 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.005046, allocations: 4 kB / 0.7788 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.005049, allocations: 0 / 0.7788 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.005059, allocations: 0.5 kB / 0.7788 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.782e-05/0.005117, allocations: 23.98 kB / 0.7788 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.00512, allocations: 5.031 kB / 0.7788 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.147e-05/0.005132, allocations: 0 / 0.7788 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.005139, allocations: 8 kB / 0.7788 GB, free: 1.543 MB / 0.7292 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 4.807e-05/0.005187, allocations: 111.5 kB / 0.7789 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.07e-05/0.005208, allocations: 15.98 kB / 0.7789 GB, free: 1.41 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.421e-05/0.005292, allocations: 69.8 kB / 0.779 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.005294, allocations: 0.7812 kB / 0.779 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.005295, allocations: 0 / 0.779 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.0053, allocations: 12.39 kB / 0.779 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.005481, allocations: 222.8 kB / 0.7792 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.005481, allocations: 0.625 kB / 0.7792 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.824e-05/0.00554, allocations: 25.3 kB / 0.7792 GB, free: 1.062 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.005542, allocations: 0 / 0.7792 GB, free: 1.062 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-06/0.005548, allocations: 4 kB / 0.7792 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.005549, allocations: 0 / 0.7792 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.005552, allocations: 12.44 kB / 0.7793 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.005677, allocations: 184.7 kB / 0.7794 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.579e-05/0.005693, allocations: 11.94 kB / 0.7794 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.707e-06/0.005702, allocations: 0 / 0.7794 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.704e-05/0.005739, allocations: 5.031 kB / 0.7795 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.46e-05/0.005753, allocations: 11.92 kB / 0.7795 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.005759, allocations: 0 / 0.7795 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.06e-05/0.005769, allocations: 18.2 kB / 0.7795 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.005769, allocations: 0 / 0.7795 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001559/0.005925, allocations: 39.94 kB / 0.7795 GB, free: 0.7656 MB / 0.7292 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.0001422/0.006067, allocations: 133.7 kB / 0.7796 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.777e-05/0.006135, allocations: 44.78 kB / 0.7797 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.006137, allocations: 0 / 0.7797 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.293e-05/0.00616, allocations: 34.09 kB / 0.7797 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001016/0.006262, allocations: 6.062 kB / 0.7797 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002144/0.006476, allocations: 164.3 kB / 0.7799 GB, free: 364 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.095e-05/0.006507, allocations: 60.64 kB / 0.7799 GB, free: 284 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.095e-05/0.006538, allocations: 8.859 kB / 0.7799 GB, free: 276 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.734e-05/0.006585, allocations: 64.16 kB / 0.78 GB, free: 212 kB / 0.7292 GB Notification: Performance of SimCode: time 4.21e-07/0.006586, allocations: 0 / 0.78 GB, free: 212 kB / 0.7292 GB Notification: Performance of Templates: time 0.002918/0.009504, allocations: 1.623 MB / 0.7816 GB, free: 14.68 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.060905111022294]