Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001168/0.001168, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0014/0.0014, allocations: 177 kB / 23.36 MB, free: 1.129 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.052/1.052, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002875/0.002875, allocations: 249.8 kB / 260.5 MB, free: 12.69 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7447/0.7447, allocations: 138.4 MB / 402.2 MB, free: 0.5586 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 462.4 MB, free: 0.832 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.025e-05/2.159e-05, allocations: 2.312 kB / 462.4 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001344/0.001365, allocations: 0.6548 MB / 463.1 MB, free: 492 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005214/0.001887, allocations: 298.4 kB / 463.4 MB, free: 316 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.486e-05/0.001901, allocations: 1.375 kB / 463.4 MB, free: 316 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.302e-05/0.001914, allocations: 1.672 kB / 463.4 MB, free: 316 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.452e-06/0.001921, allocations: 0 / 463.4 MB, free: 316 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003298/0.002251, allocations: 92.88 kB / 463.5 MB, free: 276 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 3.856e-05/0.002289, allocations: 1.922 kB / 463.5 MB, free: 276 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.384e-05/0.002323, allocations: 2.516 kB / 463.5 MB, free: 276 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.837e-05/0.002351, allocations: 5.188 kB / 463.5 MB, free: 272 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.012e-05/0.002372, allocations: 2.688 kB / 463.5 MB, free: 272 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.002382, allocations: 0 / 463.5 MB, free: 272 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004006/0.002782, allocations: 277.1 kB / 463.7 MB, free: 220 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.089e-05/0.002793, allocations: 5.828 kB / 463.8 MB, free: 216 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.014e-05/0.002803, allocations: 0.6562 kB / 463.8 MB, free: 216 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.002961, allocations: 110.5 kB / 463.9 MB, free: 180 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.002963, allocations: 1.344 kB / 463.9 MB, free: 180 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.002965, allocations: 1.281 kB / 463.9 MB, free: 180 kB / 410.7 MB Notification: Performance of Transformations before backend: time 3.307e-06/0.002968, allocations: 1.5 kB / 463.9 MB, free: 180 kB / 410.7 MB 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.0001918/0.00316, allocations: 230.3 kB / 464.1 MB, free: 15.94 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.003196, allocations: 11.8 kB / 464.1 MB, free: 15.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.996e-05/0.003256, allocations: 2.5 kB / 464.1 MB, free: 15.94 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.748e-05/0.003313, allocations: 109.2 kB / 464.2 MB, free: 15.81 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.767e-06/0.003322, allocations: 1.656 kB / 464.2 MB, free: 15.81 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.513e-06/0.003329, allocations: 4.312 kB / 464.2 MB, free: 15.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.533e-05/0.003384, allocations: 28.86 kB / 464.2 MB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-06/0.003389, allocations: 3.406 kB / 464.2 MB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.561e-06/0.003395, allocations: 384 / 464.2 MB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.0034, allocations: 1.859 kB / 464.2 MB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.141e-05/0.003411, allocations: 7.125 kB / 464.3 MB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.387e-05/0.003475, allocations: 57.69 kB / 464.3 MB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.764e-05/0.003513, allocations: 22.19 kB / 464.3 MB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.045e-05/0.003523, allocations: 8.797 kB / 464.3 MB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002218/0.003745, allocations: 52 kB / 464.4 MB, free: 15.65 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.003766, allocations: 34.09 kB / 464.4 MB, free: 15.61 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.003766, allocations: 0 / 464.4 MB, free: 15.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 8.819e-05/0.003854, allocations: 31 kB / 464.5 MB, free: 15.58 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.003881, allocations: 55.75 kB / 464.5 MB, free: 15.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.729e-05/0.003908, allocations: 89.86 kB / 464.6 MB, free: 15.42 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.003916, allocations: 26.47 kB / 464.6 MB, free: 15.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.945e-05/0.003936, allocations: 81.3 kB / 464.7 MB, free: 15.31 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.003967, allocations: 9.234 kB / 464.7 MB, free: 15.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.169e-05/0.003988, allocations: 12.53 kB / 464.7 MB, free: 15.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.572e-05/0.004064, allocations: 317 kB / 465 MB, free: 14.97 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.044e-05/0.004074, allocations: 4.5 kB / 465 MB, free: 14.97 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.574e-06/0.004082, allocations: 3.062 kB / 465 MB, free: 14.97 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.33e-05/0.004105, allocations: 9.328 kB / 465.1 MB, free: 14.96 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.004107, allocations: 0.8125 kB / 465.1 MB, free: 14.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.061e-05/0.004157, allocations: 33.52 kB / 465.1 MB, free: 14.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.004169, allocations: 5.312 kB / 465.1 MB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.004173, allocations: 0.6562 kB / 465.1 MB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.004182, allocations: 2 kB / 465.1 MB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.352e-05/0.004216, allocations: 3.703 kB / 465.1 MB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.004219, allocations: 0 / 465.1 MB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.817e-06/0.004228, allocations: 2.875 kB / 465.1 MB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.004233, allocations: 4.453 kB / 465.1 MB, free: 14.93 MB / 426.7 MB 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 5.596e-05/0.004289, allocations: 115.9 kB / 465.2 MB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.253e-05/0.004302, allocations: 3.547 kB / 465.2 MB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.087e-05/0.004373, allocations: 39.67 kB / 465.3 MB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.004375, allocations: 1.125 kB / 465.3 MB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.004377, allocations: 3.781 kB / 465.3 MB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.00438, allocations: 0.5625 kB / 465.3 MB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.181e-05/0.004432, allocations: 68.98 kB / 465.3 MB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.004434, allocations: 0.7969 kB / 465.3 MB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.696e-06/0.004443, allocations: 2.219 kB / 465.3 MB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.004444, allocations: 0.625 kB / 465.3 MB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-06/0.004449, allocations: 2.906 kB / 465.3 MB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.00445, allocations: 0.5 kB / 465.3 MB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.004452, allocations: 1.031 kB / 465.3 MB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.376e-05/0.004516, allocations: 65.41 kB / 465.4 MB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.208e-06/0.00452, allocations: 1.422 kB / 465.4 MB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.635e-06/0.004528, allocations: 1.766 kB / 465.4 MB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.899e-06/0.004533, allocations: 0.5 kB / 465.4 MB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.175e-05/0.004544, allocations: 2.016 kB / 465.4 MB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.004547, allocations: 0 / 465.4 MB, free: 14.62 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.945e-06/0.004555, allocations: 10.28 kB / 465.4 MB, free: 14.61 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004555, allocations: 0 / 465.4 MB, free: 14.61 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001087/0.004663, allocations: 11.39 kB / 465.4 MB, free: 14.61 MB / 426.7 MB 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.0001199/0.004783, allocations: 95.05 kB / 465.5 MB, free: 14.54 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 4.379e-05/0.004827, allocations: 12.64 kB / 465.5 MB, free: 14.53 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.00483, allocations: 1.594 kB / 465.5 MB, free: 14.53 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.212e-06/0.004836, allocations: 16.97 kB / 465.6 MB, free: 14.51 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.793e-05/0.004884, allocations: 6.422 kB / 465.6 MB, free: 14.51 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001339/0.005018, allocations: 75.41 kB / 465.6 MB, free: 14.42 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.43e-05/0.005042, allocations: 53.84 kB / 465.7 MB, free: 14.35 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.548e-05/0.005058, allocations: 3.266 kB / 465.7 MB, free: 14.35 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.318e-05/0.005081, allocations: 47.38 kB / 465.7 MB, free: 14.31 MB / 426.7 MB Notification: Performance of SimCode: time 6.11e-07/0.005081, allocations: 2.281 kB / 465.7 MB, free: 14.31 MB / 426.7 MB Notification: Performance of Templates: time 0.001965/0.007047, allocations: 0.5466 MB / 466.3 MB, free: 14.29 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.656187348999083]