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.001287/0.001287, allocations: 75.53 kB / 19.93 MB, free: 1.77 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.00137/0.00137, allocations: 168.7 kB / 23.22 MB, free: 4.887 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.176 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.8924/0.8924, allocations: 114 MB / 373.9 MB, free: 13.26 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.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: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.5547 GB, free: 2.656 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.812e-05/3.018e-05, allocations: 6.219 kB / 0.5547 GB, free: 2.648 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002843/0.002873, allocations: 1.483 MB / 0.5561 GB, free: 1.152 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.004025, allocations: 0.5803 MB / 0.5567 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.482e-05/0.00408, allocations: 0 / 0.5567 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.981e-05/0.00411, allocations: 3.938 kB / 0.5567 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 4.424e-05/0.004154, allocations: 15.92 kB / 0.5567 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.004441, allocations: 55.75 kB / 0.5568 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.245e-05/0.004534, allocations: 27.88 kB / 0.5568 GB, free: 476 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.496e-05/0.004629, allocations: 11.97 kB / 0.5568 GB, free: 464 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.004756, allocations: 27.86 kB / 0.5568 GB, free: 436 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.28e-05/0.004799, allocations: 4 kB / 0.5568 GB, free: 432 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.004815, allocations: 4 kB / 0.5568 GB, free: 428 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.004938, allocations: 59.88 kB / 0.5569 GB, free: 368 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.146e-05/0.004949, allocations: 0 / 0.5569 GB, free: 368 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.651e-05/0.004976, allocations: 19.92 kB / 0.5569 GB, free: 348 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.005138, allocations: 71.83 kB / 0.557 GB, free: 276 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.00514, allocations: 4 kB / 0.557 GB, free: 272 kB / 462.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.00514, allocations: 0 / 0.557 GB, free: 272 kB / 462.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.005145, allocations: 0 / 0.557 GB, free: 272 kB / 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.0004677/0.005612, allocations: 280.6 kB / 0.5573 GB, free: 15.96 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.005648, allocations: 12.62 kB / 0.5573 GB, free: 15.95 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01684/0.02249, allocations: 2.436 MB / 0.5596 GB, free: 13.52 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.02281, allocations: 145.7 kB / 0.5598 GB, free: 13.35 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.02282, allocations: 4.375 kB / 0.5598 GB, free: 13.34 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/0.02286, allocations: 384 / 0.5598 GB, free: 13.34 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005828/0.02868, allocations: 1.024 MB / 0.5608 GB, free: 12.31 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.02869, allocations: 192 / 0.5608 GB, free: 12.31 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.475e-05/0.02873, allocations: 384 / 0.5608 GB, free: 12.31 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.02873, allocations: 3.938 kB / 0.5608 GB, free: 12.31 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01126/0.03999, allocations: 1.857 MB / 0.5626 GB, free: 10.45 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006981/0.04697, allocations: 1.388 MB / 0.564 GB, free: 9.035 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01105/0.05802, allocations: 1.876 MB / 0.5658 GB, free: 7.148 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005403/0.06343, allocations: 0.9413 MB / 0.5667 GB, free: 6.203 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.06345, allocations: 0 / 0.5667 GB, free: 6.203 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.06348, allocations: 38.5 kB / 0.5668 GB, free: 6.156 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.06349, allocations: 0 / 0.5668 GB, free: 6.156 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.01633/0.07982, allocations: 2.737 MB / 0.5694 GB, free: 3.41 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/0.07988, allocations: 59.39 kB / 0.5695 GB, free: 3.34 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.08, allocations: 105.8 kB / 0.5696 GB, free: 3.227 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.648e-05/0.08005, allocations: 29.73 kB / 0.5696 GB, free: 3.191 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.251e-05/0.08012, allocations: 92.09 kB / 0.5697 GB, free: 3.098 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.435e-05/0.08017, allocations: 3.938 kB / 0.5697 GB, free: 3.094 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.0803, allocations: 29.69 kB / 0.5697 GB, free: 3.059 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.08045, allocations: 314.8 kB / 0.57 GB, free: 2.742 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005582/0.08603, allocations: 0.9287 MB / 0.5709 GB, free: 1.812 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005551/0.09158, allocations: 0.9326 MB / 0.5718 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01032/0.1019, allocations: 1.675 MB / 0.5735 GB, free: 15.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1019, allocations: 3.938 kB / 0.5735 GB, free: 15.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.01072/0.1126, allocations: 1.816 MB / 0.5753 GB, free: 13.37 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.1127, allocations: 17.95 kB / 0.5753 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.1127, allocations: 0 / 0.5753 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.1127, allocations: 0 / 0.5753 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003155/0.1158, allocations: 467.4 kB / 0.5757 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1158, allocations: 4 kB / 0.5757 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003038/0.1189, allocations: 451.5 kB / 0.5762 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.645e-05/0.1189, allocations: 3.984 kB / 0.5762 GB, free: 12.45 MB / 494.1 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 0.0001563/0.1191, allocations: 121.7 kB / 0.5763 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.725e-05/0.1191, allocations: 12.27 kB / 0.5763 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.856e-05/0.1192, allocations: 11.62 kB / 0.5763 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1192, allocations: 0 / 0.5763 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.1192, allocations: 0 / 0.5763 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1192, allocations: 3.938 kB / 0.5763 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003775/0.1196, allocations: 254.2 kB / 0.5765 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1196, allocations: 0 / 0.5765 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003098/0.1227, allocations: 467.5 kB / 0.577 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.1227, allocations: 4 kB / 0.577 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.625e-05/0.1227, allocations: 7.922 kB / 0.577 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1227, allocations: 4 kB / 0.577 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1227, allocations: 0 / 0.577 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0108/0.1335, allocations: 1.9 MB / 0.5789 GB, free: 9.625 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.891e-05/0.1336, allocations: 15.97 kB / 0.5789 GB, free: 9.609 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.229e-05/0.1336, allocations: 3.938 kB / 0.5789 GB, free: 9.605 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003023/0.1366, allocations: 447.5 kB / 0.5793 GB, free: 9.168 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.1367, allocations: 7.969 kB / 0.5793 GB, free: 9.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.678e-05/0.1367, allocations: 7.984 kB / 0.5793 GB, free: 9.152 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.807e-05/0.1368, allocations: 87.28 kB / 0.5794 GB, free: 9.066 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1368, allocations: 0 / 0.5794 GB, free: 9.066 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003124/0.1371, allocations: 36 kB / 0.5794 GB, free: 9.031 MB / 494.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 (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.0001512/0.1372, allocations: 95.23 kB / 0.5795 GB, free: 8.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01142/0.1487, allocations: 1.869 MB / 0.5814 GB, free: 7.059 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1487, allocations: 4.062 kB / 0.5814 GB, free: 7.055 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005665/0.1543, allocations: 0.9403 MB / 0.5823 GB, free: 6.113 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.1546, allocations: 7.938 kB / 0.5823 GB, free: 6.105 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006069/0.1607, allocations: 1.043 MB / 0.5833 GB, free: 5.035 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.116e-05/0.1608, allocations: 71.11 kB / 0.5834 GB, free: 4.945 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000261/0.161, allocations: 32 kB / 0.5834 GB, free: 4.914 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/0.1612, allocations: 28.47 kB / 0.5834 GB, free: 4.887 MB / 494.1 MB Notification: Performance of SimCode: time 1.763e-06/0.1612, allocations: 0 / 0.5834 GB, free: 4.887 MB / 494.1 MB Notification: Performance of Templates: time 0.006394/0.1676, allocations: 2.688 MB / 0.5861 GB, free: 2.184 MB / 494.1 MB " [Timeout remaining time 660] 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: 5.278001632541418] Failed to read output from testmodel.py, exit status != 0: 0.1768791563808918 0.19228983700000002 0.184024074 Calling exit ...