Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.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.001548/0.001548, 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.001572/0.001572, allocations: 192.7 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.414/1.414, allocations: 225.6 MB / 248.5 MB, free: 3.598 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.002419/0.002419, allocations: 281.9 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.032/1.032, allocations: 180.9 MB / 0.5268 GB, free: 2.691 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.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002913/0.002913, allocations: 95.84 kB / 0.7259 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5021/0.505, allocations: 94.16 MB / 0.8179 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.002529/0.5076, allocations: 1.79 MB / 0.8196 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009669/0.5085, allocations: 0.6653 MB / 0.8203 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.382e-05/0.5086, allocations: 0.9062 kB / 0.8203 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.222e-05/0.5086, allocations: 7.875 kB / 0.8203 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.655e-05/0.5087, allocations: 21.14 kB / 0.8203 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000486/0.5092, allocations: 167.9 kB / 0.8205 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.5093, allocations: 119.3 kB / 0.8206 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.5095, allocations: 44.97 kB / 0.8206 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.5096, allocations: 60.81 kB / 0.8207 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.923e-05/0.5096, allocations: 58.47 kB / 0.8207 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.5097, allocations: 11.47 kB / 0.8207 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.5098, allocations: 44.95 kB / 0.8208 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.253e-05/0.5098, allocations: 33.58 kB / 0.8208 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.783e-05/0.5099, allocations: 51.42 kB / 0.8209 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.51, allocations: 149.2 kB / 0.821 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.5101, allocations: 7.125 kB / 0.821 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5101, allocations: 0 / 0.821 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.5101, allocations: 0 / 0.821 GB, free: 5.555 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000503/0.5106, allocations: 442.6 kB / 0.8214 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.5106, allocations: 9.156 kB / 0.8214 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007964/0.5114, allocations: 109.8 kB / 0.8215 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.036e-05/0.5115, allocations: 183.5 kB / 0.8217 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.781e-05/0.5116, allocations: 66.84 kB / 0.8218 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.5116, allocations: 5.844 kB / 0.8218 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005334/0.5121, allocations: 172.8 kB / 0.822 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.5121, allocations: 1.031 kB / 0.822 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.5121, allocations: 1.281 kB / 0.822 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.5122, allocations: 1.625 kB / 0.822 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006111/0.5128, allocations: 159.1 kB / 0.8221 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.5138, allocations: 488.3 kB / 0.8226 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009855/0.5148, allocations: 218.2 kB / 0.8228 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000293/0.5151, allocations: 79.69 kB / 0.8229 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.5151, allocations: 0.5156 kB / 0.8229 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.5151, allocations: 37.75 kB / 0.8229 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.5151, allocations: 4 kB / 0.8229 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0009964/0.5161, allocations: 257.2 kB / 0.8231 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.155e-05/0.5161, allocations: 59.41 kB / 0.8232 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.989e-05/0.5162, allocations: 137.7 kB / 0.8233 GB, free: 4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.5162, allocations: 27.7 kB / 0.8234 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.161e-05/0.5163, allocations: 113.6 kB / 0.8235 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.5163, allocations: 20.28 kB / 0.8235 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.112e-05/0.5163, allocations: 25.58 kB / 0.8235 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.479e-05/0.5164, allocations: 317.5 kB / 0.8238 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003008/0.5167, allocations: 78.77 kB / 0.8239 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002965/0.517, allocations: 98.56 kB / 0.824 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005632/0.5176, allocations: 164.8 kB / 0.8241 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5176, allocations: 0 / 0.8241 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006331/0.5182, allocations: 202.1 kB / 0.8243 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.5182, allocations: 7.125 kB / 0.8243 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.5182, allocations: 0 / 0.8243 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.5182, allocations: 7.719 kB / 0.8244 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/0.5185, allocations: 37.53 kB / 0.8244 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.5185, allocations: 0.6562 kB / 0.8244 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.5187, allocations: 30.72 kB / 0.8244 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.5187, allocations: 3.797 kB / 0.8244 GB, free: 3.297 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 6.596e-05/0.5187, allocations: 114.1 kB / 0.8245 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.5188, allocations: 9.203 kB / 0.8245 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006748/0.5195, allocations: 216.2 kB / 0.8247 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.5195, allocations: 0 / 0.8247 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5195, allocations: 0.7031 kB / 0.8247 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.5195, allocations: 0 / 0.8247 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.5197, allocations: 238.5 kB / 0.825 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5197, allocations: 0 / 0.825 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.5199, allocations: 35.25 kB / 0.825 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.5199, allocations: 6.562 kB / 0.825 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.5199, allocations: 5.25 kB / 0.825 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.5199, allocations: 0.7969 kB / 0.825 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5199, allocations: 3.984 kB / 0.825 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006292/0.5206, allocations: 287.5 kB / 0.8253 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.459e-05/0.5206, allocations: 89.03 kB / 0.8254 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.5206, allocations: 12.62 kB / 0.8254 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002903/0.5209, allocations: 27.8 kB / 0.8254 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.5209, allocations: 4.859 kB / 0.8254 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.5209, allocations: 11.7 kB / 0.8254 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.656e-05/0.521, allocations: 106.5 kB / 0.8255 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.521, allocations: 0 / 0.8255 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002436/0.5212, allocations: 26.73 kB / 0.8256 GB, free: 2.473 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 (6): * Single equations (assignments): 6 * 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 9.58e-05/0.5213, allocations: 99.06 kB / 0.8257 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006391/0.522, allocations: 165.4 kB / 0.8258 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.522, allocations: 0 / 0.8258 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002963/0.5223, allocations: 77.45 kB / 0.8259 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.5226, allocations: 7.406 kB / 0.8259 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005977/0.5232, allocations: 294.3 kB / 0.8262 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.5233, allocations: 0.6987 MB / 0.8269 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.478e-05/0.5234, allocations: 19.61 kB / 0.8269 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.5234, allocations: 0 / 0.8269 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of Templates: time 0.003128/0.5265, allocations: 1.608 MB / 0.8284 GB, free: 1.285 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.037992329103872] Failed to read output from testmodel.py, exit status != 0: 0.5337522819172591 0.545576115 0.032896542 Calling exit ...