Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.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.001925/0.001925, allocations: 93.47 kB / 20.21 MB, free: 4.211 MB / 18.57 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.001985/0.001985, allocations: 165.2 kB / 23.53 MB, free: 0.8945 MB / 18.57 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.587/1.587, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 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.074/1.074, allocations: 115 MB / 375.3 MB, free: 7.578 MB / 346.7 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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside") translateModel(IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 480.8 MB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.104e-05, allocations: 5.125 kB / 480.8 MB, free: 11.9 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002081/0.002102, allocations: 1.459 MB / 482.2 MB, free: 10.92 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006671/0.00277, allocations: 0.4913 MB / 482.7 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.062e-05/0.0028, allocations: 0 / 482.7 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.058e-05/0.002821, allocations: 1.469 kB / 482.7 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.949e-05/0.00289, allocations: 8.594 kB / 482.7 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001756/0.003066, allocations: 14.3 kB / 482.8 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.643e-05/0.003122, allocations: 27.08 kB / 482.8 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.346e-05/0.003196, allocations: 6.641 kB / 482.8 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.741e-05/0.003273, allocations: 20.28 kB / 482.8 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.221e-05/0.003305, allocations: 12.41 kB / 482.8 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.003319, allocations: 3.938 kB / 482.8 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.577e-05/0.003375, allocations: 14 kB / 482.8 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.268e-05/0.003388, allocations: 3.828 kB / 482.8 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.77e-05/0.003405, allocations: 6.531 kB / 482.9 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.827e-05/0.003504, allocations: 39.48 kB / 482.9 MB, free: 10.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.003506, allocations: 0.5625 kB / 482.9 MB, free: 10.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.003507, allocations: 1.094 kB / 482.9 MB, free: 10.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.003511, allocations: 1.125 kB / 482.9 MB, free: 10.53 MB / 410.7 MB 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.0003165/0.003827, allocations: 365.8 kB / 483.3 MB, free: 10.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.003859, allocations: 8.938 kB / 483.3 MB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002634/0.004123, allocations: 20.23 kB / 483.3 MB, free: 10.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.457e-05/0.004187, allocations: 111.4 kB / 483.4 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.004199, allocations: 1.25 kB / 483.4 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.004208, allocations: 2.406 kB / 483.4 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.004335, allocations: 51.77 kB / 483.4 MB, free: 9.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.004343, allocations: 192 / 483.4 MB, free: 9.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.004354, allocations: 9.469 kB / 483.5 MB, free: 9.977 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.004359, allocations: 3.938 kB / 483.5 MB, free: 9.973 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.004471, allocations: 23.92 kB / 483.5 MB, free: 9.969 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000499/0.00497, allocations: 257.8 kB / 483.7 MB, free: 25.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.005071, allocations: 44.69 kB / 483.8 MB, free: 25.66 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.466e-05/0.005126, allocations: 21.72 kB / 483.8 MB, free: 25.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.005145, allocations: 2.125 kB / 483.8 MB, free: 25.65 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.005162, allocations: 38.52 kB / 483.8 MB, free: 25.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.005163, allocations: 0 / 483.8 MB, free: 25.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002696/0.005433, allocations: 84.09 kB / 483.9 MB, free: 25.55 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.85e-05/0.005451, allocations: 51.41 kB / 484 MB, free: 25.49 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.442e-05/0.005546, allocations: 164.5 kB / 484.1 MB, free: 25.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.464e-06/0.005553, allocations: 25.7 kB / 484.2 MB, free: 25.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.231e-05/0.005615, allocations: 135.5 kB / 484.3 MB, free: 25.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.474e-05/0.00563, allocations: 3.953 kB / 484.3 MB, free: 25.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.216e-05/0.005672, allocations: 20.78 kB / 484.3 MB, free: 25.13 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002322/0.005904, allocations: 0.4966 MB / 484.8 MB, free: 24.63 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.5e-05/0.005959, allocations: 5.531 kB / 484.8 MB, free: 24.63 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.673e-05/0.006006, allocations: 16.11 kB / 484.8 MB, free: 24.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.658e-05/0.006103, allocations: 37.05 kB / 484.9 MB, free: 24.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.006104, allocations: 0 / 484.9 MB, free: 24.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000136/0.00624, allocations: 59.73 kB / 484.9 MB, free: 24.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.006253, allocations: 8.531 kB / 484.9 MB, free: 24.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.006257, allocations: 4.672 kB / 484.9 MB, free: 24.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.006269, allocations: 1.031 kB / 484.9 MB, free: 24.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.492e-05/0.006364, allocations: 5.062 kB / 484.9 MB, free: 24.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.006368, allocations: 5 kB / 484.9 MB, free: 24.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.476e-05/0.006423, allocations: 6.891 kB / 485 MB, free: 24.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.006429, allocations: 1 kB / 485 MB, free: 24.56 MB / 426.7 MB 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 9.411e-05/0.006523, allocations: 164.3 kB / 485.1 MB, free: 24.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.006549, allocations: 5 kB / 485.1 MB, free: 24.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.045e-05/0.006589, allocations: 5.875 kB / 485.1 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.006591, allocations: 1.125 kB / 485.1 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.006594, allocations: 0 / 485.1 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.006596, allocations: 2.531 kB / 485.1 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.524e-05/0.006691, allocations: 118.2 kB / 485.2 MB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.006692, allocations: 0 / 485.2 MB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.331e-05/0.006766, allocations: 9.938 kB / 485.3 MB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.006768, allocations: 4.953 kB / 485.3 MB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.006777, allocations: 9.312 kB / 485.3 MB, free: 24.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.006778, allocations: 0 / 485.3 MB, free: 24.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.006778, allocations: 0.9688 kB / 485.3 MB, free: 24.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.006995, allocations: 215.4 kB / 485.5 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-06/0.007001, allocations: 1.062 kB / 485.5 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.007014, allocations: 5.125 kB / 485.5 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.459e-05/0.007099, allocations: 6.609 kB / 485.5 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.007132, allocations: 5 kB / 485.5 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.007137, allocations: 2.375 kB / 485.5 MB, free: 24.02 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.086e-05/0.007218, allocations: 128 kB / 485.6 MB, free: 23.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007218, allocations: 0 / 485.6 MB, free: 23.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002047/0.007423, allocations: 5.375 kB / 485.6 MB, free: 23.91 MB / 426.7 MB 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 9.262e-05/0.007515, allocations: 99.66 kB / 485.7 MB, free: 23.81 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000159/0.007674, allocations: 39.92 kB / 485.8 MB, free: 23.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.007676, allocations: 1.344 kB / 485.8 MB, free: 23.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.178e-05/0.007737, allocations: 29.47 kB / 485.8 MB, free: 23.78 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.007976, allocations: 6.531 kB / 485.8 MB, free: 23.78 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002493/0.008225, allocations: 115 kB / 485.9 MB, free: 23.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.636e-05/0.008261, allocations: 64.84 kB / 486 MB, free: 23.59 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.67e-05/0.008298, allocations: 5.156 kB / 486 MB, free: 23.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.086e-05/0.008329, allocations: 10.75 kB / 486 MB, free: 23.58 MB / 426.7 MB Notification: Performance of SimCode: time 4.01e-07/0.008329, allocations: 0 / 486 MB, free: 23.58 MB / 426.7 MB Notification: Performance of Templates: time 0.002996/0.01132, allocations: 0.6105 MB / 486.6 MB, free: 23.52 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.633379100007005]