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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin") translateModel(IBPSA.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001155, allocations: 92.2 kB / 16.03 MB, free: 56 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 186.6 kB / 16.93 MB, free: 6.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 223.3 MB / 241 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.751/0.751, allocations: 123 MB / 415.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003517, allocations: 12 kB / 0.4933 GB, free: 14.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4898/0.4902, allocations: 79.28 MB / 0.5707 GB, free: 9.906 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.002285/0.4925, allocations: 1.182 MB / 0.5719 GB, free: 9.828 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000488/0.493, allocations: 138.5 kB / 0.572 GB, free: 9.777 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.065e-05/0.4931, allocations: 0.8438 kB / 0.572 GB, free: 9.777 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.939e-05/0.4931, allocations: 6.406 kB / 0.572 GB, free: 9.773 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.267e-05/0.4932, allocations: 5.109 kB / 0.572 GB, free: 9.773 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.4934, allocations: 29.02 kB / 0.5721 GB, free: 9.762 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.4935, allocations: 43.56 kB / 0.5721 GB, free: 9.746 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.4937, allocations: 18.95 kB / 0.5721 GB, free: 9.742 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.542e-05/0.4937, allocations: 12.75 kB / 0.5721 GB, free: 9.738 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.115e-05/0.4938, allocations: 16.98 kB / 0.5722 GB, free: 9.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.4938, allocations: 1.281 kB / 0.5722 GB, free: 9.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.4939, allocations: 32.77 kB / 0.5722 GB, free: 9.723 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.4939, allocations: 9.984 kB / 0.5722 GB, free: 9.715 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.905e-05/0.494, allocations: 43.34 kB / 0.5722 GB, free: 9.672 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.4941, allocations: 57.45 kB / 0.5723 GB, free: 9.66 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.4942, allocations: 0.9375 kB / 0.5723 GB, free: 9.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4942, allocations: 0 / 0.5723 GB, free: 9.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.4942, allocations: 0 / 0.5723 GB, free: 9.66 MB / 430.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.0004239/0.4946, allocations: 357.1 kB / 0.5726 GB, free: 9.293 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.4946, allocations: 9.609 kB / 0.5726 GB, free: 9.293 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001252/0.4959, allocations: 243.9 kB / 0.5729 GB, free: 9.281 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.496, allocations: 168.6 kB / 0.573 GB, free: 9.082 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.4961, allocations: 14.31 kB / 0.5731 GB, free: 9.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.4961, allocations: 3.031 kB / 0.5731 GB, free: 9.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007205/0.4968, allocations: 209.4 kB / 0.5733 GB, free: 9.016 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.4968, allocations: 192 / 0.5733 GB, free: 9.016 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.4969, allocations: 7.938 kB / 0.5733 GB, free: 9.008 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.4969, allocations: 1.031 kB / 0.5733 GB, free: 9.008 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.4979, allocations: 320.2 kB / 0.5736 GB, free: 8.965 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.4991, allocations: 468.2 kB / 0.574 GB, free: 8.637 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.5004, allocations: 336.9 kB / 0.5743 GB, free: 8.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000421/0.5009, allocations: 126.7 kB / 0.5745 GB, free: 8.539 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.5009, allocations: 0 / 0.5745 GB, free: 8.539 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.5009, allocations: 32.23 kB / 0.5745 GB, free: 8.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.5009, allocations: 1.062 kB / 0.5745 GB, free: 8.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.001389/0.5023, allocations: 373 kB / 0.5748 GB, free: 8.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.5024, allocations: 52.11 kB / 0.5749 GB, free: 8.348 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.5025, allocations: 122.1 kB / 0.575 GB, free: 8.238 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.5025, allocations: 26.55 kB / 0.575 GB, free: 8.207 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/0.5026, allocations: 91.75 kB / 0.5751 GB, free: 8.117 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.5026, allocations: 10.31 kB / 0.5751 GB, free: 8.109 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.5027, allocations: 11.23 kB / 0.5751 GB, free: 8.094 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.784e-05/0.5027, allocations: 319.1 kB / 0.5755 GB, free: 7.777 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004152/0.5031, allocations: 115.9 kB / 0.5756 GB, free: 7.758 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000397/0.5036, allocations: 112.3 kB / 0.5757 GB, free: 7.742 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007884/0.5044, allocations: 207.5 kB / 0.5759 GB, free: 7.707 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/0.5044, allocations: 0.5625 kB / 0.5759 GB, free: 7.707 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008591/0.5052, allocations: 261.2 kB / 0.5761 GB, free: 7.633 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.5053, allocations: 6.234 kB / 0.5761 GB, free: 7.633 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.5053, allocations: 0 / 0.5761 GB, free: 7.633 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.5053, allocations: 0.6875 kB / 0.5761 GB, free: 7.633 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002753/0.5056, allocations: 46.25 kB / 0.5762 GB, free: 7.629 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.5056, allocations: 0 / 0.5762 GB, free: 7.629 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.5058, allocations: 40.25 kB / 0.5762 GB, free: 7.625 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.5058, allocations: 1.375 kB / 0.5762 GB, free: 7.625 MB / 430.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 7.458e-05/0.5059, allocations: 124.5 kB / 0.5763 GB, free: 7.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.5059, allocations: 6.938 kB / 0.5763 GB, free: 7.496 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.155e-05/0.506, allocations: 6.984 kB / 0.5763 GB, free: 7.488 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.506, allocations: 1.094 kB / 0.5763 GB, free: 7.488 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.506, allocations: 336 / 0.5763 GB, free: 7.488 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.506, allocations: 1.641 kB / 0.5763 GB, free: 7.488 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002059/0.5062, allocations: 216 kB / 0.5765 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5062, allocations: 0.5625 kB / 0.5765 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002563/0.5065, allocations: 50.17 kB / 0.5766 GB, free: 7.266 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5065, allocations: 7.922 kB / 0.5766 GB, free: 7.258 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.5065, allocations: 1.625 kB / 0.5766 GB, free: 7.258 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.5065, allocations: 1.906 kB / 0.5766 GB, free: 7.258 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5065, allocations: 4 kB / 0.5766 GB, free: 7.254 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008855/0.5074, allocations: 344.6 kB / 0.5769 GB, free: 7.09 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.981e-05/0.5075, allocations: 88.39 kB / 0.577 GB, free: 6.988 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.5075, allocations: 0.8125 kB / 0.577 GB, free: 6.988 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.5077, allocations: 39.98 kB / 0.5771 GB, free: 6.984 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.5078, allocations: 2.422 kB / 0.5771 GB, free: 6.984 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.5078, allocations: 6.312 kB / 0.5771 GB, free: 6.98 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.825e-05/0.5079, allocations: 96.73 kB / 0.5772 GB, free: 6.898 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5079, allocations: 4.656 kB / 0.5772 GB, free: 6.895 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002401/0.5081, allocations: 13.31 kB / 0.5772 GB, free: 6.895 MB / 430.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.0001188/0.5082, allocations: 102.5 kB / 0.5773 GB, free: 6.801 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000914/0.5092, allocations: 233.8 kB / 0.5775 GB, free: 6.766 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5092, allocations: 1.125 kB / 0.5775 GB, free: 6.766 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004295/0.5096, allocations: 120.5 kB / 0.5776 GB, free: 6.746 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.5099, allocations: 3.219 kB / 0.5776 GB, free: 6.746 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.5109, allocations: 295.9 kB / 0.5779 GB, free: 6.605 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001661/0.5111, allocations: 0.6913 MB / 0.5786 GB, free: 5.906 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.109e-05/0.5112, allocations: 23.88 kB / 0.5786 GB, free: 5.898 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.599e-05/0.5113, allocations: 14.91 kB / 0.5786 GB, free: 5.887 MB / 430.1 MB Notification: Performance of SimCode: time 4.3e-07/0.5113, allocations: 0.8438 kB / 0.5786 GB, free: 5.887 MB / 430.1 MB Notification: Performance of Templates: time 0.003921/0.5152, allocations: 0.8277 MB / 0.5794 GB, free: 5.82 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.makefile (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)