Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.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.001471/0.001471, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.00148/0.00148, allocations: 209.6 kB / 22.99 MB, free: 4.605 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.801 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 0.9678/0.9678, allocations: 149.9 MB / 463 MB, free: 10.34 MB / 366.1 MB " [Timeout remaining time 179] 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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks") translateModel(IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks") [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: 68.19 kB / 0.6415 GB, free: 9.621 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2087, allocations: 89.18 MB / 0.7286 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.003591/0.2123, allocations: 1.753 MB / 0.7303 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00146/0.2137, allocations: 0.6897 MB / 0.731 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.663e-05/0.2138, allocations: 3.938 kB / 0.731 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.245e-05/0.2139, allocations: 11.86 kB / 0.731 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.789e-05/0.214, allocations: 23.73 kB / 0.7311 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000645/0.2146, allocations: 184.8 kB / 0.7312 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002209/0.2148, allocations: 127.6 kB / 0.7314 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/0.215, allocations: 32.25 kB / 0.7314 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.2152, allocations: 71.77 kB / 0.7315 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.828e-05/0.2153, allocations: 43.77 kB / 0.7315 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.001e-05/0.2153, allocations: 8 kB / 0.7315 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.2154, allocations: 51.95 kB / 0.7316 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.708e-05/0.2155, allocations: 35.91 kB / 0.7316 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.119e-05/0.2156, allocations: 43.78 kB / 0.7316 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000279/0.2158, allocations: 159.3 kB / 0.7318 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2158, allocations: 0 / 0.7318 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2158, allocations: 3.938 kB / 0.7318 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.424e-05/0.2159, allocations: 4 kB / 0.7318 GB, free: 13.26 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007126/0.2166, allocations: 369.7 kB / 0.7321 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 9.473e-05/0.2167, allocations: 8.031 kB / 0.7321 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009731/0.2176, allocations: 132.7 kB / 0.7323 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/0.218, allocations: 158.8 kB / 0.7324 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/0.2181, allocations: 111.3 kB / 0.7325 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.2182, allocations: 19.94 kB / 0.7326 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005813/0.2187, allocations: 220.8 kB / 0.7328 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.2188, allocations: 0 / 0.7328 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.2188, allocations: 8 kB / 0.7328 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.2188, allocations: 0 / 0.7328 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006152/0.2194, allocations: 159.8 kB / 0.7329 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.2205, allocations: 389.7 kB / 0.7333 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.2216, allocations: 214.2 kB / 0.7335 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002962/0.2219, allocations: 80.91 kB / 0.7336 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.2219, allocations: 4 kB / 0.7336 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/0.2219, allocations: 38.56 kB / 0.7336 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.2219, allocations: 0 / 0.7336 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.001056/0.223, allocations: 261.3 kB / 0.7339 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.223, allocations: 51.41 kB / 0.7339 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.2232, allocations: 145.6 kB / 0.7341 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.2232, allocations: 29.7 kB / 0.7341 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.189e-05/0.2233, allocations: 112.2 kB / 0.7342 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.2233, allocations: 19.8 kB / 0.7342 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.087e-05/0.2234, allocations: 25.7 kB / 0.7342 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002305/0.2236, allocations: 330.7 kB / 0.7345 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003076/0.2239, allocations: 75.92 kB / 0.7346 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003253/0.2243, allocations: 94.48 kB / 0.7347 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005874/0.2249, allocations: 162.4 kB / 0.7349 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2249, allocations: 3.938 kB / 0.7349 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006689/0.2255, allocations: 201.4 kB / 0.7351 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.2255, allocations: 14.41 kB / 0.7351 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.2255, allocations: 3.938 kB / 0.7351 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.2256, allocations: 0 / 0.7351 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002582/0.2258, allocations: 35.95 kB / 0.7351 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.2258, allocations: 0 / 0.7351 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.226, allocations: 31.91 kB / 0.7351 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.226, allocations: 4 kB / 0.7351 GB, free: 9.594 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 0.0001104/0.2262, allocations: 121.8 kB / 0.7353 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.336e-05/0.2262, allocations: 11.89 kB / 0.7353 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007478/0.2269, allocations: 210.5 kB / 0.7355 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2269, allocations: 4 kB / 0.7355 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.227, allocations: 0 / 0.7355 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.227, allocations: 0 / 0.7355 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.2272, allocations: 158.1 kB / 0.7356 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.2272, allocations: 7.984 kB / 0.7356 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/0.2274, allocations: 27.95 kB / 0.7357 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.2274, allocations: 7.938 kB / 0.7357 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.2274, allocations: 0 / 0.7357 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2274, allocations: 0 / 0.7357 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2274, allocations: 0 / 0.7357 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007225/0.2282, allocations: 295.2 kB / 0.736 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.661e-05/0.2282, allocations: 7.953 kB / 0.736 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.2282, allocations: 3.938 kB / 0.736 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003004/0.2285, allocations: 31.95 kB / 0.736 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.2285, allocations: 11.98 kB / 0.736 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.2286, allocations: 7.984 kB / 0.736 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.344e-05/0.2286, allocations: 105.1 kB / 0.7361 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2286, allocations: 0 / 0.7361 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002796/0.2289, allocations: 23.94 kB / 0.7361 GB, free: 8.516 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 (6): * Single equations (assignments): 6 * 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.0001577/0.2291, allocations: 103.2 kB / 0.7362 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006786/0.2298, allocations: 163.8 kB / 0.7364 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2298, allocations: 0 / 0.7364 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003095/0.2301, allocations: 79.92 kB / 0.7365 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.2304, allocations: 11.94 kB / 0.7365 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007023/0.2311, allocations: 255.8 kB / 0.7367 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.919e-05/0.2312, allocations: 89.05 kB / 0.7368 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001069/0.2313, allocations: 27.67 kB / 0.7368 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.1e-05/0.2313, allocations: 19.42 kB / 0.7369 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of SimCode: time 2.8e-07/0.2313, allocations: 0 / 0.7369 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of Templates: time 0.005066/0.2364, allocations: 1.64 MB / 0.7385 GB, free: 6.109 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.914857726544142] Failed to read output from testmodel.py, exit status != 0: 0.24535556510090828 0.259751301 0.040760762000000006 Calling exit ...