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.0006586/0.0006586, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008579/0.001517, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0009594/0.0009594, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008777/0.001837, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.945/0.945, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08575/1.031, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001623/0.001623, allocations: 241.5 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009794/0.002603, allocations: 475.2 kB / 244.7 MB, free: 14.18 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6869/0.6869, allocations: 138.7 MB / 384.1 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07659/0.7635, allocations: 42.4 MB / 426.5 MB, free: 5.949 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.272e-06/1.272e-06, allocations: 0 / 427.8 MB, free: 4.582 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.754e-05/1.882e-05, allocations: 2.312 kB / 427.8 MB, free: 4.578 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001901/0.00192, allocations: 0.6547 MB / 428.5 MB, free: 3.922 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004698/0.002389, allocations: 314.8 kB / 428.8 MB, free: 3.613 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.207e-06/0.002399, allocations: 0 / 428.8 MB, free: 3.613 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.121e-06/0.002405, allocations: 3.938 kB / 428.8 MB, free: 3.609 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.042e-06/0.002406, allocations: 0 / 428.8 MB, free: 3.609 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.002667, allocations: 79.64 kB / 428.9 MB, free: 3.531 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 3.741e-05/0.002705, allocations: 7.938 kB / 428.9 MB, free: 3.523 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.228e-05/0.002737, allocations: 8 kB / 428.9 MB, free: 3.516 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.619e-05/0.002763, allocations: 0 / 428.9 MB, free: 3.516 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.605e-05/0.002789, allocations: 3.984 kB / 428.9 MB, free: 3.512 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.408e-06/0.002799, allocations: 0 / 428.9 MB, free: 3.512 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004442/0.007241, allocations: 275.6 kB / 429.2 MB, free: 3.242 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.278e-06/0.00725, allocations: 4 kB / 429.2 MB, free: 3.238 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.799e-06/0.00726, allocations: 0 / 429.2 MB, free: 3.238 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.007436, allocations: 79.8 kB / 429.3 MB, free: 3.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.495e-05/0.007451, allocations: 3.938 kB / 429.3 MB, free: 3.156 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.007452, allocations: 0 / 429.3 MB, free: 3.156 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.521e-05/0.007467, allocations: 4 kB / 429.3 MB, free: 3.152 MB / 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.00025/0.007717, allocations: 256.5 kB / 429.5 MB, free: 2.875 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.007748, allocations: 11.98 kB / 429.5 MB, free: 2.863 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.506e-05/0.007824, allocations: 78.05 kB / 429.6 MB, free: 2.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.167e-05/0.007885, allocations: 109.7 kB / 429.7 MB, free: 2.637 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.647e-06/0.007894, allocations: 384 / 429.7 MB, free: 2.637 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.012e-06/0.0079, allocations: 384 / 429.7 MB, free: 2.637 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.691e-05/0.007957, allocations: 30.27 kB / 429.7 MB, free: 2.602 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.18e-06/0.007962, allocations: 192 / 429.7 MB, free: 2.602 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.589e-06/0.007967, allocations: 384 / 429.7 MB, free: 2.602 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.00797, allocations: 4.375 kB / 429.7 MB, free: 2.598 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.139e-05/0.007982, allocations: 7.922 kB / 429.8 MB, free: 2.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.132e-05/0.008043, allocations: 57.05 kB / 429.8 MB, free: 2.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.444e-05/0.008077, allocations: 22.5 kB / 429.8 MB, free: 2.488 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.305e-06/0.008086, allocations: 4.953 kB / 429.8 MB, free: 2.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000204/0.00829, allocations: 47.95 kB / 429.9 MB, free: 2.434 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.008309, allocations: 38.56 kB / 429.9 MB, free: 2.387 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.00831, allocations: 0 / 429.9 MB, free: 2.387 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 8.311e-05/0.008393, allocations: 29.7 kB / 429.9 MB, free: 2.352 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.008418, allocations: 55.39 kB / 430 MB, free: 2.285 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.501e-05/0.008443, allocations: 89.86 kB / 430.1 MB, free: 2.188 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.008452, allocations: 29.7 kB / 430.1 MB, free: 2.152 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.722e-05/0.008469, allocations: 88.08 kB / 430.2 MB, free: 2.062 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.008491, allocations: 3.953 kB / 430.2 MB, free: 2.059 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.74e-05/0.008508, allocations: 9.719 kB / 430.2 MB, free: 2.043 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.7e-05/0.008575, allocations: 318.8 kB / 430.5 MB, free: 1.723 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.34e-06/0.008581, allocations: 128 / 430.5 MB, free: 1.723 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.928e-06/0.008584, allocations: 4 kB / 430.5 MB, free: 1.719 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.956e-05/0.008604, allocations: 8.859 kB / 430.5 MB, free: 1.707 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.008605, allocations: 3.938 kB / 430.5 MB, free: 1.703 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.897e-05/0.008644, allocations: 33.69 kB / 430.6 MB, free: 1.664 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.008655, allocations: 4 kB / 430.6 MB, free: 1.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.008659, allocations: 0 / 430.6 MB, free: 1.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.544e-06/0.008666, allocations: 4 kB / 430.6 MB, free: 1.656 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.221e-05/0.008698, allocations: 3.938 kB / 430.6 MB, free: 1.652 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-06/0.0087, allocations: 96 / 430.6 MB, free: 1.652 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.492e-06/0.008707, allocations: 4 kB / 430.6 MB, free: 1.648 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-06/0.00871, allocations: 0 / 430.6 MB, free: 1.648 MB / 410.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 4.195e-05/0.008752, allocations: 113.8 kB / 430.7 MB, free: 1.527 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/0.008764, allocations: 0 / 430.7 MB, free: 1.527 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.126e-05/0.008815, allocations: 40.69 kB / 430.7 MB, free: 1.484 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.008816, allocations: 0 / 430.7 MB, free: 1.484 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.008817, allocations: 0 / 430.7 MB, free: 1.484 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.008819, allocations: 0 / 430.7 MB, free: 1.484 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.126e-05/0.00886, allocations: 65.84 kB / 430.8 MB, free: 1.402 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.008861, allocations: 4.031 kB / 430.8 MB, free: 1.398 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.392e-06/0.008867, allocations: 3.984 kB / 430.8 MB, free: 1.395 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.428e-06/0.008872, allocations: 7.938 kB / 430.8 MB, free: 1.387 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.21e-07/0.008873, allocations: 0 / 430.8 MB, free: 1.387 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-06/0.008875, allocations: 0 / 430.8 MB, free: 1.387 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.008877, allocations: 4 kB / 430.8 MB, free: 1.383 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.008878, allocations: 3.938 kB / 430.8 MB, free: 1.379 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.559e-05/0.008924, allocations: 61.06 kB / 430.9 MB, free: 1.301 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.008935, allocations: 3.984 kB / 430.9 MB, free: 1.297 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.636e-06/0.008938, allocations: 0 / 430.9 MB, free: 1.297 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.724e-06/0.008946, allocations: 4.031 kB / 430.9 MB, free: 1.293 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-06/0.008947, allocations: 0 / 430.9 MB, free: 1.293 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.07e-06/0.008952, allocations: 8.859 kB / 430.9 MB, free: 1.281 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008952, allocations: 0 / 430.9 MB, free: 1.281 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001005/0.009053, allocations: 8 kB / 430.9 MB, free: 1.273 MB / 410.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.0001166/0.009169, allocations: 96.34 kB / 431 MB, free: 1.172 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.292e-05/0.009212, allocations: 12.8 kB / 431 MB, free: 1.156 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.009215, allocations: 4 kB / 431 MB, free: 1.152 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.641e-06/0.009221, allocations: 8.922 kB / 431 MB, free: 1.141 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.303e-05/0.009264, allocations: 11.88 kB / 431 MB, free: 1.129 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000119/0.009383, allocations: 82.28 kB / 431.1 MB, free: 1.023 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.264e-05/0.009405, allocations: 51.36 kB / 431.2 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.313e-05/0.009418, allocations: 0 / 431.2 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.342e-05/0.009442, allocations: 47.38 kB / 431.2 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of SimCode: time 3e-07/0.009442, allocations: 0 / 431.2 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of Templates: time 0.002986/0.01243, allocations: 0.5547 MB / 431.8 MB, free: 360 kB / 410.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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1482924902811646]