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.0009679/0.0009679, allocations: 80.92 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.000976/0.000976, 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 1.016/1.016, allocations: 177.1 MB / 204.6 MB, free: 5.488 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.07/2.07, allocations: 389.6 MB / 0.6354 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.452e-06/1.452e-06, allocations: 0 / 0.7753 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/2.037e-05, allocations: 6.25 kB / 0.7753 GB, free: 5.332 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001131/0.001151, allocations: 0.6542 MB / 0.7759 GB, free: 4.699 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0004767/0.001628, allocations: 306 kB / 0.7762 GB, free: 4.406 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.475e-05/0.001642, allocations: 0 / 0.7762 GB, free: 4.406 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.368e-05/0.001656, allocations: 0 / 0.7762 GB, free: 4.406 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.892e-06/0.001662, allocations: 0.9062 kB / 0.7762 GB, free: 4.406 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002982/0.00196, allocations: 90.56 kB / 0.7763 GB, free: 4.32 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 4.225e-05/0.002002, allocations: 0.7656 kB / 0.7763 GB, free: 4.32 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.355e-05/0.002036, allocations: 3.984 kB / 0.7763 GB, free: 4.316 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 2.917e-05/0.002065, allocations: 7.984 kB / 0.7763 GB, free: 4.309 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 2.09e-05/0.002086, allocations: 0.6562 kB / 0.7763 GB, free: 4.309 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.002096, allocations: 0 / 0.7763 GB, free: 4.309 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003199/0.002416, allocations: 277.8 kB / 0.7766 GB, free: 4.039 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.458e-06/0.002426, allocations: 0 / 0.7766 GB, free: 4.039 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 9.458e-06/0.002435, allocations: 0 / 0.7766 GB, free: 4.039 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.002577, allocations: 117.4 kB / 0.7767 GB, free: 3.926 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.694e-06/0.002578, allocations: 0.9844 kB / 0.7767 GB, free: 3.926 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.52e-07/0.002579, allocations: 0 / 0.7767 GB, free: 3.926 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.116e-06/0.002582, allocations: 0 / 0.7767 GB, free: 3.926 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.0001897/0.002772, allocations: 236.5 kB / 0.7769 GB, free: 3.668 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.002806, allocations: 10.06 kB / 0.7769 GB, free: 3.66 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.794e-05/0.002864, allocations: 4.938 kB / 0.7769 GB, free: 3.656 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.676e-05/0.002921, allocations: 107.4 kB / 0.777 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.002931, allocations: 4.359 kB / 0.777 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-06/0.00294, allocations: 7.562 kB / 0.777 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.975e-05/0.003, allocations: 30.27 kB / 0.7771 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.003007, allocations: 192 / 0.7771 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.661e-06/0.003013, allocations: 384 / 0.7771 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.003018, allocations: 384 / 0.7771 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.068e-05/0.003028, allocations: 7.922 kB / 0.7771 GB, free: 3.477 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.674e-05/0.003095, allocations: 57.81 kB / 0.7771 GB, free: 3.406 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.31e-05/0.003128, allocations: 14.58 kB / 0.7771 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.039e-05/0.003139, allocations: 20.39 kB / 0.7771 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002072/0.003346, allocations: 43.95 kB / 0.7772 GB, free: 3.32 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.003365, allocations: 30.56 kB / 0.7772 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 5.81e-07/0.003366, allocations: 0.875 kB / 0.7772 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 9.147e-05/0.003457, allocations: 35.3 kB / 0.7773 GB, free: 3.242 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/0.003481, allocations: 55.39 kB / 0.7773 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.571e-05/0.003507, allocations: 93.86 kB / 0.7774 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.003515, allocations: 25.7 kB / 0.7774 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.764e-05/0.003533, allocations: 80.95 kB / 0.7775 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.003555, allocations: 352 / 0.7775 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.857e-05/0.003574, allocations: 9.719 kB / 0.7775 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.991e-05/0.003644, allocations: 320.6 kB / 0.7778 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.917e-06/0.003648, allocations: 3.938 kB / 0.7778 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.867e-06/0.003651, allocations: 0.5312 kB / 0.7778 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.877e-05/0.00367, allocations: 9.703 kB / 0.7778 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.003672, allocations: 0 / 0.7778 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.969e-05/0.003712, allocations: 34.72 kB / 0.7779 GB, free: 2.57 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.357e-06/0.003721, allocations: 4 kB / 0.7779 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.003725, allocations: 5.469 kB / 0.7779 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.003735, allocations: 1.094 kB / 0.7779 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.702e-05/0.003762, allocations: 0 / 0.7779 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.003765, allocations: 3.984 kB / 0.7779 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.127e-06/0.003774, allocations: 13.02 kB / 0.7779 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.003779, allocations: 4 kB / 0.7779 GB, free: 2.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 (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.369e-05/0.003823, allocations: 114.8 kB / 0.778 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.023e-05/0.003833, allocations: 0 / 0.778 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.449e-05/0.003888, allocations: 41.19 kB / 0.778 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.003889, allocations: 0.5938 kB / 0.778 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.00389, allocations: 0 / 0.778 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.003892, allocations: 5.828 kB / 0.778 GB, free: 2.371 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.082e-05/0.003933, allocations: 61.84 kB / 0.7781 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.003934, allocations: 0.5938 kB / 0.7781 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.691e-06/0.00394, allocations: 0 / 0.7781 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.003942, allocations: 8.547 kB / 0.7781 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.166e-06/0.003945, allocations: 0 / 0.7781 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.5e-07/0.003945, allocations: 0.75 kB / 0.7781 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.003946, allocations: 0.6562 kB / 0.7781 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.092e-05/0.003997, allocations: 62.05 kB / 0.7782 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.575e-06/0.004, allocations: 0 / 0.7782 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.352e-06/0.004006, allocations: 4.953 kB / 0.7782 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.326e-06/0.004009, allocations: 0 / 0.7782 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.105e-06/0.004017, allocations: 3.031 kB / 0.7782 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-06/0.004019, allocations: 4.656 kB / 0.7782 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.718e-06/0.004024, allocations: 4.859 kB / 0.7782 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.004024, allocations: 0 / 0.7782 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001002/0.004124, allocations: 11.94 kB / 0.7782 GB, free: 2.18 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.0001001/0.004224, allocations: 98.66 kB / 0.7783 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 3.943e-05/0.004264, allocations: 8.484 kB / 0.7783 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.004265, allocations: 3.938 kB / 0.7783 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.907e-06/0.004269, allocations: 8.859 kB / 0.7783 GB, free: 2.055 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.361e-05/0.004313, allocations: 3.938 kB / 0.7783 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001202/0.004433, allocations: 82.41 kB / 0.7784 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.267e-05/0.004456, allocations: 51.36 kB / 0.7784 GB, free: 1.871 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.279e-05/0.004469, allocations: 0.5312 kB / 0.7784 GB, free: 1.871 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.249e-05/0.004491, allocations: 52.69 kB / 0.7785 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of SimCode: time 3.31e-07/0.004491, allocations: 0.7656 kB / 0.7785 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of Templates: time 0.001745/0.006236, allocations: 0.54 MB / 0.779 GB, free: 1.301 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.103738874197006]