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.001451/0.001451, 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.001494/0.001494, allocations: 191.7 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.377/1.377, allocations: 225.6 MB / 248.5 MB, free: 3.59 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.002307/0.002307, allocations: 282.5 kB / 303.6 MB, free: 3.727 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.024/1.024, allocations: 180.9 MB / 0.5268 GB, free: 2.695 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.002678/0.002678, allocations: 103.8 kB / 0.726 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4975/0.5001, allocations: 94.15 MB / 0.8179 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001582/0.5017, allocations: 0.6018 MB / 0.8185 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003377/0.5021, allocations: 154.4 kB / 0.8186 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.251e-05/0.5021, allocations: 0 / 0.8186 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.58e-05/0.5021, allocations: 7.875 kB / 0.8187 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 1.608e-05/0.5021, allocations: 4 kB / 0.8187 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002735/0.5024, allocations: 37.45 kB / 0.8187 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.762e-05/0.5024, allocations: 18.31 kB / 0.8187 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.959e-05/0.5025, allocations: 5.094 kB / 0.8187 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.547e-05/0.5025, allocations: 3.844 kB / 0.8187 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.924e-05/0.5026, allocations: 18.36 kB / 0.8187 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.5026, allocations: 1.344 kB / 0.8187 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.308e-05/0.5026, allocations: 30.83 kB / 0.8188 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.397e-05/0.5026, allocations: 1.094 kB / 0.8188 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.025e-05/0.5027, allocations: 14.11 kB / 0.8188 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 8.944e-05/0.5028, allocations: 27.8 kB / 0.8188 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5028, allocations: 4 kB / 0.8188 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5028, allocations: 1.094 kB / 0.8188 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.5028, allocations: 3.938 kB / 0.8188 GB, free: 6.891 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.0002878/0.5031, allocations: 334.9 kB / 0.8191 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.5031, allocations: 9.594 kB / 0.8191 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.28e-05/0.5031, allocations: 6.266 kB / 0.8192 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.997e-05/0.5032, allocations: 161.4 kB / 0.8193 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.5032, allocations: 1.375 kB / 0.8193 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.5032, allocations: 14.52 kB / 0.8193 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.308e-05/0.5033, allocations: 42.28 kB / 0.8194 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.5033, allocations: 7.453 kB / 0.8194 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.5033, allocations: 5.281 kB / 0.8194 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.5033, allocations: 0 / 0.8194 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.032e-05/0.5034, allocations: 19.73 kB / 0.8194 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001127/0.5035, allocations: 158.5 kB / 0.8195 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.657e-05/0.5036, allocations: 41.59 kB / 0.8196 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.892e-05/0.5036, allocations: 20.8 kB / 0.8196 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.09e-05/0.5037, allocations: 83.17 kB / 0.8197 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.562e-05/0.5037, allocations: 31.53 kB / 0.8197 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 9.61e-07/0.5037, allocations: 0 / 0.8197 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.001041/0.5047, allocations: 496.7 kB / 0.8202 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.5047, allocations: 52.91 kB / 0.8202 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.724e-05/0.5048, allocations: 96.11 kB / 0.8203 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.896e-06/0.5048, allocations: 26.98 kB / 0.8204 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.398e-05/0.5048, allocations: 87.75 kB / 0.8204 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.5048, allocations: 22.81 kB / 0.8205 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.5049, allocations: 30.77 kB / 0.8205 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.604e-05/0.5049, allocations: 312.9 kB / 0.8208 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.647e-05/0.5049, allocations: 10.31 kB / 0.8208 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.326e-05/0.5049, allocations: 15.73 kB / 0.8208 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.765e-05/0.505, allocations: 38 kB / 0.8208 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.505, allocations: 1.469 kB / 0.8209 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.394e-05/0.5051, allocations: 77.72 kB / 0.8209 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.5051, allocations: 10.66 kB / 0.8209 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.5051, allocations: 0 / 0.8209 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.5051, allocations: 1.312 kB / 0.8209 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.069e-05/0.5052, allocations: 15.28 kB / 0.821 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.5052, allocations: 4.688 kB / 0.821 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.149e-05/0.5052, allocations: 1.094 kB / 0.821 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.5052, allocations: 5.5 kB / 0.821 GB, free: 4.746 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.023e-05/0.5053, allocations: 116.1 kB / 0.8211 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.5053, allocations: 9.391 kB / 0.8211 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.5054, allocations: 82.09 kB / 0.8212 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.5054, allocations: 0.8438 kB / 0.8212 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5054, allocations: 8 kB / 0.8212 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.5054, allocations: 0.7812 kB / 0.8212 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.029e-05/0.5055, allocations: 161 kB / 0.8213 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5055, allocations: 4 kB / 0.8213 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.658e-05/0.5056, allocations: 18.36 kB / 0.8213 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.5056, allocations: 4.688 kB / 0.8213 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.5056, allocations: 0.875 kB / 0.8213 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.5056, allocations: 0.8438 kB / 0.8214 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.5056, allocations: 0 / 0.8214 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.5057, allocations: 111.5 kB / 0.8215 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.469e-05/0.5058, allocations: 86.12 kB / 0.8215 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.5058, allocations: 8.844 kB / 0.8215 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.203e-05/0.5058, allocations: 5.094 kB / 0.8216 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.663e-05/0.5058, allocations: 6.828 kB / 0.8216 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.5058, allocations: 1.812 kB / 0.8216 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.43e-05/0.5059, allocations: 79.61 kB / 0.8216 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.5059, allocations: 0 / 0.8216 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002141/0.5061, allocations: 32.25 kB / 0.8217 GB, free: 4.078 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.0001787/0.5062, allocations: 133.1 kB / 0.8218 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001038/0.5063, allocations: 38.27 kB / 0.8218 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5064, allocations: 1.25 kB / 0.8218 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.142e-05/0.5064, allocations: 20.12 kB / 0.8219 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.5065, allocations: 8.828 kB / 0.8219 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002482/0.5068, allocations: 164 kB / 0.822 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.36e-05/0.5069, allocations: 0.6807 MB / 0.8227 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.29e-05/0.5069, allocations: 11.88 kB / 0.8227 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of SimCode: time 2.6e-07/0.5069, allocations: 4 kB / 0.8227 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of Templates: time 0.002477/0.5094, allocations: 0.9304 MB / 0.8236 GB, free: 3.023 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 os._exit(0), Time elapsed: 7.99570192117244] Failed to read output from testmodel.py, exit status != 0: 0.516362217022106 0.526527739 0.021034971000000003 Calling exit ...