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.001689/0.001689, 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.00162/0.00162, allocations: 216.2 kB / 22.99 MB, free: 4.609 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.526/1.526, 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 1.011/1.011, allocations: 149.9 MB / 463 MB, free: 10.4 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.00214/0.00214, allocations: 66.23 kB / 0.6415 GB, free: 9.68 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2403, allocations: 89.17 MB / 0.7286 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.003214/0.2435, allocations: 1.476 MB / 0.7301 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.2447, allocations: 0.5766 MB / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.318e-05/0.2447, allocations: 4 kB / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.71e-05/0.2448, allocations: 7.922 kB / 0.7306 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.839e-05/0.2448, allocations: 11.92 kB / 0.7307 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004075/0.2452, allocations: 51.81 kB / 0.7307 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.2453, allocations: 31.86 kB / 0.7307 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.2455, allocations: 7.938 kB / 0.7307 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.2456, allocations: 23.92 kB / 0.7308 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.823e-05/0.2457, allocations: 15.92 kB / 0.7308 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.2457, allocations: 0 / 0.7308 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.2458, allocations: 51.95 kB / 0.7308 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.2458, allocations: 11.94 kB / 0.7308 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.253e-05/0.2458, allocations: 7.938 kB / 0.7308 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.246, allocations: 75.72 kB / 0.7309 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.246, allocations: 0 / 0.7309 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.332e-06/0.246, allocations: 0 / 0.7309 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.246, allocations: 0 / 0.7309 GB, free: 14.21 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.0005835/0.2466, allocations: 274.1 kB / 0.7312 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.2467, allocations: 8.031 kB / 0.7312 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01547/0.2621, allocations: 2.436 MB / 0.7336 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004908/0.2626, allocations: 154.4 kB / 0.7337 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.2627, allocations: 384 / 0.7337 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.975e-05/0.2627, allocations: 8.312 kB / 0.7337 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005319/0.268, allocations: 1.012 MB / 0.7347 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.268, allocations: 0 / 0.7347 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.354e-05/0.2681, allocations: 4 kB / 0.7347 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.2681, allocations: 7.938 kB / 0.7347 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01032/0.2784, allocations: 1.861 MB / 0.7365 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006702/0.2851, allocations: 1.392 MB / 0.7379 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01045/0.2955, allocations: 1.879 MB / 0.7397 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005098/0.3006, allocations: 0.9335 MB / 0.7406 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.363e-05/0.3007, allocations: 0 / 0.7406 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/0.3007, allocations: 34.56 kB / 0.7407 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.854e-06/0.3007, allocations: 0 / 0.7407 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.01542/0.3161, allocations: 2.745 MB / 0.7434 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.3162, allocations: 55.44 kB / 0.7434 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.3163, allocations: 117.7 kB / 0.7435 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.208e-05/0.3164, allocations: 25.7 kB / 0.7435 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.111e-05/0.3164, allocations: 88.12 kB / 0.7436 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5e-05/0.3165, allocations: 3.953 kB / 0.7436 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.3166, allocations: 29.69 kB / 0.7437 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000192/0.3168, allocations: 314.8 kB / 0.744 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005408/0.3222, allocations: 0.9365 MB / 0.7449 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005009/0.3272, allocations: 0.9248 MB / 0.7458 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009313/0.3365, allocations: 1.675 MB / 0.7474 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.3365, allocations: 4 kB / 0.7474 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.009827/0.3464, allocations: 1.812 MB / 0.7492 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.3464, allocations: 11.94 kB / 0.7492 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.3464, allocations: 0 / 0.7492 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.3464, allocations: 0 / 0.7492 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002905/0.3493, allocations: 471.5 kB / 0.7497 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.3493, allocations: 0 / 0.7497 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002782/0.3521, allocations: 455.4 kB / 0.7501 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/0.3522, allocations: 7.984 kB / 0.7501 GB, free: 10.38 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.0001402/0.3523, allocations: 109.8 kB / 0.7502 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.867e-05/0.3524, allocations: 4 kB / 0.7502 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.074e-05/0.3524, allocations: 15.61 kB / 0.7502 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.3524, allocations: 4 kB / 0.7502 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3524, allocations: 0 / 0.7502 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3524, allocations: 3.938 kB / 0.7502 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003888/0.3528, allocations: 245.9 kB / 0.7505 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.3528, allocations: 3.938 kB / 0.7505 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002946/0.3558, allocations: 471.4 kB / 0.7509 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.3558, allocations: 0 / 0.7509 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.372e-05/0.3558, allocations: 7.984 kB / 0.7509 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3558, allocations: 0 / 0.7509 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3558, allocations: 0 / 0.7509 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01027/0.3661, allocations: 1.908 MB / 0.7528 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.36e-05/0.3661, allocations: 7.938 kB / 0.7528 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.914e-05/0.3662, allocations: 0 / 0.7528 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002846/0.369, allocations: 455.5 kB / 0.7532 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.3691, allocations: 8 kB / 0.7532 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.3691, allocations: 7.969 kB / 0.7532 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.984e-05/0.3692, allocations: 91.59 kB / 0.7533 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5e-08/0.3692, allocations: 0 / 0.7533 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003561/0.3695, allocations: 36 kB / 0.7534 GB, free: 6.969 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.0001703/0.3697, allocations: 99.25 kB / 0.7535 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01058/0.3803, allocations: 1.865 MB / 0.7553 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.3803, allocations: 0 / 0.7553 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005232/0.3855, allocations: 0.9404 MB / 0.7562 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.3858, allocations: 10.28 kB / 0.7562 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005755/0.3916, allocations: 1.049 MB / 0.7572 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.414e-05/0.3916, allocations: 63.34 kB / 0.7573 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003155/0.3919, allocations: 36 kB / 0.7573 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/0.3921, allocations: 19.41 kB / 0.7573 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of SimCode: time 1.563e-06/0.3921, allocations: 0 / 0.7573 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of Templates: time 0.007369/0.3995, allocations: 2.703 MB / 0.76 GB, free: 120 kB / 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: 6.699976611882448] Failed to read output from testmodel.py, exit status != 0: 0.8181176092475653 0.830192765 0.581252663 Calling exit ...