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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 118 kB / 17.13 MB, free: 5.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 195.7 kB / 20.08 MB, free: 2.867 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 225.6 MB / 248.5 MB, free: 3.645 MB / 190.1 MB " [Timeout remaining time 178] 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.002244/0.002244, allocations: 285.9 kB / 303.6 MB, free: 3.738 MB / 238.1 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.9957/0.9957, allocations: 180.9 MB / 0.5268 GB, free: 2.719 MB / 382.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002725/0.002725, allocations: 100.1 kB / 0.726 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5015/0.5042, allocations: 94.15 MB / 0.8179 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001464/0.5057, allocations: 0.5859 MB / 0.8185 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005318/0.5062, allocations: 332.3 kB / 0.8188 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.539e-05/0.5063, allocations: 0 / 0.8188 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.027e-05/0.5063, allocations: 0 / 0.8188 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.411e-06/0.5063, allocations: 4.938 kB / 0.8188 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.5067, allocations: 113 kB / 0.8189 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 3.864e-05/0.5067, allocations: 2.094 kB / 0.8189 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.161e-05/0.5067, allocations: 1.375 kB / 0.8189 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.013e-05/0.5067, allocations: 0 / 0.8189 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 1.998e-05/0.5068, allocations: 5.312 kB / 0.8189 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.845e-06/0.5068, allocations: 3.938 kB / 0.8189 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000356/0.5071, allocations: 277.3 kB / 0.8192 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.997e-06/0.5071, allocations: 5.516 kB / 0.8192 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.807e-05/0.5071, allocations: 0 / 0.8192 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.5073, allocations: 89.12 kB / 0.8193 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5073, allocations: 0 / 0.8193 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5073, allocations: 0.6562 kB / 0.8193 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.5073, allocations: 0 / 0.8193 GB, free: 6.918 MB / 0.5762 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.0002187/0.5075, allocations: 331.3 kB / 0.8196 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.5076, allocations: 9.625 kB / 0.8196 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.3e-05/0.5076, allocations: 2.375 kB / 0.8196 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.942e-05/0.5077, allocations: 160.4 kB / 0.8198 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.138e-06/0.5077, allocations: 384 / 0.8198 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.5077, allocations: 5.5 kB / 0.8198 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.208e-05/0.5077, allocations: 31.3 kB / 0.8198 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-06/0.5078, allocations: 192 / 0.8198 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.535e-06/0.5078, allocations: 7.938 kB / 0.8198 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.5078, allocations: 0.7812 kB / 0.8198 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.625e-05/0.5078, allocations: 4.969 kB / 0.8198 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.034e-05/0.5079, allocations: 142.9 kB / 0.8199 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.06e-05/0.5079, allocations: 19.94 kB / 0.82 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.221e-05/0.5079, allocations: 14.64 kB / 0.82 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003513/0.5083, allocations: 423.2 kB / 0.8204 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.508e-05/0.5083, allocations: 31.56 kB / 0.8204 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.5083, allocations: 0 / 0.8204 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001135/0.5084, allocations: 50.7 kB / 0.8205 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.519e-05/0.5084, allocations: 51.41 kB / 0.8205 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.394e-05/0.5084, allocations: 89.86 kB / 0.8206 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.28e-06/0.5084, allocations: 26.92 kB / 0.8206 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.406e-06/0.5084, allocations: 80.14 kB / 0.8207 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.5084, allocations: 3.953 kB / 0.8207 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.962e-05/0.5085, allocations: 11.62 kB / 0.8207 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.514e-05/0.5085, allocations: 311.8 kB / 0.821 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.548e-06/0.5085, allocations: 12.23 kB / 0.821 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.392e-06/0.5085, allocations: 1.812 kB / 0.821 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.956e-05/0.5085, allocations: 10.73 kB / 0.821 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5085, allocations: 0.9062 kB / 0.821 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.114e-05/0.5086, allocations: 35.45 kB / 0.8211 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.5086, allocations: 4.938 kB / 0.8211 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.317e-06/0.5086, allocations: 0 / 0.8211 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.5086, allocations: 4.844 kB / 0.8211 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.527e-05/0.5087, allocations: 9.578 kB / 0.8211 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-06/0.5087, allocations: 0 / 0.8211 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.945e-06/0.5087, allocations: 0.9375 kB / 0.8211 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.5087, allocations: 0.9688 kB / 0.8211 GB, free: 4.859 MB / 0.5762 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 3.303e-05/0.5087, allocations: 106.8 kB / 0.8212 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/0.5087, allocations: 9.016 kB / 0.8212 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.647e-05/0.5088, allocations: 42.3 kB / 0.8212 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.5088, allocations: 1.156 kB / 0.8212 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.5088, allocations: 4.031 kB / 0.8212 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.5088, allocations: 0.7969 kB / 0.8212 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.427e-05/0.5088, allocations: 144.2 kB / 0.8214 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.5088, allocations: 5.156 kB / 0.8214 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.099e-05/0.5089, allocations: 1.781 kB / 0.8214 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.5089, allocations: 1.062 kB / 0.8214 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-06/0.5089, allocations: 8.766 kB / 0.8214 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.5089, allocations: 0 / 0.8214 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.5089, allocations: 0.6875 kB / 0.8214 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.85e-05/0.5089, allocations: 64.97 kB / 0.8215 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.327e-05/0.5089, allocations: 77.92 kB / 0.8215 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.147e-06/0.5089, allocations: 4.688 kB / 0.8215 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.472e-06/0.5089, allocations: 0 / 0.8215 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.437e-05/0.509, allocations: 0.8125 kB / 0.8215 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-06/0.509, allocations: 1 kB / 0.8215 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.03e-05/0.509, allocations: 75.28 kB / 0.8216 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5e-08/0.509, allocations: 3.938 kB / 0.8216 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001884/0.5092, allocations: 17.59 kB / 0.8216 GB, free: 4.242 MB / 0.5762 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.0001381/0.5093, allocations: 122 kB / 0.8217 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.222e-05/0.5094, allocations: 3.406 kB / 0.8218 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.5094, allocations: 1.062 kB / 0.8218 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.322e-06/0.5094, allocations: 2.5 kB / 0.8218 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001155/0.5095, allocations: 0 / 0.8218 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001394/0.5096, allocations: 116.2 kB / 0.8219 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.836e-05/0.5097, allocations: 0.6703 MB / 0.8225 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.074e-05/0.5097, allocations: 8.75 kB / 0.8225 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.5097, allocations: 0 / 0.8225 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of Templates: time 0.001746/0.5115, allocations: 474.1 kB / 0.823 GB, free: 3.277 MB / 0.5762 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.804461948107928] Failed to read output from testmodel.py, exit status != 0: 0.5186054650694132 0.5285721830000001 0.018612078 Calling exit ...