Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.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.001439/0.001439, allocations: 117.7 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.001471/0.001471, allocations: 191.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.342/1.342, 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.002324/0.002324, allocations: 288.8 kB / 303.6 MB, free: 3.73 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.9995/0.9995, allocations: 180.9 MB / 0.5268 GB, free: 2.699 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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002663/0.002663, allocations: 99.84 kB / 0.7259 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5043/0.507, allocations: 94.15 MB / 0.8179 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.002433/0.5094, allocations: 1.479 MB / 0.8193 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008538/0.5102, allocations: 0.5688 MB / 0.8199 GB, free: 6 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.538e-05/0.5103, allocations: 1.25 kB / 0.8199 GB, free: 6 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.325e-05/0.5103, allocations: 0 / 0.8199 GB, free: 6 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.726e-05/0.5103, allocations: 5.062 kB / 0.8199 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000251/0.5106, allocations: 58.39 kB / 0.8199 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.842e-05/0.5107, allocations: 26.75 kB / 0.82 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.92e-05/0.5108, allocations: 6.875 kB / 0.82 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.792e-05/0.5108, allocations: 16.03 kB / 0.82 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.238e-05/0.5109, allocations: 15.2 kB / 0.82 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.5109, allocations: 2.688 kB / 0.82 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.511, allocations: 48.11 kB / 0.82 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.511, allocations: 8.859 kB / 0.82 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.672e-05/0.5111, allocations: 23.22 kB / 0.8201 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.5112, allocations: 65.38 kB / 0.8201 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5112, allocations: 0 / 0.8201 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5112, allocations: 0 / 0.8201 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.5112, allocations: 1 kB / 0.8201 GB, free: 5.875 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.0003654/0.5116, allocations: 351.4 kB / 0.8205 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.5116, allocations: 9.344 kB / 0.8205 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.142e-05/0.5117, allocations: 3.094 kB / 0.8205 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.5118, allocations: 169.8 kB / 0.8206 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.5118, allocations: 5.094 kB / 0.8206 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.5118, allocations: 5.281 kB / 0.8206 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.5119, allocations: 49.16 kB / 0.8207 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.512, allocations: 1.062 kB / 0.8207 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.512, allocations: 0 / 0.8207 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.512, allocations: 1.438 kB / 0.8207 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.834e-05/0.5121, allocations: 22.12 kB / 0.8207 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002675/0.5123, allocations: 253 kB / 0.821 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.268e-05/0.5124, allocations: 38.61 kB / 0.821 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.202e-05/0.5125, allocations: 10.55 kB / 0.821 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006699/0.5131, allocations: 477.5 kB / 0.8215 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.5131, allocations: 35.5 kB / 0.8215 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.5131, allocations: 0 / 0.8215 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0002303/0.5134, allocations: 62.5 kB / 0.8216 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.983e-05/0.5134, allocations: 55.34 kB / 0.8216 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.692e-05/0.5135, allocations: 111.9 kB / 0.8217 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.387e-06/0.5135, allocations: 25.7 kB / 0.8217 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.901e-05/0.5135, allocations: 100.7 kB / 0.8218 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.416e-05/0.5135, allocations: 9.109 kB / 0.8218 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-05/0.5135, allocations: 12.53 kB / 0.8219 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.436e-05/0.5136, allocations: 315.6 kB / 0.8222 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.977e-05/0.5136, allocations: 8.75 kB / 0.8222 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.191e-05/0.5137, allocations: 13.48 kB / 0.8222 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.893e-05/0.5137, allocations: 28.28 kB / 0.8222 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5137, allocations: 5.438 kB / 0.8222 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001007/0.5138, allocations: 53.17 kB / 0.8223 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.5138, allocations: 5.688 kB / 0.8223 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.5138, allocations: 3.328 kB / 0.8223 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.5139, allocations: 0 / 0.8223 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.276e-05/0.5139, allocations: 8.844 kB / 0.8223 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.5139, allocations: 0 / 0.8223 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.82e-05/0.514, allocations: 2.562 kB / 0.8223 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.514, allocations: 4.828 kB / 0.8223 GB, free: 3.668 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.378e-05/0.514, allocations: 119.3 kB / 0.8224 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/0.514, allocations: 1.562 kB / 0.8224 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001446/0.5142, allocations: 60.7 kB / 0.8225 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.5142, allocations: 0 / 0.8225 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.5142, allocations: 0 / 0.8225 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.5142, allocations: 1.5 kB / 0.8225 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.5143, allocations: 169.6 kB / 0.8226 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.5143, allocations: 1.688 kB / 0.8226 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.977e-05/0.5143, allocations: 11.69 kB / 0.8226 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.5143, allocations: 7.875 kB / 0.8226 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.5143, allocations: 0.7812 kB / 0.8226 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.5143, allocations: 0 / 0.8226 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.5143, allocations: 1.5 kB / 0.8226 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.5145, allocations: 147 kB / 0.8228 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.716e-05/0.5145, allocations: 82.33 kB / 0.8229 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.5145, allocations: 5.625 kB / 0.8229 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.652e-05/0.5146, allocations: 4.625 kB / 0.8229 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.5146, allocations: 5.062 kB / 0.8229 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.5146, allocations: 1.125 kB / 0.8229 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.115e-05/0.5146, allocations: 93.36 kB / 0.823 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.5146, allocations: 0 / 0.823 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002256/0.5148, allocations: 19.98 kB / 0.823 GB, free: 2.953 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.00015/0.515, allocations: 113.3 kB / 0.8231 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001337/0.5151, allocations: 26.22 kB / 0.8231 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.5151, allocations: 1.094 kB / 0.8231 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.34e-05/0.5152, allocations: 13.59 kB / 0.8231 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.5154, allocations: 5.797 kB / 0.8231 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002598/0.5156, allocations: 144.2 kB / 0.8233 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.474e-05/0.5157, allocations: 0.6825 MB / 0.8239 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.896e-05/0.5157, allocations: 10 kB / 0.824 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of SimCode: time 2.8e-07/0.5157, allocations: 0 / 0.824 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of Templates: time 0.002376/0.5181, allocations: 0.8153 MB / 0.8247 GB, free: 1.918 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.863667304860428] Failed to read output from testmodel.py, exit status != 0: 0.525528057012707 0.5484017130000001 0.032106902 Calling exit ...