Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.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.001337/0.001337, allocations: 74.12 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.001358/0.001358, allocations: 168.9 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.382/1.382, allocations: 177.1 MB / 203.5 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 179] 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.9013/0.9013, allocations: 114 MB / 373.9 MB, free: 13.22 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.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin") translateModel(IBPSA.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.5547 GB, free: 2.605 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.259e-05/3.463e-05, allocations: 4.953 kB / 0.5547 GB, free: 2.602 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.002957/0.002992, allocations: 1.479 MB / 0.5561 GB, free: 1.121 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004147/0.003407, allocations: 143.3 kB / 0.5563 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.994e-05/0.003446, allocations: 4 kB / 0.5563 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 4.41e-05/0.003491, allocations: 0 / 0.5563 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.995e-05/0.00356, allocations: 7.938 kB / 0.5563 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.003797, allocations: 31.89 kB / 0.5563 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.003904, allocations: 39.86 kB / 0.5563 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.004028, allocations: 15.98 kB / 0.5564 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.869e-05/0.004087, allocations: 27.91 kB / 0.5564 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.993e-05/0.004147, allocations: 19.98 kB / 0.5564 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.004164, allocations: 0 / 0.5564 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.613e-05/0.00426, allocations: 31.97 kB / 0.5564 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.929e-05/0.00428, allocations: 7.938 kB / 0.5564 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.9e-05/0.004309, allocations: 15.97 kB / 0.5565 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.004458, allocations: 79.72 kB / 0.5565 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.00446, allocations: 0 / 0.5565 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of FrontEnd: time 5.01e-07/0.004461, allocations: 0 / 0.5565 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.004465, allocations: 0 / 0.5565 GB, free: 0.7031 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004549/0.00492, allocations: 282.2 kB / 0.5568 GB, free: 404 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.004954, allocations: 12.62 kB / 0.5568 GB, free: 392 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.006004, allocations: 208.5 kB / 0.557 GB, free: 184 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.006117, allocations: 121.7 kB / 0.5571 GB, free: 36 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.00613, allocations: 384 / 0.5571 GB, free: 36 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.006151, allocations: 4.375 kB / 0.5571 GB, free: 32 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006073/0.006758, allocations: 190.1 kB / 0.5573 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.00677, allocations: 4.188 kB / 0.5573 GB, free: 15.83 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.006785, allocations: 384 / 0.5573 GB, free: 15.83 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.006789, allocations: 8.312 kB / 0.5573 GB, free: 15.82 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008797/0.007669, allocations: 279.5 kB / 0.5576 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008987/0.008568, allocations: 373.1 kB / 0.558 GB, free: 15.16 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.009726, allocations: 282.2 kB / 0.5582 GB, free: 14.88 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003693/0.0101, allocations: 104.8 kB / 0.5583 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.01012, allocations: 3.938 kB / 0.5583 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.01016, allocations: 34.56 kB / 0.5584 GB, free: 14.72 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.01016, allocations: 0 / 0.5584 GB, free: 14.72 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.001242/0.0114, allocations: 317.2 kB / 0.5587 GB, free: 14.41 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.975e-05/0.01144, allocations: 55.34 kB / 0.5587 GB, free: 14.34 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.859e-05/0.01154, allocations: 105.8 kB / 0.5588 GB, free: 14.23 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.01156, allocations: 29.7 kB / 0.5588 GB, free: 14.19 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.471e-05/0.01162, allocations: 88.12 kB / 0.5589 GB, free: 14.1 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.01165, allocations: 15.84 kB / 0.5589 GB, free: 14.09 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.913e-05/0.0117, allocations: 21.72 kB / 0.559 GB, free: 14.06 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.01185, allocations: 314.8 kB / 0.5593 GB, free: 13.74 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003835/0.01223, allocations: 95.88 kB / 0.5594 GB, free: 13.65 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003659/0.0126, allocations: 91.88 kB / 0.5594 GB, free: 13.56 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006991/0.0133, allocations: 172.6 kB / 0.5596 GB, free: 13.39 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.0133, allocations: 0 / 0.5596 GB, free: 13.39 MB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007608/0.01406, allocations: 217.3 kB / 0.5598 GB, free: 13.17 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.01408, allocations: 8 kB / 0.5598 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.01408, allocations: 3.984 kB / 0.5598 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.0141, allocations: 0 / 0.5598 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.01435, allocations: 35.95 kB / 0.5599 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.01436, allocations: 0 / 0.5599 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.01455, allocations: 27.95 kB / 0.5599 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.01457, allocations: 7.984 kB / 0.5599 GB, free: 13.09 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 (3): * Single equations (assignments): 3 * 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.0001027/0.01467, allocations: 121.8 kB / 0.56 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.275e-05/0.01471, allocations: 7.891 kB / 0.56 GB, free: 12.95 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.678e-05/0.01475, allocations: 8 kB / 0.56 GB, free: 12.94 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.01476, allocations: 0 / 0.56 GB, free: 12.94 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.01476, allocations: 0 / 0.56 GB, free: 12.94 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.01476, allocations: 3.984 kB / 0.56 GB, free: 12.94 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.01496, allocations: 141.3 kB / 0.5602 GB, free: 12.77 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.01497, allocations: 8 kB / 0.5602 GB, free: 12.76 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002328/0.0152, allocations: 31.95 kB / 0.5602 GB, free: 12.73 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.0152, allocations: 7.875 kB / 0.5602 GB, free: 12.72 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.01522, allocations: 0 / 0.5602 GB, free: 12.72 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.01522, allocations: 3.984 kB / 0.5602 GB, free: 12.72 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.01522, allocations: 0 / 0.5602 GB, free: 12.72 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008502/0.01607, allocations: 307.3 kB / 0.5605 GB, free: 12.4 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.08e-05/0.01608, allocations: 15.83 kB / 0.5605 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.0161, allocations: 3.938 kB / 0.5605 GB, free: 12.38 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.01633, allocations: 31.95 kB / 0.5606 GB, free: 12.35 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.01637, allocations: 3.984 kB / 0.5606 GB, free: 12.35 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.01638, allocations: 0 / 0.5606 GB, free: 12.35 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.256e-05/0.01643, allocations: 87.28 kB / 0.5606 GB, free: 12.26 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01643, allocations: 4 kB / 0.5606 GB, free: 12.26 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002297/0.01666, allocations: 12 kB / 0.5607 GB, free: 12.25 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 (3): * Single equations (assignments): 3 * 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.0001258/0.01679, allocations: 95.23 kB / 0.5607 GB, free: 12.14 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007863/0.01757, allocations: 196.1 kB / 0.5609 GB, free: 11.95 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.01757, allocations: 4 kB / 0.5609 GB, free: 11.95 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003836/0.01796, allocations: 99.86 kB / 0.561 GB, free: 11.85 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.0182, allocations: 4 kB / 0.561 GB, free: 11.85 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009572/0.01915, allocations: 260.7 kB / 0.5613 GB, free: 11.57 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.172e-05/0.01924, allocations: 75.42 kB / 0.5614 GB, free: 11.47 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 7.295e-05/0.01931, allocations: 19.98 kB / 0.5614 GB, free: 11.45 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.073e-05/0.01937, allocations: 12.5 kB / 0.5614 GB, free: 11.44 MB / 478.1 MB Notification: Performance of SimCode: time 4.61e-07/0.01937, allocations: 0 / 0.5614 GB, free: 11.44 MB / 478.1 MB Notification: Performance of Templates: time 0.003531/0.0229, allocations: 0.963 MB / 0.5623 GB, free: 10.5 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.082120709121227] Failed to read output from testmodel.py, exit status != 0: 0.031094737350940704 0.045175002000000006 0.037748242 Calling exit ...