Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002362/0.002362, allocations: 104.3 kB / 19.69 MB, free: 1.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00323/0.00323, allocations: 221 kB / 23 MB, free: 4.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.549/1.549, allocations: 230.6 MB / 256.7 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.051/1.051, allocations: 149.9 MB / 463 MB, free: 10.35 MB / 366.1 MB " [Timeout remaining time 178] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin") translateModel(IBPSA.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 66.75 kB / 0.6415 GB, free: 9.602 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2046, allocations: 89.17 MB / 0.7286 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.00413/0.2087, allocations: 1.487 MB / 0.7301 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000683/0.2094, allocations: 131.6 kB / 0.7302 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.026e-05/0.2095, allocations: 0 / 0.7302 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.767e-05/0.2095, allocations: 7.922 kB / 0.7302 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.2096, allocations: 7.938 kB / 0.7302 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003567/0.21, allocations: 31.89 kB / 0.7302 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.2101, allocations: 39.92 kB / 0.7303 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002217/0.2104, allocations: 23.92 kB / 0.7303 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.213e-05/0.2104, allocations: 19.92 kB / 0.7303 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.186e-05/0.2105, allocations: 19.86 kB / 0.7303 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.2105, allocations: 4 kB / 0.7304 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001919/0.2107, allocations: 31.98 kB / 0.7304 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.057e-05/0.2107, allocations: 11.97 kB / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.62e-05/0.2108, allocations: 15.94 kB / 0.7304 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.211, allocations: 63.73 kB / 0.7305 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.323e-05/0.211, allocations: 4 kB / 0.7305 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.168e-06/0.211, allocations: 0 / 0.7305 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.211, allocations: 0 / 0.7305 GB, free: 14.6 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007716/0.2118, allocations: 286.1 kB / 0.7307 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.2119, allocations: 8.031 kB / 0.7308 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/0.2131, allocations: 212.5 kB / 0.731 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.2133, allocations: 122.4 kB / 0.7311 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.2133, allocations: 384 / 0.7311 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.2133, allocations: 4.375 kB / 0.7311 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006413/0.214, allocations: 190 kB / 0.7313 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.214, allocations: 192 / 0.7313 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.275e-05/0.214, allocations: 7.938 kB / 0.7313 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.214, allocations: 3.984 kB / 0.7313 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008861/0.2149, allocations: 279.6 kB / 0.7315 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.216, allocations: 369 kB / 0.7319 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.2172, allocations: 286.3 kB / 0.7322 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003717/0.2175, allocations: 100.7 kB / 0.7323 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.13e-05/0.2176, allocations: 3.984 kB / 0.7323 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.283e-05/0.2176, allocations: 30.56 kB / 0.7323 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 3.035e-06/0.2176, allocations: 0 / 0.7323 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.001312/0.2189, allocations: 309.3 kB / 0.7326 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.219, allocations: 55.41 kB / 0.7326 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.2191, allocations: 105.8 kB / 0.7327 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.2191, allocations: 25.7 kB / 0.7328 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.906e-05/0.2192, allocations: 92.17 kB / 0.7329 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.2193, allocations: 11.94 kB / 0.7329 GB, free: 12 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-05/0.2193, allocations: 21.7 kB / 0.7329 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000204/0.2195, allocations: 314.8 kB / 0.7332 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003666/0.2199, allocations: 95.88 kB / 0.7333 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003353/0.2202, allocations: 91.86 kB / 0.7334 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000656/0.2209, allocations: 184.8 kB / 0.7335 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2209, allocations: 0 / 0.7335 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007278/0.2216, allocations: 221.4 kB / 0.7337 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.2216, allocations: 4 kB / 0.7338 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2217, allocations: 3.938 kB / 0.7338 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.2217, allocations: 0 / 0.7338 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/0.2219, allocations: 35.94 kB / 0.7338 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.2219, allocations: 0 / 0.7338 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.2221, allocations: 31.95 kB / 0.7338 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.2221, allocations: 0 / 0.7338 GB, free: 10.99 MB / 0.5606 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 (3): * Single equations (assignments): 3 * 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 0.0001262/0.2223, allocations: 125.7 kB / 0.7339 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.2223, allocations: 4 kB / 0.7339 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.797e-05/0.2224, allocations: 8 kB / 0.734 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.2224, allocations: 0 / 0.734 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.2224, allocations: 3.938 kB / 0.734 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.2224, allocations: 0 / 0.734 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002202/0.2226, allocations: 157.1 kB / 0.7341 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.2226, allocations: 0 / 0.7341 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002171/0.2228, allocations: 31.94 kB / 0.7341 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2228, allocations: 0 / 0.7341 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.2228, allocations: 8 kB / 0.7341 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.2228, allocations: 4 kB / 0.7341 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2228, allocations: 0 / 0.7341 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008134/0.2236, allocations: 311.2 kB / 0.7344 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.231e-05/0.2237, allocations: 3.984 kB / 0.7344 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.2237, allocations: 4 kB / 0.7345 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.2239, allocations: 23.95 kB / 0.7345 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.2239, allocations: 4 kB / 0.7345 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.2239, allocations: 0 / 0.7345 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.434e-05/0.224, allocations: 95.27 kB / 0.7346 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.224, allocations: 3.938 kB / 0.7346 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002401/0.2242, allocations: 15.95 kB / 0.7346 GB, free: 10.14 MB / 0.5606 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 (3): * Single equations (assignments): 3 * 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.0001422/0.2244, allocations: 94.09 kB / 0.7347 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007665/0.2251, allocations: 195.7 kB / 0.7349 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2252, allocations: 0 / 0.7349 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003733/0.2255, allocations: 99.88 kB / 0.735 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.2258, allocations: 6.328 kB / 0.735 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009689/0.2268, allocations: 269.2 kB / 0.7352 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.681e-05/0.2268, allocations: 75.33 kB / 0.7353 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.574e-05/0.2269, allocations: 16 kB / 0.7353 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.127e-05/0.227, allocations: 15.42 kB / 0.7353 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.227, allocations: 0 / 0.7353 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of Templates: time 0.003821/0.2308, allocations: 0.9712 MB / 0.7363 GB, free: 8.375 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.124658541753888] Failed to read output from testmodel.py, exit status != 0: 0.24002248980104923 0.25415524500000003 0.039964179 Calling exit ...