Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.001564/0.001564, allocations: 113 kB / 17.6 MB, free: 4.684 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.001354/0.001354, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.431/1.431, allocations: 225.6 MB / 249.4 MB, free: 3.152 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.002524/0.002524, allocations: 287 kB / 304.8 MB, free: 3.461 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.08/1.08, allocations: 180.9 MB / 0.5282 GB, free: 1.949 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.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002836/0.002836, allocations: 99.84 kB / 0.7284 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5124/0.5152, allocations: 94.15 MB / 0.8203 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001513/0.5167, allocations: 0.613 MB / 0.8209 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003735/0.5171, allocations: 163.8 kB / 0.8211 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.354e-05/0.5171, allocations: 0 / 0.8211 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.562e-05/0.5172, allocations: 1.281 kB / 0.8211 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 1.879e-05/0.5172, allocations: 3.938 kB / 0.8211 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.5175, allocations: 34.91 kB / 0.8211 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.004e-05/0.5175, allocations: 22.58 kB / 0.8211 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.227e-05/0.5175, allocations: 5.406 kB / 0.8211 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.203e-05/0.5176, allocations: 10.47 kB / 0.8212 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.065e-05/0.5176, allocations: 6.469 kB / 0.8212 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.5176, allocations: 1.625 kB / 0.8212 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.494e-05/0.5177, allocations: 33.75 kB / 0.8212 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.312e-05/0.5177, allocations: 5.328 kB / 0.8212 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.098e-05/0.5178, allocations: 9.625 kB / 0.8212 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.5179, allocations: 33.5 kB / 0.8212 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.5179, allocations: 4 kB / 0.8212 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5179, allocations: 0.8125 kB / 0.8212 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.5179, allocations: 0 / 0.8212 GB, free: 7.008 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003317/0.5182, allocations: 335.3 kB / 0.8216 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.5182, allocations: 9.562 kB / 0.8216 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/0.5183, allocations: 2.812 kB / 0.8216 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.177e-05/0.5184, allocations: 167.5 kB / 0.8217 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.5184, allocations: 6.875 kB / 0.8217 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.5184, allocations: 5.656 kB / 0.8218 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.779e-05/0.5185, allocations: 45.28 kB / 0.8218 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.5185, allocations: 4.188 kB / 0.8218 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.5185, allocations: 5.312 kB / 0.8218 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.5185, allocations: 3.938 kB / 0.8218 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.346e-05/0.5186, allocations: 14.86 kB / 0.8218 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001273/0.5187, allocations: 157.3 kB / 0.822 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.328e-05/0.5188, allocations: 46.28 kB / 0.822 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.182e-05/0.5188, allocations: 22.81 kB / 0.822 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.218e-05/0.5189, allocations: 79.67 kB / 0.8221 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.215e-05/0.5189, allocations: 32.03 kB / 0.8221 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.041e-06/0.5189, allocations: 0 / 0.8221 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.00121/0.5201, allocations: 489.2 kB / 0.8226 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/0.5201, allocations: 60.22 kB / 0.8227 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.31e-05/0.5202, allocations: 95.2 kB / 0.8228 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.5202, allocations: 31.17 kB / 0.8228 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.279e-05/0.5202, allocations: 80.14 kB / 0.8229 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.5202, allocations: 27.78 kB / 0.8229 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.5202, allocations: 23.28 kB / 0.8229 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.476e-05/0.5203, allocations: 311.9 kB / 0.8232 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.092e-05/0.5203, allocations: 11.56 kB / 0.8232 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.384e-05/0.5203, allocations: 15.06 kB / 0.8232 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.446e-05/0.5204, allocations: 38.42 kB / 0.8233 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.5204, allocations: 0 / 0.8233 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001035/0.5205, allocations: 71.44 kB / 0.8233 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.5205, allocations: 9.906 kB / 0.8234 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.5205, allocations: 0.9688 kB / 0.8234 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.5205, allocations: 0 / 0.8234 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.031e-05/0.5206, allocations: 13.58 kB / 0.8234 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.5206, allocations: 1.672 kB / 0.8234 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.487e-05/0.5207, allocations: 5.062 kB / 0.8234 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.5207, allocations: 2.016 kB / 0.8234 GB, free: 4.879 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 (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 4.734e-05/0.5207, allocations: 112.4 kB / 0.8235 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.5207, allocations: 9.844 kB / 0.8235 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001755/0.5209, allocations: 96.66 kB / 0.8236 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.5209, allocations: 1.641 kB / 0.8236 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/0.5209, allocations: 4.641 kB / 0.8236 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.5209, allocations: 0.5156 kB / 0.8236 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.9e-05/0.521, allocations: 163.9 kB / 0.8237 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.521, allocations: 0 / 0.8237 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.647e-05/0.5211, allocations: 16.58 kB / 0.8238 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.5211, allocations: 5.438 kB / 0.8238 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.5211, allocations: 0.875 kB / 0.8238 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5211, allocations: 1.5 kB / 0.8238 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.5211, allocations: 0.6562 kB / 0.8238 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.5213, allocations: 118 kB / 0.8239 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.98e-05/0.5213, allocations: 87.22 kB / 0.824 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.5213, allocations: 5.375 kB / 0.824 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.609e-05/0.5214, allocations: 6.391 kB / 0.824 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.456e-05/0.5214, allocations: 4.719 kB / 0.824 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.5214, allocations: 6.047 kB / 0.824 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.654e-05/0.5214, allocations: 76.95 kB / 0.8241 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.5214, allocations: 1 kB / 0.8241 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00022/0.5216, allocations: 29.09 kB / 0.8241 GB, free: 4.199 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 (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 Backend phase and start with SimCode phase: time 0.0002045/0.5218, allocations: 132.1 kB / 0.8242 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001275/0.522, allocations: 42.72 kB / 0.8243 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.522, allocations: 4 kB / 0.8243 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.704e-05/0.522, allocations: 16.84 kB / 0.8243 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.5222, allocations: 10.36 kB / 0.8243 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002833/0.5224, allocations: 150.7 kB / 0.8244 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.131e-05/0.5225, allocations: 0.6782 MB / 0.8251 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.533e-05/0.5226, allocations: 15.25 kB / 0.8251 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.097e-05/0.5226, allocations: 10.53 kB / 0.8251 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of SimCode: time 3.3e-07/0.5226, allocations: 0 / 0.8251 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of Templates: time 0.003576/0.5262, allocations: 0.9129 MB / 0.826 GB, free: 3.16 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.10534187965095]