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.00259/0.00259, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.003121/0.003121, allocations: 173.2 kB / 23.23 MB, free: 1.324 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.69/1.69, allocations: 177.1 MB / 203.5 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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 3.146/3.146, allocations: 389.5 MB / 0.6343 GB, free: 12.63 MB / 0.6042 GB " [Timeout remaining time 176] 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.422e-06/1.422e-06, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.531e-05/2.673e-05, allocations: 2.281 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.002159/0.002186, allocations: 0.5831 MB / 1.002 GB, free: 12.4 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003874/0.00606, allocations: 291.7 kB / 1.002 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.193e-05/0.006092, allocations: 8 kB / 1.002 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.736e-05/0.006109, allocations: 3.938 kB / 1.002 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.591e-06/0.006115, allocations: 0 / 1.002 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005493/0.006664, allocations: 107.6 kB / 1.002 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.776e-05/0.006722, allocations: 8 kB / 1.002 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.571e-05/0.006768, allocations: 0 / 1.002 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 2.51e-05/0.006793, allocations: 3.984 kB / 1.002 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 1.9e-05/0.006812, allocations: 0 / 1.002 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.006823, allocations: 4 kB / 1.002 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000596/0.007419, allocations: 263.6 kB / 1.002 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.047e-05/0.007429, allocations: 0 / 1.002 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.277e-05/0.007442, allocations: 0 / 1.002 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.007729, allocations: 111.7 kB / 1.003 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.007731, allocations: 0 / 1.003 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.72e-07/0.007732, allocations: 0 / 1.003 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.007736, allocations: 3.938 kB / 1.003 GB, free: 11.61 MB / 0.9636 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.0003996/0.008135, allocations: 270.1 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.008176, allocations: 9.344 kB / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.036e-05/0.008236, allocations: 0.9375 kB / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.008357, allocations: 109.8 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.00837, allocations: 384 / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-06/0.008377, allocations: 384 / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.305e-05/0.00847, allocations: 26.27 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.00848, allocations: 192 / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.008487, allocations: 4.375 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.008492, allocations: 384 / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.947e-05/0.008521, allocations: 11.92 kB / 1.003 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00317/0.01169, allocations: 97.33 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.582e-05/0.01175, allocations: 18.52 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.473e-05/0.01177, allocations: 12.86 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004182/0.01219, allocations: 40.06 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.612e-05/0.01224, allocations: 38.55 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 1.123e-06/0.01224, allocations: 0 / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001836/0.01242, allocations: 37.7 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.01248, allocations: 55.34 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.983e-05/0.01255, allocations: 93.98 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.01257, allocations: 25.7 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.125e-05/0.01262, allocations: 80.14 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.01264, allocations: 0 / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.01269, allocations: 13.72 kB / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002047/0.01289, allocations: 314.8 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.901e-05/0.01291, allocations: 7.984 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.183e-06/0.01292, allocations: 4 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.928e-05/0.01296, allocations: 12.8 kB / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.01296, allocations: 64 / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.68e-05/0.01306, allocations: 33.7 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.01307, allocations: 11.88 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.01307, allocations: 0 / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.01309, allocations: 4 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.005e-05/0.01313, allocations: 0 / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.01314, allocations: 0 / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.921e-05/0.01316, allocations: 7.891 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.01316, allocations: 0 / 1.004 GB, free: 10.12 MB / 0.9636 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 0.0001045/0.01327, allocations: 113.8 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.0133, allocations: 12.03 kB / 1.004 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.01341, allocations: 32.7 kB / 1.004 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.01341, allocations: 0 / 1.004 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.01342, allocations: 4 kB / 1.004 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.01342, allocations: 0 / 1.004 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.01354, allocations: 101.2 kB / 1.004 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.01354, allocations: 0 / 1.004 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.261e-05/0.01356, allocations: 4 kB / 1.004 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.01356, allocations: 0 / 1.004 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.119e-06/0.01357, allocations: 0 / 1.004 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.01357, allocations: 7.969 kB / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01357, allocations: 0 / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.0137, allocations: 65.06 kB / 1.004 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-06/0.0137, allocations: 0 / 1.004 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.01371, allocations: 0 / 1.004 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.018e-05/0.01372, allocations: 0 / 1.004 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.189e-05/0.01373, allocations: 4 kB / 1.004 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.01374, allocations: 0 / 1.004 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.868e-05/0.01378, allocations: 75.28 kB / 1.004 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.01378, allocations: 0 / 1.004 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003199/0.0141, allocations: 11.94 kB / 1.004 GB, free: 9.637 MB / 0.9636 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.003252/0.01736, allocations: 119.2 kB / 1.004 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.528e-05/0.01743, allocations: 11.94 kB / 1.004 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01743, allocations: 0 / 1.004 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.833e-06/0.01744, allocations: 0 / 1.004 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/0.01763, allocations: 4 kB / 1.004 GB, free: 9.496 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002244/0.01785, allocations: 76.98 kB / 1.004 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.938e-05/0.01792, allocations: 63.28 kB / 1.004 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.401e-05/0.01795, allocations: 4.125 kB / 1.004 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.839e-05/0.01797, allocations: 8.5 kB / 1.004 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of SimCode: time 4.51e-07/0.01797, allocations: 3.938 kB / 1.004 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of Templates: time 0.006657/0.02462, allocations: 470.7 kB / 1.005 GB, free: 8.84 MB / 0.9636 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: 8.803666488267481]