Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.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.0009628/0.0009628, allocations: 84.8 kB / 21.62 MB, free: 2.84 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.001006/0.001006, allocations: 172.7 kB / 25.05 MB, free: 9.199 MB / 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 1.009/1.009, allocations: 177.1 MB / 205.5 MB, free: 5.449 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 2.057/2.057, allocations: 389.6 MB / 0.6363 GB, free: 12.29 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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.7762 GB, free: 5.207 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.925e-05/2.079e-05, allocations: 6.312 kB / 0.7762 GB, free: 5.199 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001308/0.001328, allocations: 0.6547 MB / 0.7768 GB, free: 4.566 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0004807/0.001809, allocations: 312.3 kB / 0.7771 GB, free: 4.27 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.565e-05/0.001825, allocations: 0 / 0.7771 GB, free: 4.27 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.53e-05/0.00184, allocations: 0 / 0.7771 GB, free: 4.27 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.041e-06/0.001846, allocations: 0 / 0.7771 GB, free: 4.27 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003226/0.002169, allocations: 88.5 kB / 0.7772 GB, free: 4.184 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 3.616e-05/0.002205, allocations: 0 / 0.7772 GB, free: 4.184 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.324e-05/0.002238, allocations: 7.875 kB / 0.7772 GB, free: 4.18 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 2.453e-05/0.002263, allocations: 0.6562 kB / 0.7772 GB, free: 4.18 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 1.847e-05/0.002281, allocations: 0 / 0.7772 GB, free: 4.18 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.002292, allocations: 0 / 0.7772 GB, free: 4.18 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000307/0.002599, allocations: 279.6 kB / 0.7775 GB, free: 3.906 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.768e-06/0.002608, allocations: 0.6562 kB / 0.7775 GB, free: 3.906 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.022e-05/0.002618, allocations: 4 kB / 0.7775 GB, free: 3.902 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.002766, allocations: 112.5 kB / 0.7776 GB, free: 3.793 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.002768, allocations: 0 / 0.7776 GB, free: 3.793 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.12e-07/0.002769, allocations: 0 / 0.7776 GB, free: 3.793 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.002773, allocations: 4 kB / 0.7776 GB, free: 3.789 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000199/0.002972, allocations: 241.1 kB / 0.7778 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.003003, allocations: 9.344 kB / 0.7778 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.705e-05/0.00306, allocations: 4.938 kB / 0.7778 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.779e-05/0.003118, allocations: 105.8 kB / 0.7779 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.003126, allocations: 384 / 0.7779 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.863e-06/0.003133, allocations: 384 / 0.778 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.566e-05/0.003189, allocations: 34.25 kB / 0.778 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.003195, allocations: 192 / 0.778 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.059e-06/0.0032, allocations: 384 / 0.778 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.003206, allocations: 3.891 kB / 0.778 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.26e-05/0.003219, allocations: 7.875 kB / 0.778 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.368e-05/0.003292, allocations: 57.05 kB / 0.778 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.276e-05/0.003325, allocations: 14.67 kB / 0.7781 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.052e-05/0.003336, allocations: 12.86 kB / 0.7781 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002205/0.003556, allocations: 42.16 kB / 0.7781 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.003576, allocations: 30.56 kB / 0.7781 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.003577, allocations: 1.156 kB / 0.7781 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 9.539e-05/0.003672, allocations: 37.62 kB / 0.7782 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.003699, allocations: 56.41 kB / 0.7782 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.553e-05/0.003725, allocations: 93.86 kB / 0.7783 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.787e-06/0.003734, allocations: 26.3 kB / 0.7783 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.685e-05/0.00375, allocations: 80.14 kB / 0.7784 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.003777, allocations: 5.953 kB / 0.7784 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.151e-05/0.003798, allocations: 14.66 kB / 0.7784 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.254e-05/0.003871, allocations: 314.8 kB / 0.7787 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.568e-06/0.003875, allocations: 0 / 0.7787 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.488e-06/0.00388, allocations: 0.875 kB / 0.7787 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.199e-05/0.003902, allocations: 14.28 kB / 0.7788 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.003903, allocations: 0 / 0.7788 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.394e-05/0.003947, allocations: 33.64 kB / 0.7788 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.003959, allocations: 8.656 kB / 0.7788 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.003962, allocations: 0 / 0.7788 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.404e-06/0.00397, allocations: 1.234 kB / 0.7788 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.849e-05/0.003998, allocations: 0 / 0.7788 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.004, allocations: 1.719 kB / 0.7788 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.017e-06/0.004009, allocations: 7.953 kB / 0.7788 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.004014, allocations: 4 kB / 0.7788 GB, free: 2.418 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 (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.379e-05/0.004058, allocations: 114.5 kB / 0.7789 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.004071, allocations: 1.062 kB / 0.7789 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.266e-05/0.004123, allocations: 37.27 kB / 0.779 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.004125, allocations: 0 / 0.779 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.004127, allocations: 9.125 kB / 0.779 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.004129, allocations: 0 / 0.779 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.21e-05/0.004172, allocations: 65.83 kB / 0.779 GB, free: 2.164 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.004173, allocations: 1.156 kB / 0.779 GB, free: 2.164 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.564e-06/0.00418, allocations: 4 kB / 0.779 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.004181, allocations: 0.875 kB / 0.779 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.585e-06/0.004184, allocations: 0 / 0.779 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.004184, allocations: 0.875 kB / 0.779 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.004185, allocations: 0 / 0.779 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.672e-05/0.004232, allocations: 62.28 kB / 0.7791 GB, free: 2.082 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.465e-06/0.004234, allocations: 1.75 kB / 0.7791 GB, free: 2.082 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.18e-06/0.00424, allocations: 0 / 0.7791 GB, free: 2.082 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.256e-06/0.004243, allocations: 0 / 0.7791 GB, free: 2.082 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.071e-05/0.004254, allocations: 7.984 kB / 0.7791 GB, free: 2.074 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.004255, allocations: 0 / 0.7791 GB, free: 2.074 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.52e-06/0.004261, allocations: 6.781 kB / 0.7791 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.004261, allocations: 0 / 0.7791 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001005/0.004361, allocations: 15.88 kB / 0.7791 GB, free: 2.051 MB / 0.7292 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.0001078/0.004469, allocations: 97.33 kB / 0.7792 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.669e-05/0.004516, allocations: 13.89 kB / 0.7792 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.004518, allocations: 0 / 0.7792 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.518e-06/0.004522, allocations: 6.562 kB / 0.7792 GB, free: 1.926 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.308e-05/0.004565, allocations: 7.922 kB / 0.7792 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001217/0.004687, allocations: 75.28 kB / 0.7793 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.975e-05/0.004717, allocations: 51.36 kB / 0.7794 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.501e-05/0.004732, allocations: 4.656 kB / 0.7794 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.378e-05/0.004756, allocations: 48.12 kB / 0.7794 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of SimCode: time 6.72e-07/0.004756, allocations: 1.031 kB / 0.7794 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of Templates: time 0.002081/0.006837, allocations: 0.5463 MB / 0.78 GB, free: 1.172 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.137771406210959]