Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.001463/0.001463, allocations: 118.1 kB / 17.13 MB, free: 5.758 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.00153/0.00153, allocations: 194.1 kB / 20.08 MB, free: 2.848 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.344/1.344, allocations: 225.6 MB / 248.5 MB, free: 3.629 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.002369/0.002369, allocations: 286.3 kB / 303.6 MB, free: 3.719 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.041/1.041, allocations: 180.9 MB / 0.5268 GB, free: 2.695 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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002709/0.002709, allocations: 104.3 kB / 0.726 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5015/0.5042, allocations: 94.16 MB / 0.8179 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001513/0.5057, allocations: 0.6161 MB / 0.8185 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005491/0.5063, allocations: 355.4 kB / 0.8189 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.86e-05/0.5063, allocations: 3.938 kB / 0.8189 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.263e-05/0.5063, allocations: 1.125 kB / 0.8189 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.672e-05/0.5063, allocations: 3.938 kB / 0.8189 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004053/0.5067, allocations: 127.8 kB / 0.819 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.174e-05/0.5068, allocations: 21.36 kB / 0.819 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.566e-05/0.5068, allocations: 2.031 kB / 0.819 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.587e-05/0.5069, allocations: 14.09 kB / 0.819 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.614e-05/0.5069, allocations: 6.469 kB / 0.819 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.5069, allocations: 4.969 kB / 0.819 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003678/0.5073, allocations: 280 kB / 0.8193 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.5073, allocations: 16.34 kB / 0.8193 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.249e-05/0.5073, allocations: 7.531 kB / 0.8193 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.5075, allocations: 108.5 kB / 0.8194 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.5075, allocations: 4 kB / 0.8194 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5075, allocations: 0 / 0.8194 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.5075, allocations: 0 / 0.8194 GB, free: 6.812 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003402/0.5079, allocations: 360.5 kB / 0.8198 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.5079, allocations: 10.19 kB / 0.8198 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.813e-05/0.508, allocations: 7.688 kB / 0.8198 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.358e-05/0.508, allocations: 168.5 kB / 0.82 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.508, allocations: 2.156 kB / 0.82 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.5081, allocations: 3.875 kB / 0.82 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.5082, allocations: 55.39 kB / 0.82 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.5082, allocations: 192 / 0.82 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.5082, allocations: 5.188 kB / 0.82 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-06/0.5082, allocations: 0.75 kB / 0.82 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.895e-05/0.5083, allocations: 26.17 kB / 0.82 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001306/0.5084, allocations: 166 kB / 0.8202 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.5085, allocations: 54.81 kB / 0.8203 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.911e-05/0.5085, allocations: 29 kB / 0.8203 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005444/0.5091, allocations: 459.1 kB / 0.8207 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.5091, allocations: 39.88 kB / 0.8208 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.5091, allocations: 1.094 kB / 0.8208 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001035/0.5101, allocations: 0.5932 MB / 0.8213 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.685e-05/0.5101, allocations: 52.69 kB / 0.8214 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.995e-05/0.5102, allocations: 98.33 kB / 0.8215 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.5102, allocations: 35.05 kB / 0.8215 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.402e-05/0.5102, allocations: 80.14 kB / 0.8216 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.5102, allocations: 47.28 kB / 0.8216 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/0.5103, allocations: 30.05 kB / 0.8217 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.793e-05/0.5103, allocations: 316 kB / 0.822 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.665e-05/0.5103, allocations: 19.59 kB / 0.822 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.267e-05/0.5104, allocations: 19.8 kB / 0.822 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.842e-05/0.5105, allocations: 54.3 kB / 0.8221 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.5105, allocations: 4 kB / 0.8221 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001329/0.5106, allocations: 110 kB / 0.8222 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.5106, allocations: 5.188 kB / 0.8222 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.5106, allocations: 0 / 0.8222 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.5106, allocations: 1.312 kB / 0.8222 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.17e-05/0.5107, allocations: 22.16 kB / 0.8222 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.5107, allocations: 0 / 0.8222 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.104e-05/0.5107, allocations: 1.125 kB / 0.8222 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.5107, allocations: 6.531 kB / 0.8222 GB, free: 4.109 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 (13): * Single equations (assignments): 13 * 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.507e-05/0.5108, allocations: 116.4 kB / 0.8223 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.5108, allocations: 11.8 kB / 0.8223 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001672/0.511, allocations: 113.5 kB / 0.8224 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.511, allocations: 1.125 kB / 0.8224 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.511, allocations: 1.281 kB / 0.8224 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.511, allocations: 0.6562 kB / 0.8224 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002738/0.5113, allocations: 355.1 kB / 0.8228 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5113, allocations: 0 / 0.8228 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.876e-05/0.5114, allocations: 20.47 kB / 0.8228 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.5114, allocations: 5.156 kB / 0.8228 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.5114, allocations: 1.5 kB / 0.8228 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5114, allocations: 1.125 kB / 0.8228 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.5114, allocations: 0 / 0.8228 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.5116, allocations: 225.2 kB / 0.823 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.301e-05/0.5116, allocations: 92.48 kB / 0.8231 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.5116, allocations: 6.047 kB / 0.8231 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.602e-05/0.5117, allocations: 2.125 kB / 0.8231 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.964e-05/0.5117, allocations: 18.42 kB / 0.8231 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.5117, allocations: 3.062 kB / 0.8231 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.749e-05/0.5117, allocations: 79.41 kB / 0.8232 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.5117, allocations: 0 / 0.8232 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00025/0.512, allocations: 43.31 kB / 0.8233 GB, free: 3.203 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0001896/0.5122, allocations: 143.7 kB / 0.8234 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001324/0.5123, allocations: 66.44 kB / 0.8235 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5123, allocations: 6.594 kB / 0.8235 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4e-05/0.5124, allocations: 24.7 kB / 0.8235 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.5126, allocations: 11.42 kB / 0.8235 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002751/0.5128, allocations: 206.2 kB / 0.8237 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.032e-05/0.5129, allocations: 0.6855 MB / 0.8244 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.513, allocations: 15.03 kB / 0.8244 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.513, allocations: 0 / 0.8244 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of Templates: time 0.002697/0.5156, allocations: 1.22 MB / 0.8256 GB, free: 2.078 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.007585487095639] Failed to read output from testmodel.py, exit status != 0: 0.5226910419296473 0.5330274460000001 0.022636755 Calling exit ...