Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.001439/0.001439, allocations: 118.2 kB / 17.13 MB, free: 5.918 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.001463/0.001463, allocations: 194.2 kB / 20.08 MB, free: 2.988 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.33/1.33, allocations: 225.6 MB / 248.5 MB, free: 3.609 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.002323/0.002323, allocations: 289.2 kB / 303.6 MB, free: 3.68 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 1.006/1.006, allocations: 180.9 MB / 0.5268 GB, free: 2.73 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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002656/0.002656, allocations: 99.84 kB / 0.726 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4997/0.5024, allocations: 94.15 MB / 0.8179 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001543/0.5039, allocations: 0.6075 MB / 0.8185 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005573/0.5045, allocations: 345.8 kB / 0.8188 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.476e-05/0.5045, allocations: 0.9688 kB / 0.8188 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.149e-05/0.5045, allocations: 0 / 0.8188 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.099e-05/0.5045, allocations: 0 / 0.8188 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003934/0.5049, allocations: 122.6 kB / 0.8189 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.668e-05/0.505, allocations: 16.66 kB / 0.819 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.361e-05/0.505, allocations: 5.078 kB / 0.819 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.486e-05/0.505, allocations: 2.625 kB / 0.819 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.223e-05/0.5051, allocations: 1.312 kB / 0.819 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.5051, allocations: 0.8125 kB / 0.819 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003309/0.5054, allocations: 279.1 kB / 0.8192 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.193e-05/0.5054, allocations: 4.984 kB / 0.8192 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.522e-05/0.5054, allocations: 5.844 kB / 0.8192 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.5056, allocations: 85.91 kB / 0.8193 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.5056, allocations: 5.125 kB / 0.8193 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5056, allocations: 4 kB / 0.8193 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.5056, allocations: 0 / 0.8193 GB, free: 6.68 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002685/0.5059, allocations: 345.2 kB / 0.8197 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.5059, allocations: 13.91 kB / 0.8197 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.633e-05/0.5059, allocations: 1.844 kB / 0.8197 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.573e-05/0.506, allocations: 165.3 kB / 0.8198 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.506, allocations: 1.312 kB / 0.8198 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.506, allocations: 6.375 kB / 0.8198 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.755e-05/0.5061, allocations: 37.5 kB / 0.8199 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.5061, allocations: 192 / 0.8199 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.5061, allocations: 4.844 kB / 0.8199 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.5061, allocations: 0 / 0.8199 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.968e-05/0.5062, allocations: 6.672 kB / 0.8199 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001/0.5063, allocations: 152.3 kB / 0.82 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.135e-05/0.5063, allocations: 25.86 kB / 0.8201 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.452e-05/0.5063, allocations: 11.3 kB / 0.8201 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005567/0.5069, allocations: 456.2 kB / 0.8205 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.5069, allocations: 31.88 kB / 0.8205 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.5069, allocations: 4 kB / 0.8205 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0004087/0.5073, allocations: 256.4 kB / 0.8208 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.777e-05/0.5073, allocations: 52.25 kB / 0.8208 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.637e-05/0.5074, allocations: 97.56 kB / 0.8209 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.695e-06/0.5074, allocations: 25.7 kB / 0.821 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.58e-05/0.5074, allocations: 89.31 kB / 0.821 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.5074, allocations: 13.2 kB / 0.8211 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.609e-05/0.5074, allocations: 17.34 kB / 0.8211 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.963e-05/0.5075, allocations: 312.9 kB / 0.8214 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.8e-05/0.5075, allocations: 10.8 kB / 0.8214 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.271e-05/0.5075, allocations: 19.19 kB / 0.8214 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.893e-05/0.5075, allocations: 26.56 kB / 0.8214 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.5075, allocations: 4 kB / 0.8214 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.656e-05/0.5076, allocations: 54.16 kB / 0.8215 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.5076, allocations: 9.219 kB / 0.8215 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.5076, allocations: 3.938 kB / 0.8215 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.5077, allocations: 1.406 kB / 0.8215 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.104e-05/0.5077, allocations: 9.172 kB / 0.8215 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.5077, allocations: 1.094 kB / 0.8215 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.702e-05/0.5077, allocations: 5.438 kB / 0.8215 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.5077, allocations: 1.25 kB / 0.8215 GB, free: 4.32 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.768e-05/0.5078, allocations: 115.3 kB / 0.8216 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.5078, allocations: 5.438 kB / 0.8216 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.5079, allocations: 51.86 kB / 0.8217 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.5079, allocations: 4.875 kB / 0.8217 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.5079, allocations: 4.844 kB / 0.8217 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.5079, allocations: 0 / 0.8217 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.467e-05/0.508, allocations: 152.5 kB / 0.8218 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.508, allocations: 5.438 kB / 0.8218 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.884e-05/0.508, allocations: 3.625 kB / 0.8218 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.508, allocations: 4.781 kB / 0.8218 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.508, allocations: 4.094 kB / 0.8218 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.508, allocations: 1.25 kB / 0.8218 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.508, allocations: 0 / 0.8218 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.5081, allocations: 73.36 kB / 0.8219 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.581e-05/0.5082, allocations: 78.36 kB / 0.822 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.5082, allocations: 12.52 kB / 0.822 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.526e-05/0.5082, allocations: 1.5 kB / 0.822 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.191e-05/0.5082, allocations: 1.312 kB / 0.822 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.5082, allocations: 5.156 kB / 0.822 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.79e-05/0.5082, allocations: 81.31 kB / 0.8221 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.5082, allocations: 0 / 0.8221 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001991/0.5084, allocations: 26.84 kB / 0.8221 GB, free: 3.691 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0001656/0.5086, allocations: 122.6 kB / 0.8222 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.055e-05/0.5087, allocations: 17.97 kB / 0.8222 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5087, allocations: 1.281 kB / 0.8222 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.696e-05/0.5087, allocations: 20.55 kB / 0.8223 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.5088, allocations: 7.328 kB / 0.8223 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002008/0.509, allocations: 143.1 kB / 0.8224 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.7e-05/0.5091, allocations: 0.675 MB / 0.8231 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.831e-05/0.5092, allocations: 10.42 kB / 0.8231 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of SimCode: time 2.8e-07/0.5092, allocations: 128 / 0.8231 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of Templates: time 0.002426/0.5116, allocations: 0.779 MB / 0.8238 GB, free: 2.66 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.95756065309979] Failed to read output from testmodel.py, exit status != 0: 0.5184113900177181 0.529036152 0.020634089 Calling exit ...