Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.001584/0.001584, allocations: 81.31 kB / 19.94 MB, free: 1.766 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.001456/0.001456, allocations: 170 kB / 23.22 MB, free: 4.883 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.395/1.395, allocations: 177.1 MB / 203.5 MB, free: 9.172 MB / 190.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.9238/0.9238, allocations: 114 MB / 373.9 MB, free: 13.25 MB / 350.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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.5547 GB, free: 2.566 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.902e-05/2.047e-05, allocations: 6.062 kB / 0.5547 GB, free: 2.562 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001322/0.001342, allocations: 0.5921 MB / 0.5553 GB, free: 1.984 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.002815, allocations: 1.136 MB / 0.5564 GB, free: 0.832 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.188e-05/0.002847, allocations: 0 / 0.5564 GB, free: 0.832 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 1.196e-05/0.002859, allocations: 0 / 0.5564 GB, free: 0.832 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002378/0.003097, allocations: 23.84 kB / 0.5565 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.777e-06/0.0031, allocations: 0 / 0.5565 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 3.422e-05/0.003135, allocations: 4 kB / 0.5565 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.328e-05/0.003178, allocations: 8 kB / 0.5565 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.259e-05/0.0032, allocations: 0 / 0.5565 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.816e-05/0.003229, allocations: 7.938 kB / 0.5565 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.657e-06/0.003237, allocations: 0 / 0.5565 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.54e-05/0.003333, allocations: 11.98 kB / 0.5565 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.714e-06/0.00334, allocations: 0 / 0.5565 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 1.07e-05/0.003351, allocations: 0 / 0.5565 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 8.316e-05/0.003434, allocations: 23.91 kB / 0.5565 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.003436, allocations: 3.938 kB / 0.5565 GB, free: 0.75 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.71e-07/0.003436, allocations: 0 / 0.5565 GB, free: 0.75 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.00344, allocations: 0 / 0.5565 GB, free: 0.75 MB / 462.1 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.0002708/0.003711, allocations: 250.3 kB / 0.5567 GB, free: 488 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.00375, allocations: 16.56 kB / 0.5568 GB, free: 472 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002493/0.003999, allocations: 8.922 kB / 0.5568 GB, free: 464 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.189e-05/0.004081, allocations: 105.8 kB / 0.5569 GB, free: 332 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.004094, allocations: 384 / 0.5569 GB, free: 332 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.004118, allocations: 384 / 0.5569 GB, free: 332 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.004239, allocations: 46.23 kB / 0.5569 GB, free: 280 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.004253, allocations: 192 / 0.5569 GB, free: 280 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-06/0.004262, allocations: 384 / 0.5569 GB, free: 280 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.004269, allocations: 3.938 kB / 0.5569 GB, free: 276 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.997e-05/0.004309, allocations: 8 kB / 0.5569 GB, free: 268 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001322/0.004442, allocations: 97.33 kB / 0.557 GB, free: 140 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.004623, allocations: 38.55 kB / 0.5571 GB, free: 92 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.768e-05/0.004651, allocations: 8.859 kB / 0.5571 GB, free: 80 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.004678, allocations: 8.078 kB / 0.5571 GB, free: 72 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.004701, allocations: 30.56 kB / 0.5571 GB, free: 32 kB / 462.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.004702, allocations: 0 / 0.5571 GB, free: 32 kB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.004017/0.008718, allocations: 0.5444 MB / 0.5576 GB, free: 15.48 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.008773, allocations: 55.41 kB / 0.5577 GB, free: 15.41 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.202e-05/0.008825, allocations: 89.86 kB / 0.5578 GB, free: 15.32 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.008849, allocations: 25.7 kB / 0.5578 GB, free: 15.29 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.539e-05/0.008885, allocations: 80.14 kB / 0.5579 GB, free: 15.2 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.11e-05/0.008926, allocations: 19.84 kB / 0.5579 GB, free: 15.18 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-05/0.008987, allocations: 21.7 kB / 0.5579 GB, free: 15.16 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.009121, allocations: 314.8 kB / 0.5582 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000612/0.009733, allocations: 79.95 kB / 0.5583 GB, free: 14.76 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006252/0.01036, allocations: 106.5 kB / 0.5584 GB, free: 14.65 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.01158, allocations: 190.5 kB / 0.5586 GB, free: 14.45 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.01158, allocations: 0 / 0.5586 GB, free: 14.45 MB / 478.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001301/0.01289, allocations: 213.7 kB / 0.5588 GB, free: 14.24 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.0129, allocations: 8 kB / 0.5588 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.0129, allocations: 0 / 0.5588 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.01292, allocations: 7.922 kB / 0.5588 GB, free: 14.22 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004188/0.01334, allocations: 59.88 kB / 0.5589 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.01335, allocations: 3.984 kB / 0.5589 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003589/0.01371, allocations: 39.98 kB / 0.5589 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.01373, allocations: 4 kB / 0.5589 GB, free: 14.12 MB / 478.1 MB 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 (5): * Single equations (assignments): 5 * 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.0001083/0.01384, allocations: 114.9 kB / 0.559 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.951e-05/0.01386, allocations: 8 kB / 0.559 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.358e-05/0.01392, allocations: 11.64 kB / 0.559 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.01392, allocations: 0 / 0.559 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.01393, allocations: 3.938 kB / 0.559 GB, free: 13.97 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.01393, allocations: 0 / 0.559 GB, free: 13.97 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/0.01549, allocations: 414.2 kB / 0.5594 GB, free: 13.53 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01549, allocations: 4 kB / 0.5594 GB, free: 13.53 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004053/0.0159, allocations: 47.97 kB / 0.5595 GB, free: 13.48 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.0159, allocations: 3.938 kB / 0.5595 GB, free: 13.48 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.01592, allocations: 0 / 0.5595 GB, free: 13.48 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.01592, allocations: 4 kB / 0.5595 GB, free: 13.47 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.01592, allocations: 0 / 0.5595 GB, free: 13.47 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.01724, allocations: 303.5 kB / 0.5598 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-06/0.01725, allocations: 3.938 kB / 0.5598 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.01728, allocations: 7.938 kB / 0.5598 GB, free: 13.15 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003893/0.01767, allocations: 43.97 kB / 0.5598 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.24e-05/0.01768, allocations: 0 / 0.5598 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.01769, allocations: 4 kB / 0.5598 GB, free: 13.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 3.45e-05/0.01773, allocations: 75.28 kB / 0.5599 GB, free: 13.03 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01773, allocations: 0 / 0.5599 GB, free: 13.03 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002296/0.01795, allocations: 8 kB / 0.5599 GB, free: 13.02 MB / 478.1 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 (5): * Single equations (assignments): 5 * 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.0001141/0.01807, allocations: 103.2 kB / 0.56 GB, free: 12.91 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001287/0.01936, allocations: 179.9 kB / 0.5602 GB, free: 12.73 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.01936, allocations: 0 / 0.5602 GB, free: 12.73 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006253/0.01998, allocations: 88.08 kB / 0.5603 GB, free: 12.65 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.0202, allocations: 8 kB / 0.5603 GB, free: 12.64 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.02141, allocations: 216.8 kB / 0.5605 GB, free: 12.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.528e-05/0.02147, allocations: 55.36 kB / 0.5605 GB, free: 12.33 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000187/0.02166, allocations: 32 kB / 0.5606 GB, free: 12.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.322e-05/0.02174, allocations: 16.48 kB / 0.5606 GB, free: 12.28 MB / 478.1 MB Notification: Performance of SimCode: time 3.91e-07/0.02174, allocations: 3.938 kB / 0.5606 GB, free: 12.28 MB / 478.1 MB Notification: Performance of Templates: time 0.003132/0.02488, allocations: 0.7853 MB / 0.5613 GB, free: 11.51 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.142206717282534] Failed to read output from testmodel.py, exit status != 0: 0.03289453312754631 0.046710382 0.040469336 Calling exit ...