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.001605/0.001605, allocations: 109.8 kB / 18.33 MB, free: 3.957 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.001785/0.001785, allocations: 188.5 kB / 21.5 MB, free: 0.7969 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.439/1.439, allocations: 225.6 MB / 250.1 MB, free: 13.52 MB / 206.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.002514/0.002514, allocations: 277.7 kB / 305.5 MB, free: 8.762 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.227/1.227, allocations: 180.9 MB / 0.5289 GB, free: 14.57 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.00379/0.00379, allocations: 104.4 kB / 0.7291 GB, free: 39.68 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1963, allocations: 94.16 MB / 0.821 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.002238/0.1985, allocations: 0.5893 MB / 0.8216 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008674/0.1994, allocations: 335.1 kB / 0.8219 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.943e-05/0.1994, allocations: 0 / 0.8219 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.297e-05/0.1994, allocations: 0 / 0.8219 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.04e-06/0.1995, allocations: 0 / 0.8219 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005891/0.2, allocations: 111.7 kB / 0.822 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.621e-05/0.2001, allocations: 0 / 0.822 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.944e-05/0.2001, allocations: 4 kB / 0.822 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.592e-05/0.2002, allocations: 0 / 0.822 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.76e-05/0.2002, allocations: 7.938 kB / 0.8221 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.2002, allocations: 0 / 0.8221 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004985/0.2007, allocations: 271.7 kB / 0.8223 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/0.2007, allocations: 7.969 kB / 0.8223 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.229e-05/0.2007, allocations: 4 kB / 0.8223 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002446/0.201, allocations: 87.73 kB / 0.8224 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.201, allocations: 0 / 0.8224 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.233e-06/0.201, allocations: 0 / 0.8224 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.201, allocations: 0 / 0.8224 GB, free: 1.703 MB / 0.5606 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.000371/0.2014, allocations: 337.2 kB / 0.8227 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.2014, allocations: 12.03 kB / 0.8227 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.565e-05/0.2015, allocations: 0.9375 kB / 0.8227 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.2016, allocations: 164.3 kB / 0.8229 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.2016, allocations: 4.375 kB / 0.8229 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.2016, allocations: 384 / 0.8229 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.619e-05/0.2017, allocations: 30.27 kB / 0.8229 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.2017, allocations: 192 / 0.8229 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.2017, allocations: 3.938 kB / 0.8229 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.2017, allocations: 0 / 0.8229 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.479e-05/0.2018, allocations: 3.984 kB / 0.8229 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/0.2019, allocations: 149.7 kB / 0.8231 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.254e-05/0.202, allocations: 30.44 kB / 0.8231 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.93e-05/0.202, allocations: 8.953 kB / 0.8231 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005944/0.2026, allocations: 421.5 kB / 0.8235 GB, free: 324 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.2027, allocations: 34.56 kB / 0.8236 GB, free: 280 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.2027, allocations: 0 / 0.8236 GB, free: 280 kB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001943/0.2028, allocations: 41.62 kB / 0.8236 GB, free: 232 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.2029, allocations: 51.41 kB / 0.8236 GB, free: 168 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.268e-05/0.2029, allocations: 93.86 kB / 0.8237 GB, free: 64 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.203, allocations: 25.7 kB / 0.8238 GB, free: 32 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.024e-05/0.203, allocations: 80.14 kB / 0.8238 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.712e-05/0.2031, allocations: 7.953 kB / 0.8238 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.2031, allocations: 13.66 kB / 0.8239 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.2033, allocations: 318.9 kB / 0.8242 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.559e-05/0.2033, allocations: 4 kB / 0.8242 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.308e-06/0.2033, allocations: 4 kB / 0.8242 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.644e-05/0.2033, allocations: 8.859 kB / 0.8242 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2033, allocations: 4 kB / 0.8242 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.598e-05/0.2034, allocations: 33.69 kB / 0.8242 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.2034, allocations: 4 kB / 0.8242 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2034, allocations: 0 / 0.8242 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.2034, allocations: 4.031 kB / 0.8242 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.399e-05/0.2035, allocations: 8 kB / 0.8242 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.2035, allocations: 3.938 kB / 0.8242 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.057e-05/0.2035, allocations: 0 / 0.8242 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.2035, allocations: 0 / 0.8242 GB, free: 15.52 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 8.12e-05/0.2036, allocations: 109.8 kB / 0.8243 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.2036, allocations: 3.984 kB / 0.8243 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.634e-05/0.2037, allocations: 40.77 kB / 0.8244 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.2037, allocations: 4.031 kB / 0.8244 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2037, allocations: 0 / 0.8244 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2037, allocations: 0 / 0.8244 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.2039, allocations: 149.7 kB / 0.8245 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2039, allocations: 0 / 0.8245 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.438e-05/0.2039, allocations: 0 / 0.8245 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.2039, allocations: 3.938 kB / 0.8245 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.2039, allocations: 7.938 kB / 0.8245 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2039, allocations: 0 / 0.8245 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.2039, allocations: 0 / 0.8245 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.204, allocations: 65.06 kB / 0.8246 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.329e-05/0.2041, allocations: 77.11 kB / 0.8247 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.2041, allocations: 7.938 kB / 0.8247 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.224e-06/0.2041, allocations: 0 / 0.8247 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.101e-05/0.2041, allocations: 0 / 0.8247 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.2041, allocations: 0 / 0.8247 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.468e-05/0.2041, allocations: 75.28 kB / 0.8248 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.2041, allocations: 0 / 0.8248 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002139/0.2043, allocations: 19.97 kB / 0.8248 GB, free: 14.87 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.0002016/0.2045, allocations: 111.2 kB / 0.8249 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.691e-05/0.2046, allocations: 7.938 kB / 0.8249 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.2046, allocations: 4 kB / 0.8249 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.987e-06/0.2046, allocations: 4 kB / 0.8249 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.2048, allocations: 2.344 kB / 0.8249 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002625/0.205, allocations: 97.11 kB / 0.825 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.2053, allocations: 0.6767 MB / 0.8256 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.815e-05/0.2054, allocations: 0 / 0.8256 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.596e-05/0.2054, allocations: 7.438 kB / 0.8257 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of SimCode: time 4.51e-07/0.2054, allocations: 0 / 0.8257 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.003145/0.2085, allocations: 469.9 kB / 0.8261 GB, free: 13.44 MB / 0.5762 GB " [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=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.125609315997281]