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.001276/0.001276, allocations: 85.22 kB / 19.94 MB, free: 1.781 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.001317/0.001317, allocations: 163.2 kB / 23.22 MB, free: 4.902 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: 177.1 MB / 203.5 MB, free: 9.164 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.8957/0.8957, 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.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.533e-06/1.533e-06, allocations: 0 / 0.5547 GB, free: 2.48 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.515e-05/2.668e-05, allocations: 5.672 kB / 0.5547 GB, free: 2.477 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002516/0.002543, allocations: 1.463 MB / 0.5561 GB, free: 1.012 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008847/0.003427, allocations: 486.6 kB / 0.5566 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.013e-05/0.003467, allocations: 4 kB / 0.5566 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.143e-05/0.003489, allocations: 4 kB / 0.5566 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.658e-05/0.003555, allocations: 3.938 kB / 0.5566 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.003756, allocations: 19.97 kB / 0.5566 GB, free: 0.5 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 6.698e-05/0.003823, allocations: 27.86 kB / 0.5566 GB, free: 484 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.61e-05/0.003909, allocations: 11.98 kB / 0.5566 GB, free: 472 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.383e-05/0.003973, allocations: 11.94 kB / 0.5566 GB, free: 460 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.095e-05/0.004014, allocations: 7.984 kB / 0.5567 GB, free: 452 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.004027, allocations: 0 / 0.5567 GB, free: 452 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.525e-05/0.004092, allocations: 23.97 kB / 0.5567 GB, free: 428 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.21e-05/0.004104, allocations: 3.938 kB / 0.5567 GB, free: 424 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.464e-05/0.004129, allocations: 8 kB / 0.5567 GB, free: 416 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.004236, allocations: 35.89 kB / 0.5567 GB, free: 380 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.004238, allocations: 0 / 0.5567 GB, free: 380 kB / 462.1 MB Notification: Performance of FrontEnd: time 4.61e-07/0.004239, allocations: 0 / 0.5567 GB, free: 380 kB / 462.1 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.004242, allocations: 0 / 0.5567 GB, free: 380 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.000432/0.004674, allocations: 272.8 kB / 0.557 GB, free: 80 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.004705, allocations: 8.625 kB / 0.557 GB, free: 72 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002334/0.004939, allocations: 12.92 kB / 0.557 GB, free: 60 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.005073, allocations: 113.8 kB / 0.5571 GB, free: 15.92 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.005086, allocations: 384 / 0.5571 GB, free: 15.92 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.005098, allocations: 8.375 kB / 0.5571 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.005293, allocations: 58.17 kB / 0.5572 GB, free: 15.85 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.005302, allocations: 192 / 0.5572 GB, free: 15.85 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.005312, allocations: 384 / 0.5572 GB, free: 15.85 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.005323, allocations: 3.938 kB / 0.5572 GB, free: 15.85 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.005494, allocations: 35.95 kB / 0.5572 GB, free: 15.81 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003736/0.005867, allocations: 204.6 kB / 0.5574 GB, free: 15.58 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.00601, allocations: 50.5 kB / 0.5575 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.095e-05/0.006101, allocations: 20.89 kB / 0.5575 GB, free: 15.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.006122, allocations: 7.938 kB / 0.5575 GB, free: 15.49 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.006159, allocations: 38.5 kB / 0.5575 GB, free: 15.45 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.00616, allocations: 0 / 0.5575 GB, free: 15.45 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.000367/0.006527, allocations: 85.64 kB / 0.5576 GB, free: 15.36 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.006572, allocations: 55.53 kB / 0.5577 GB, free: 15.29 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.915e-05/0.006661, allocations: 97.86 kB / 0.5577 GB, free: 15.18 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.006682, allocations: 29.69 kB / 0.5578 GB, free: 15.15 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.667e-05/0.006739, allocations: 92.08 kB / 0.5579 GB, free: 15.05 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.006756, allocations: 3.953 kB / 0.5579 GB, free: 15.05 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.479e-05/0.006791, allocations: 13.72 kB / 0.5579 GB, free: 15.03 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.006936, allocations: 310.8 kB / 0.5582 GB, free: 14.72 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.198e-05/0.007028, allocations: 23.97 kB / 0.5582 GB, free: 14.7 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.778e-05/0.007115, allocations: 15.98 kB / 0.5582 GB, free: 14.68 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.007283, allocations: 44.89 kB / 0.5583 GB, free: 14.63 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.007284, allocations: 256 / 0.5583 GB, free: 14.63 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002138/0.007498, allocations: 69.66 kB / 0.5583 GB, free: 14.56 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.007513, allocations: 7.938 kB / 0.5583 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.00752, allocations: 4 kB / 0.5583 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.007534, allocations: 0 / 0.5583 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.007648, allocations: 19.95 kB / 0.5584 GB, free: 14.53 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.007652, allocations: 3.938 kB / 0.5584 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.416e-05/0.007726, allocations: 11.92 kB / 0.5584 GB, free: 14.51 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.007734, allocations: 4 kB / 0.5584 GB, free: 14.51 MB / 478.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 8.338e-05/0.007818, allocations: 113.8 kB / 0.5585 GB, free: 14.39 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.007848, allocations: 11.89 kB / 0.5585 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.33e-05/0.007881, allocations: 3.312 kB / 0.5585 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.007883, allocations: 0 / 0.5585 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.007886, allocations: 4 kB / 0.5585 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.007891, allocations: 3.984 kB / 0.5585 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.008033, allocations: 105.3 kB / 0.5586 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.008034, allocations: 0 / 0.5586 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.656e-05/0.00812, allocations: 7.984 kB / 0.5586 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.008122, allocations: 0 / 0.5586 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.008131, allocations: 7.938 kB / 0.5586 GB, free: 14.22 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.008132, allocations: 0 / 0.5586 GB, free: 14.22 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.008133, allocations: 0 / 0.5586 GB, free: 14.22 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.008414, allocations: 171.5 kB / 0.5588 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.865e-06/0.008422, allocations: 3.984 kB / 0.5588 GB, free: 14.03 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.008438, allocations: 3.938 kB / 0.5588 GB, free: 14.03 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.824e-05/0.008536, allocations: 4 kB / 0.5588 GB, free: 14.02 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.008571, allocations: 11.98 kB / 0.5588 GB, free: 14.01 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.008575, allocations: 0 / 0.5588 GB, free: 14.01 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.447e-05/0.008619, allocations: 83.22 kB / 0.5589 GB, free: 13.93 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.008619, allocations: 0 / 0.5589 GB, free: 13.93 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000211/0.00883, allocations: 4 kB / 0.5589 GB, free: 13.93 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 (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.0001081/0.008938, allocations: 99.28 kB / 0.559 GB, free: 13.82 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0002352/0.009174, allocations: 43.95 kB / 0.559 GB, free: 13.78 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.009175, allocations: 0 / 0.559 GB, free: 13.78 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 9.485e-05/0.00927, allocations: 23.92 kB / 0.559 GB, free: 13.75 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.009509, allocations: 7.984 kB / 0.5591 GB, free: 13.75 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002997/0.009808, allocations: 108.9 kB / 0.5592 GB, free: 13.61 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.377e-05/0.009882, allocations: 67.47 kB / 0.5592 GB, free: 13.53 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 3.347e-05/0.009916, allocations: 0 / 0.5592 GB, free: 13.53 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.677e-05/0.009953, allocations: 16.44 kB / 0.5592 GB, free: 13.51 MB / 478.1 MB Notification: Performance of SimCode: time 3.21e-07/0.009953, allocations: 4 kB / 0.5592 GB, free: 13.51 MB / 478.1 MB Notification: Performance of Templates: time 0.00293/0.01288, allocations: 0.5918 MB / 0.5598 GB, free: 12.94 MB / 478.1 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.098210550844669] Failed to read output from testmodel.py, exit status != 0: 0.021163638681173325 0.034827574 0.027766731000000003 Calling exit ...