Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.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.001249/0.001249, 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.001227/0.001227, 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.338/1.338, allocations: 225.6 MB / 248.5 MB, free: 3.613 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.00246/0.00246, allocations: 285.3 kB / 303.6 MB, free: 3.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 0.9987/0.9987, allocations: 180.9 MB / 0.5268 GB, free: 2.715 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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002689/0.002689, allocations: 103.8 kB / 0.7259 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.496/0.4987, allocations: 94.15 MB / 0.8179 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.002197/0.5009, allocations: 1.453 MB / 0.8193 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003865/0.5013, allocations: 200.4 kB / 0.8195 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.663e-05/0.5013, allocations: 1.562 kB / 0.8195 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.378e-05/0.5013, allocations: 3.281 kB / 0.8195 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.81e-05/0.5014, allocations: 3.938 kB / 0.8195 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.5016, allocations: 32.52 kB / 0.8195 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.185e-05/0.5017, allocations: 28.95 kB / 0.8195 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.975e-05/0.5018, allocations: 5.828 kB / 0.8195 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.588e-05/0.5018, allocations: 10.33 kB / 0.8196 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.535e-05/0.5018, allocations: 10.88 kB / 0.8196 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.5018, allocations: 1.875 kB / 0.8196 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.157e-05/0.5019, allocations: 31.64 kB / 0.8196 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.422e-05/0.5019, allocations: 8.25 kB / 0.8196 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.184e-05/0.502, allocations: 9.656 kB / 0.8196 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.5021, allocations: 39.3 kB / 0.8197 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.5021, allocations: 3.938 kB / 0.8197 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5021, allocations: 5.156 kB / 0.8197 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.5021, allocations: 0 / 0.8197 GB, free: 6.211 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003812/0.5025, allocations: 349 kB / 0.82 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.5025, allocations: 9.25 kB / 0.82 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.911e-05/0.5025, allocations: 2.719 kB / 0.82 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.274e-05/0.5026, allocations: 170.2 kB / 0.8202 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.013e-06/0.5026, allocations: 384 / 0.8202 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.5026, allocations: 2.719 kB / 0.8202 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.5028, allocations: 55.09 kB / 0.8202 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.5028, allocations: 4.125 kB / 0.8202 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.5028, allocations: 4.844 kB / 0.8202 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.5028, allocations: 0 / 0.8202 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001575/0.503, allocations: 33 kB / 0.8203 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002407/0.5032, allocations: 252.1 kB / 0.8205 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.5033, allocations: 45.16 kB / 0.8205 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.022e-05/0.5034, allocations: 17.84 kB / 0.8206 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.272e-05/0.5035, allocations: 79.14 kB / 0.8206 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.3e-05/0.5035, allocations: 39.2 kB / 0.8207 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.5035, allocations: 0 / 0.8207 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.000324/0.5038, allocations: 86.56 kB / 0.8208 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.896e-05/0.5038, allocations: 51.41 kB / 0.8208 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.209e-05/0.5039, allocations: 103.4 kB / 0.8209 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.733e-06/0.5039, allocations: 27.42 kB / 0.8209 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.233e-05/0.5039, allocations: 88.09 kB / 0.821 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.341e-05/0.5039, allocations: 4.438 kB / 0.821 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.522e-05/0.5039, allocations: 12 kB / 0.821 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.035e-05/0.504, allocations: 320 kB / 0.8213 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.811e-05/0.5041, allocations: 16.42 kB / 0.8214 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.985e-05/0.5041, allocations: 16.41 kB / 0.8214 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.5043, allocations: 38.2 kB / 0.8214 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5043, allocations: 0.875 kB / 0.8214 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001735/0.5044, allocations: 79.75 kB / 0.8215 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.5045, allocations: 6.094 kB / 0.8215 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.5045, allocations: 0 / 0.8215 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.5045, allocations: 256 / 0.8215 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.083e-05/0.5046, allocations: 9.234 kB / 0.8215 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.5046, allocations: 5.25 kB / 0.8215 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.312e-05/0.5046, allocations: 6.719 kB / 0.8215 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.5046, allocations: 4.938 kB / 0.8215 GB, free: 4.395 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 (2): * Single equations (assignments): 2 * 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.072e-05/0.5047, allocations: 115.4 kB / 0.8216 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.187e-05/0.5047, allocations: 0.9375 kB / 0.8216 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002042/0.5049, allocations: 80.86 kB / 0.8217 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.5049, allocations: 3.938 kB / 0.8217 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.5049, allocations: 0.6875 kB / 0.8217 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.5049, allocations: 5.031 kB / 0.8217 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.505, allocations: 164.6 kB / 0.8219 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.505, allocations: 0 / 0.8219 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.451e-05/0.505, allocations: 9.406 kB / 0.8219 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.505, allocations: 1.188 kB / 0.8219 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.5051, allocations: 0 / 0.8219 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.5051, allocations: 0.8125 kB / 0.8219 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.5051, allocations: 0 / 0.8219 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/0.5052, allocations: 173.7 kB / 0.822 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.502e-05/0.5053, allocations: 77.11 kB / 0.8221 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.5053, allocations: 1.219 kB / 0.8221 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.886e-05/0.5053, allocations: 4.156 kB / 0.8221 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.5054, allocations: 5 kB / 0.8221 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.5054, allocations: 1.125 kB / 0.8221 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.239e-05/0.5054, allocations: 82.75 kB / 0.8222 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5054, allocations: 4.875 kB / 0.8222 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002106/0.5056, allocations: 12.59 kB / 0.8222 GB, free: 3.691 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 (2): * Single equations (assignments): 2 * 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.0001238/0.5057, allocations: 110 kB / 0.8223 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002138/0.5059, allocations: 33.53 kB / 0.8224 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.506, allocations: 0 / 0.8224 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.383e-05/0.506, allocations: 23.16 kB / 0.8224 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.5063, allocations: 10.59 kB / 0.8224 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000238/0.5065, allocations: 144.3 kB / 0.8225 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.102e-05/0.5066, allocations: 0.6799 MB / 0.8232 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.079e-05/0.5066, allocations: 8.75 kB / 0.8232 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.5066, allocations: 1.188 kB / 0.8232 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of Templates: time 0.002236/0.5089, allocations: 0.664 MB / 0.8239 GB, free: 2.676 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.785991178127006] Failed to read output from testmodel.py, exit status != 0: 0.5161997731775045 0.527249964 0.022281398 Calling exit ...