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.0008937/0.0008937, allocations: 80.75 kB / 20.82 MB, free: 3.633 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.0009889/0.0009889, allocations: 169 kB / 24.25 MB, free: 204 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.9224/0.9224, allocations: 177.1 MB / 204.7 MB, free: 5.473 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.875/1.875, allocations: 389.6 MB / 0.6355 GB, free: 12.27 MB / 0.6042 GB " [Timeout remaining time 178] 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.332e-06/1.332e-06, allocations: 0 / 0.7754 GB, free: 5.223 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.443e-05/1.576e-05, allocations: 7.156 kB / 0.7754 GB, free: 5.215 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001324/0.00134, allocations: 0.6671 MB / 0.7761 GB, free: 4.574 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0005897/0.00193, allocations: 300.5 kB / 0.7764 GB, free: 4.285 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.85e-05/0.001948, allocations: 0 / 0.7764 GB, free: 4.285 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.564e-05/0.001964, allocations: 0 / 0.7764 GB, free: 4.285 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.22e-06/0.001969, allocations: 0 / 0.7764 GB, free: 4.285 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003077/0.002277, allocations: 88.12 kB / 0.7764 GB, free: 4.203 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 4.041e-05/0.002317, allocations: 0 / 0.7764 GB, free: 4.203 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.396e-05/0.002351, allocations: 4 kB / 0.7764 GB, free: 4.199 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 2.811e-05/0.002379, allocations: 4.766 kB / 0.7764 GB, free: 4.195 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 2.626e-05/0.002406, allocations: 3.984 kB / 0.7765 GB, free: 4.191 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.002419, allocations: 0 / 0.7765 GB, free: 4.191 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003368/0.002756, allocations: 275.6 kB / 0.7767 GB, free: 3.922 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.24e-05/0.002768, allocations: 1.094 kB / 0.7767 GB, free: 3.922 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.096e-05/0.002779, allocations: 3.984 kB / 0.7767 GB, free: 3.918 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.002926, allocations: 115.5 kB / 0.7768 GB, free: 3.809 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.002929, allocations: 3.984 kB / 0.7768 GB, free: 3.805 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.71e-07/0.00293, allocations: 0 / 0.7768 GB, free: 3.805 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.002934, allocations: 0.875 kB / 0.7768 GB, free: 3.805 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.0002085/0.003143, allocations: 240.5 kB / 0.7771 GB, free: 3.543 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.003178, allocations: 9.344 kB / 0.7771 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.594e-05/0.003244, allocations: 0.9375 kB / 0.7771 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.658e-05/0.003311, allocations: 109.8 kB / 0.7772 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.00332, allocations: 1.25 kB / 0.7772 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-06/0.003329, allocations: 4.375 kB / 0.7772 GB, free: 3.398 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.413e-05/0.003393, allocations: 33.14 kB / 0.7772 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.003399, allocations: 192 / 0.7772 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.003406, allocations: 384 / 0.7772 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.003412, allocations: 384 / 0.7772 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.153e-05/0.003424, allocations: 3.938 kB / 0.7772 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.844e-05/0.003502, allocations: 64.97 kB / 0.7773 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.421e-05/0.003536, allocations: 15.56 kB / 0.7773 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.35e-05/0.00355, allocations: 13.89 kB / 0.7773 GB, free: 3.242 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002488/0.003799, allocations: 41.12 kB / 0.7773 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.003818, allocations: 31.56 kB / 0.7774 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.593e-06/0.00382, allocations: 0 / 0.7774 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001058/0.003926, allocations: 34.23 kB / 0.7774 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.003956, allocations: 55.41 kB / 0.7775 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.828e-05/0.003984, allocations: 95.22 kB / 0.7776 GB, free: 2.957 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.003994, allocations: 30.33 kB / 0.7776 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.234e-05/0.004017, allocations: 84.12 kB / 0.7777 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.004045, allocations: 1.844 kB / 0.7777 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.802e-05/0.004063, allocations: 9.719 kB / 0.7777 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.147e-05/0.004135, allocations: 318.8 kB / 0.778 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.719e-06/0.004139, allocations: 0 / 0.778 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.359e-06/0.004144, allocations: 0.5938 kB / 0.778 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.004353, allocations: 10.36 kB / 0.778 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.004354, allocations: 0.9375 kB / 0.778 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.376e-05/0.004398, allocations: 37.62 kB / 0.778 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.004408, allocations: 4.5 kB / 0.778 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.004412, allocations: 4.875 kB / 0.778 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.004424, allocations: 0 / 0.778 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.893e-05/0.004453, allocations: 1.719 kB / 0.778 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.004455, allocations: 0 / 0.778 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.776e-06/0.004464, allocations: 5.047 kB / 0.778 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-06/0.004467, allocations: 0 / 0.778 GB, free: 2.434 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.599e-05/0.004513, allocations: 114.5 kB / 0.7782 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.989e-06/0.004523, allocations: 0 / 0.7782 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.792e-05/0.004571, allocations: 42.97 kB / 0.7782 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.51e-07/0.004572, allocations: 0 / 0.7782 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.004573, allocations: 0 / 0.7782 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.004576, allocations: 3.938 kB / 0.7782 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.928e-05/0.004615, allocations: 65.84 kB / 0.7783 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.004616, allocations: 0.8125 kB / 0.7783 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.489e-06/0.00462, allocations: 0.5469 kB / 0.7783 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.004622, allocations: 4.562 kB / 0.7783 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-06/0.004626, allocations: 3.984 kB / 0.7783 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.61e-07/0.004626, allocations: 1.469 kB / 0.7783 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.11e-07/0.004626, allocations: 0 / 0.7783 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.4e-05/0.00467, allocations: 57.62 kB / 0.7783 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-06/0.004676, allocations: 4.859 kB / 0.7783 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.704e-06/0.004684, allocations: 4 kB / 0.7783 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.056e-06/0.004687, allocations: 0.875 kB / 0.7783 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.043e-05/0.004697, allocations: 7.969 kB / 0.7783 GB, free: 2.082 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.004699, allocations: 0.5469 kB / 0.7783 GB, free: 2.082 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.829e-06/0.004703, allocations: 9.422 kB / 0.7784 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.004704, allocations: 0.5 kB / 0.7784 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of remove unused functions: time 9.637e-05/0.0048, allocations: 11.94 kB / 0.7784 GB, free: 2.059 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.0001068/0.004907, allocations: 94.59 kB / 0.7785 GB, free: 1.961 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.51e-05/0.004952, allocations: 14.14 kB / 0.7785 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.004953, allocations: 0 / 0.7785 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.938e-06/0.004957, allocations: 8.859 kB / 0.7785 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.999e-05/0.004997, allocations: 4.5 kB / 0.7785 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001187/0.005116, allocations: 75 kB / 0.7786 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.465e-05/0.005141, allocations: 56.41 kB / 0.7786 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.316e-05/0.005154, allocations: 3.984 kB / 0.7786 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.198e-05/0.005176, allocations: 52.53 kB / 0.7787 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of SimCode: time 5.11e-07/0.005176, allocations: 0.5312 kB / 0.7787 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of Templates: time 0.001697/0.006873, allocations: 0.5365 MB / 0.7792 GB, free: 1.184 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: 4.8311264449730515]