Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.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.001412/0.001412, allocations: 118.7 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.001454/0.001454, allocations: 193.2 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.336/1.336, allocations: 225.6 MB / 248.5 MB, free: 3.637 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.002329/0.002329, allocations: 279 kB / 303.6 MB, free: 3.734 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.012/1.012, allocations: 180.9 MB / 0.5268 GB, free: 2.711 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.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002751/0.002751, allocations: 99.84 kB / 0.726 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5013/0.504, allocations: 94.15 MB / 0.8179 GB, free: 7.445 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001563/0.5056, allocations: 0.6163 MB / 0.8185 GB, free: 7.062 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.001431/0.507, allocations: 1.453 MB / 0.8199 GB, free: 6.027 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.228e-05/0.507, allocations: 0 / 0.8199 GB, free: 6.027 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 4.66e-05/0.5071, allocations: 1.75 kB / 0.8199 GB, free: 6.027 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 3.486e-05/0.5071, allocations: 12.64 kB / 0.8199 GB, free: 6.02 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005783/0.5077, allocations: 207.4 kB / 0.8201 GB, free: 5.949 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 7.897e-05/0.5078, allocations: 43.8 kB / 0.8202 GB, free: 5.934 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 3.087e-05/0.5078, allocations: 1.281 kB / 0.8202 GB, free: 5.934 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 2.415e-05/0.5078, allocations: 11.25 kB / 0.8202 GB, free: 5.934 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 4.755e-05/0.5079, allocations: 24.98 kB / 0.8202 GB, free: 5.922 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.5079, allocations: 2.469 kB / 0.8202 GB, free: 5.922 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003628/0.5083, allocations: 265.4 kB / 0.8205 GB, free: 5.844 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 3.505e-05/0.5083, allocations: 11.36 kB / 0.8205 GB, free: 5.84 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 2.94e-05/0.5083, allocations: 12.41 kB / 0.8205 GB, free: 5.832 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.5086, allocations: 216.6 kB / 0.8207 GB, free: 5.781 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.207e-06/0.5086, allocations: 0 / 0.8207 GB, free: 5.781 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5086, allocations: 0 / 0.8207 GB, free: 5.781 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.5086, allocations: 0 / 0.8207 GB, free: 5.781 MB / 0.5763 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.0002972/0.5089, allocations: 408.5 kB / 0.8211 GB, free: 5.363 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.5089, allocations: 9.281 kB / 0.8211 GB, free: 5.363 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.2e-05/0.5089, allocations: 4.281 kB / 0.8211 GB, free: 5.363 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.039e-05/0.509, allocations: 183.3 kB / 0.8213 GB, free: 5.148 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.509, allocations: 5.125 kB / 0.8213 GB, free: 5.148 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.5091, allocations: 1.719 kB / 0.8213 GB, free: 5.148 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.5092, allocations: 77.22 kB / 0.8214 GB, free: 5.105 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.5092, allocations: 0 / 0.8214 GB, free: 5.105 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.5092, allocations: 1.031 kB / 0.8214 GB, free: 5.105 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.865e-06/0.5092, allocations: 1.062 kB / 0.8214 GB, free: 5.105 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.986e-05/0.5093, allocations: 36.39 kB / 0.8214 GB, free: 5.102 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.921e-05/0.5094, allocations: 163.4 kB / 0.8216 GB, free: 4.906 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 8.56e-05/0.5094, allocations: 51.39 kB / 0.8216 GB, free: 4.879 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.83e-05/0.5095, allocations: 40.77 kB / 0.8216 GB, free: 4.867 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-06/0.5095, allocations: 1.953 kB / 0.8216 GB, free: 4.867 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.62e-05/0.5095, allocations: 39.34 kB / 0.8217 GB, free: 4.82 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.5095, allocations: 0 / 0.8217 GB, free: 4.82 MB / 0.5763 GB Notification: Performance of matching and sorting (n=7): time 0.0002855/0.5098, allocations: 189.3 kB / 0.8219 GB, free: 4.738 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.5098, allocations: 88.84 kB / 0.8219 GB, free: 4.637 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.089e-05/0.5099, allocations: 111.7 kB / 0.8221 GB, free: 4.535 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.5099, allocations: 26.95 kB / 0.8221 GB, free: 4.504 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 2.013e-05/0.5099, allocations: 91.44 kB / 0.8222 GB, free: 4.414 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.51, allocations: 20.19 kB / 0.8222 GB, free: 4.398 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.51, allocations: 24.09 kB / 0.8222 GB, free: 4.379 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 3.78e-05/0.51, allocations: 314.1 kB / 0.8225 GB, free: 4.066 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.545e-05/0.5101, allocations: 35.69 kB / 0.8225 GB, free: 4.062 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.023e-05/0.5101, allocations: 44.33 kB / 0.8226 GB, free: 4.051 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.5103, allocations: 151 kB / 0.8227 GB, free: 3.961 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.5103, allocations: 0 / 0.8227 GB, free: 3.961 MB / 0.5763 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001446/0.5104, allocations: 151.8 kB / 0.8229 GB, free: 3.883 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.5104, allocations: 40.47 kB / 0.8229 GB, free: 3.848 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.5104, allocations: 0.7031 kB / 0.8229 GB, free: 3.848 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.5105, allocations: 0 / 0.8229 GB, free: 3.848 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.5105, allocations: 0 / 0.8229 GB, free: 3.848 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.5105, allocations: 0.8906 kB / 0.8229 GB, free: 3.848 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.932e-05/0.5105, allocations: 6.609 kB / 0.8229 GB, free: 3.848 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.5106, allocations: 11.94 kB / 0.8229 GB, free: 3.844 MB / 0.5763 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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 6.1e-05/0.5106, allocations: 148.2 kB / 0.8231 GB, free: 3.695 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.462e-05/0.5106, allocations: 13.14 kB / 0.8231 GB, free: 3.688 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.122e-05/0.5107, allocations: 7.797 kB / 0.8231 GB, free: 3.684 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.5107, allocations: 4.922 kB / 0.8231 GB, free: 3.68 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.5107, allocations: 0 / 0.8231 GB, free: 3.68 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.5107, allocations: 0 / 0.8231 GB, free: 3.68 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.718e-05/0.5107, allocations: 163.3 kB / 0.8233 GB, free: 3.488 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.5107, allocations: 0 / 0.8233 GB, free: 3.488 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.32e-07/0.5107, allocations: 3.141 kB / 0.8233 GB, free: 3.488 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.5107, allocations: 7.938 kB / 0.8233 GB, free: 3.48 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.5107, allocations: 3.188 kB / 0.8233 GB, free: 3.48 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5107, allocations: 4.656 kB / 0.8233 GB, free: 3.477 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.5107, allocations: 0 / 0.8233 GB, free: 3.477 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.5109, allocations: 194.9 kB / 0.8235 GB, free: 3.359 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 1.792e-05/0.511, allocations: 92.08 kB / 0.8235 GB, free: 3.254 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.511, allocations: 5.734 kB / 0.8235 GB, free: 3.254 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.248e-05/0.511, allocations: 4.875 kB / 0.8236 GB, free: 3.254 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.995e-05/0.511, allocations: 11.41 kB / 0.8236 GB, free: 3.246 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.511, allocations: 5.906 kB / 0.8236 GB, free: 3.246 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 2.825e-05/0.5111, allocations: 90.86 kB / 0.8237 GB, free: 3.168 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7e-08/0.5111, allocations: 3.938 kB / 0.8237 GB, free: 3.164 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002615/0.5113, allocations: 69.28 kB / 0.8237 GB, free: 3.16 MB / 0.5763 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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000247/0.5116, allocations: 171 kB / 0.8239 GB, free: 3.051 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0002014/0.5118, allocations: 158.4 kB / 0.824 GB, free: 2.977 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.5118, allocations: 4.062 kB / 0.824 GB, free: 2.973 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 8.655e-05/0.5119, allocations: 117.7 kB / 0.8242 GB, free: 2.902 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.512, allocations: 6.438 kB / 0.8242 GB, free: 2.902 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002456/0.5122, allocations: 198.4 kB / 0.8244 GB, free: 2.746 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.72e-05/0.5123, allocations: 0.6847 MB / 0.825 GB, free: 2.051 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.185e-06/0.5123, allocations: 7.438 kB / 0.825 GB, free: 2.043 MB / 0.5763 GB Notification: Performance of SimCode: time 3.81e-07/0.5123, allocations: 2.469 kB / 0.825 GB, free: 2.043 MB / 0.5763 GB Notification: Performance of Templates: time 0.003222/0.5156, allocations: 1.714 MB / 0.8267 GB, free: 1.898 MB / 0.5763 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.208502785069868] Failed to read output from testmodel.py, exit status != 0: 0.5227940829936415 0.534857417 0.023713724000000002 Calling exit ...