Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.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.001292/0.001292, allocations: 105 kB / 20.45 MB, free: 1.5 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.001424/0.001424, allocations: 217.9 kB / 23.76 MB, free: 4.711 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.396/1.396, allocations: 230.6 MB / 257.5 MB, free: 7.961 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.9321/0.9321, allocations: 150 MB / 463.9 MB, free: 10.45 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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit") translateModel(IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit") [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.002043/0.002043, allocations: 62.09 kB / 0.6425 GB, free: 9.789 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1924, allocations: 89.18 MB / 0.7296 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002849/0.1953, allocations: 1.491 MB / 0.731 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.1964, allocations: 0.6234 MB / 0.7316 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.166e-05/0.1965, allocations: 3.938 kB / 0.7316 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.783e-05/0.1965, allocations: 3.938 kB / 0.7317 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.4e-05/0.1966, allocations: 15.92 kB / 0.7317 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003118/0.1969, allocations: 55.81 kB / 0.7317 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.197, allocations: 23.92 kB / 0.7317 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.575e-05/0.1971, allocations: 7.984 kB / 0.7318 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.1972, allocations: 27.88 kB / 0.7318 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.763e-05/0.1973, allocations: 15.92 kB / 0.7318 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.1973, allocations: 0 / 0.7318 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.1974, allocations: 55.94 kB / 0.7318 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.1974, allocations: 8 kB / 0.7319 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.046e-05/0.1975, allocations: 15.88 kB / 0.7319 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.1976, allocations: 71.72 kB / 0.7319 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.1976, allocations: 4 kB / 0.7319 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1976, allocations: 0 / 0.7319 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.1976, allocations: 0 / 0.7319 GB, free: 14.24 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004344/0.1981, allocations: 270.1 kB / 0.7322 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.1981, allocations: 12.03 kB / 0.7322 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01663/0.2147, allocations: 2.432 MB / 0.7346 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.2151, allocations: 166.3 kB / 0.7347 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.2152, allocations: 384 / 0.7347 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.562e-05/0.2152, allocations: 384 / 0.7347 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005549/0.2207, allocations: 1.016 MB / 0.7357 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.2208, allocations: 0 / 0.7357 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.447e-05/0.2208, allocations: 0 / 0.7357 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2208, allocations: 4 kB / 0.7357 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01078/0.2316, allocations: 1.853 MB / 0.7375 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006988/0.2386, allocations: 1.477 MB / 0.739 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01056/0.2491, allocations: 1.879 MB / 0.7408 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005119/0.2543, allocations: 0.9374 MB / 0.7417 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.2543, allocations: 0 / 0.7417 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.2543, allocations: 38.56 kB / 0.7418 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.352e-06/0.2543, allocations: 3.938 kB / 0.7418 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.01541/0.2697, allocations: 2.745 MB / 0.7445 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.2698, allocations: 55.34 kB / 0.7445 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.2699, allocations: 109.8 kB / 0.7446 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.2699, allocations: 25.7 kB / 0.7446 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.421e-05/0.27, allocations: 84.14 kB / 0.7447 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.168e-05/0.27, allocations: 7.953 kB / 0.7447 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.2701, allocations: 33.7 kB / 0.7448 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001815/0.2703, allocations: 310.8 kB / 0.7451 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005163/0.2755, allocations: 0.9287 MB / 0.746 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005122/0.2806, allocations: 0.9326 MB / 0.7469 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00995/0.2906, allocations: 1.687 MB / 0.7485 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.2906, allocations: 0 / 0.7485 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.009975/0.3005, allocations: 1.816 MB / 0.7503 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.3006, allocations: 4 kB / 0.7503 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.3006, allocations: 384 / 0.7503 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.3006, allocations: 0 / 0.7503 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002853/0.3034, allocations: 463.5 kB / 0.7507 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.3035, allocations: 0 / 0.7507 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002727/0.3062, allocations: 467.4 kB / 0.7512 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-05/0.3062, allocations: 7.984 kB / 0.7512 GB, free: 10.31 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 0.0001521/0.3064, allocations: 113.8 kB / 0.7513 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.243e-05/0.3064, allocations: 4 kB / 0.7513 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.642e-05/0.3065, allocations: 7.625 kB / 0.7513 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.3065, allocations: 4 kB / 0.7513 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3065, allocations: 0 / 0.7513 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.3065, allocations: 0 / 0.7513 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000489/0.307, allocations: 337.1 kB / 0.7516 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.307, allocations: 4 kB / 0.7516 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003077/0.3101, allocations: 463.4 kB / 0.7521 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3101, allocations: 4 kB / 0.7521 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/0.3101, allocations: 7.984 kB / 0.7521 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3101, allocations: 0 / 0.7521 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3101, allocations: 0 / 0.7521 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009984/0.3201, allocations: 1.919 MB / 0.754 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.797e-05/0.3201, allocations: 4 kB / 0.754 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.129e-05/0.3202, allocations: 3.984 kB / 0.754 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002914/0.3231, allocations: 451.5 kB / 0.7544 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.3231, allocations: 7.969 kB / 0.7544 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.325e-05/0.3232, allocations: 7.984 kB / 0.7544 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.42e-05/0.3232, allocations: 87.28 kB / 0.7545 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.3232, allocations: 0 / 0.7545 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003161/0.3235, allocations: 40 kB / 0.7546 GB, free: 6.805 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.0001705/0.3237, allocations: 99.22 kB / 0.7546 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01069/0.3344, allocations: 1.869 MB / 0.7565 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.3344, allocations: 0 / 0.7565 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005193/0.3396, allocations: 0.9366 MB / 0.7574 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.3399, allocations: 9.203 kB / 0.7574 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005495/0.3454, allocations: 1.07 MB / 0.7584 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.3457, allocations: 0.6807 MB / 0.7591 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/0.3459, allocations: 23.67 kB / 0.7591 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of SimCode: time 1.072e-06/0.3459, allocations: 4 kB / 0.7591 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of Templates: time 0.321/0.667, allocations: 2.781 MB / 0.7618 GB, free: 36.63 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.4227123640012] Failed to read output from testmodel.py, exit status != 0: 0.6751662748865783 0.686675468 0.486214214 Calling exit ...