Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001001/0.001001, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001104/0.001104, allocations: 169 kB / 23.02 MB, free: 1.547 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.022/1.022, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001978/0.001978, allocations: 238.5 kB / 260.2 MB, free: 12.82 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7344/0.7344, allocations: 138.4 MB / 455.2 MB, free: 1.543 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.5551 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.502e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.001843/0.001868, allocations: 1.518 MB / 0.5566 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003436/0.002212, allocations: 148.3 kB / 0.5567 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.947e-05/0.002242, allocations: 4 kB / 0.5567 GB, free: 14.83 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.672e-05/0.002288, allocations: 0 / 0.5567 GB, free: 14.83 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.778e-05/0.002356, allocations: 7.922 kB / 0.5568 GB, free: 14.82 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.002584, allocations: 31.91 kB / 0.5568 GB, free: 14.79 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.245e-05/0.002677, allocations: 43.84 kB / 0.5568 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.002779, allocations: 11.98 kB / 0.5568 GB, free: 14.74 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.175e-05/0.002831, allocations: 27.91 kB / 0.5569 GB, free: 14.71 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.61e-05/0.002867, allocations: 15.98 kB / 0.5569 GB, free: 14.7 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.002883, allocations: 4 kB / 0.5569 GB, free: 14.69 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.44e-05/0.002957, allocations: 27.98 kB / 0.5569 GB, free: 14.66 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.402e-05/0.002981, allocations: 23.91 kB / 0.5569 GB, free: 14.64 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.808e-05/0.003029, allocations: 8 kB / 0.5569 GB, free: 14.63 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.003164, allocations: 59.8 kB / 0.557 GB, free: 14.57 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.003166, allocations: 0 / 0.557 GB, free: 14.57 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.003167, allocations: 0 / 0.557 GB, free: 14.57 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.003171, allocations: 0 / 0.557 GB, free: 14.57 MB / 490.7 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.0003541/0.003525, allocations: 388.4 kB / 0.5574 GB, free: 14.16 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.003561, allocations: 8.75 kB / 0.5574 GB, free: 14.15 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004527/0.004013, allocations: 156.6 kB / 0.5575 GB, free: 14 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.846e-05/0.004102, allocations: 116.5 kB / 0.5576 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.004114, allocations: 384 / 0.5576 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.004129, allocations: 8.375 kB / 0.5576 GB, free: 13.85 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.004359, allocations: 122.8 kB / 0.5578 GB, free: 13.72 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.004367, allocations: 192 / 0.5578 GB, free: 13.72 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.00438, allocations: 4.375 kB / 0.5578 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-06/0.004388, allocations: 4.375 kB / 0.5578 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.742e-05/0.004465, allocations: 47.92 kB / 0.5578 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004416/0.004907, allocations: 340.5 kB / 0.5581 GB, free: 13.29 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/0.005129, allocations: 91.06 kB / 0.5582 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.119e-05/0.00517, allocations: 27.67 kB / 0.5583 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.005188, allocations: 7.938 kB / 0.5583 GB, free: 13.15 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.005208, allocations: 33.39 kB / 0.5583 GB, free: 13.11 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.005209, allocations: 3.938 kB / 0.5583 GB, free: 13.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001982/0.005407, allocations: 73.75 kB / 0.5584 GB, free: 13.03 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.005437, allocations: 55.41 kB / 0.5584 GB, free: 12.96 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.879e-05/0.005506, allocations: 169.9 kB / 0.5586 GB, free: 12.78 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.005519, allocations: 29.64 kB / 0.5586 GB, free: 12.74 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.343e-05/0.005563, allocations: 130.9 kB / 0.5587 GB, free: 12.61 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.005583, allocations: 11.91 kB / 0.5587 GB, free: 12.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.611e-05/0.005619, allocations: 27.36 kB / 0.5588 GB, free: 12.56 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.005723, allocations: 496.1 kB / 0.5592 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.643e-05/0.00576, allocations: 11.98 kB / 0.5593 GB, free: 12.05 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.873e-05/0.005788, allocations: 12 kB / 0.5593 GB, free: 12.04 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.218e-05/0.00585, allocations: 35.62 kB / 0.5593 GB, free: 12 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.005852, allocations: 0 / 0.5593 GB, free: 12 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001044/0.005957, allocations: 61.61 kB / 0.5594 GB, free: 11.94 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.005968, allocations: 4 kB / 0.5594 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.005972, allocations: 0 / 0.5594 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.005984, allocations: 0 / 0.5594 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.973e-05/0.006083, allocations: 31.97 kB / 0.5594 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.006088, allocations: 0 / 0.5594 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.074e-05/0.006139, allocations: 11.98 kB / 0.5594 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.006148, allocations: 3.984 kB / 0.5594 GB, free: 11.89 MB / 490.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 (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 6.581e-05/0.006213, allocations: 156.6 kB / 0.5596 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.006233, allocations: 11.83 kB / 0.5596 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.118e-05/0.006264, allocations: 12 kB / 0.5596 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.006266, allocations: 0 / 0.5596 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.00627, allocations: 4 kB / 0.5596 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.006272, allocations: 0 / 0.5596 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.006379, allocations: 136.5 kB / 0.5597 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.00638, allocations: 0 / 0.5597 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.406e-05/0.006444, allocations: 23.97 kB / 0.5597 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.006448, allocations: 3.938 kB / 0.5597 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.006456, allocations: 0 / 0.5597 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.006458, allocations: 0 / 0.5597 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.006459, allocations: 320 / 0.5597 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.006599, allocations: 207.9 kB / 0.5599 GB, free: 11.28 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.582e-06/0.006606, allocations: 7.953 kB / 0.56 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.006619, allocations: 3.938 kB / 0.56 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.226e-05/0.006681, allocations: 19.92 kB / 0.56 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.006712, allocations: 7.922 kB / 0.56 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.006717, allocations: 0 / 0.56 GB, free: 11.24 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.968e-05/0.006757, allocations: 139.2 kB / 0.5601 GB, free: 11.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006757, allocations: 0 / 0.5601 GB, free: 11.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001509/0.006908, allocations: 12 kB / 0.5601 GB, free: 11.09 MB / 490.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 (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 6.982e-05/0.006978, allocations: 95.25 kB / 0.5602 GB, free: 10.99 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001194/0.007097, allocations: 35.67 kB / 0.5603 GB, free: 10.95 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.007098, allocations: 0 / 0.5603 GB, free: 10.95 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.138e-05/0.00714, allocations: 28 kB / 0.5603 GB, free: 10.92 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.007312, allocations: 8 kB / 0.5603 GB, free: 10.91 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003608/0.007673, allocations: 181.1 kB / 0.5605 GB, free: 10.71 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.471e-05/0.007708, allocations: 59.34 kB / 0.5605 GB, free: 10.63 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.029e-05/0.007748, allocations: 11.98 kB / 0.5605 GB, free: 10.62 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.997e-05/0.007798, allocations: 12.5 kB / 0.5605 GB, free: 10.61 MB / 490.7 MB Notification: Performance of SimCode: time 5.91e-07/0.007799, allocations: 0 / 0.5605 GB, free: 10.61 MB / 490.7 MB Notification: Performance of Templates: time 0.002662/0.01046, allocations: 1.03 MB / 0.5615 GB, free: 9.582 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.587996431160718]