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.001407/0.001407, allocations: 108.9 kB / 16.27 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 186.1 kB / 17.2 MB, free: 5.617 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.436/1.436, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8099/0.8099, allocations: 125.4 MB / 416.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 75.89 kB / 0.4941 GB, free: 4.426 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3769, allocations: 78.56 MB / 0.5709 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.003415/0.3803, allocations: 1.446 MB / 0.5723 GB, free: 30.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004861/0.3809, allocations: 143.5 kB / 0.5724 GB, free: 30.33 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.032e-05/0.3809, allocations: 5.594 kB / 0.5724 GB, free: 30.33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.476e-05/0.381, allocations: 5.75 kB / 0.5724 GB, free: 30.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.14e-05/0.3811, allocations: 5.641 kB / 0.5724 GB, free: 30.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.3813, allocations: 33.98 kB / 0.5725 GB, free: 30.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.3815, allocations: 37.84 kB / 0.5725 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.3816, allocations: 24.86 kB / 0.5725 GB, free: 30.28 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.273e-05/0.3817, allocations: 17.17 kB / 0.5725 GB, free: 30.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.107e-05/0.3818, allocations: 22.94 kB / 0.5726 GB, free: 30.26 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.3818, allocations: 3.062 kB / 0.5726 GB, free: 30.26 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.3819, allocations: 34.41 kB / 0.5726 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.177e-05/0.3819, allocations: 11.2 kB / 0.5726 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.578e-05/0.382, allocations: 22.47 kB / 0.5726 GB, free: 30.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.3822, allocations: 61.98 kB / 0.5727 GB, free: 30.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.3822, allocations: 1.156 kB / 0.5727 GB, free: 30.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3822, allocations: 0 / 0.5727 GB, free: 30.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.3822, allocations: 1.312 kB / 0.5727 GB, free: 30.21 MB / 446.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.0004755/0.3827, allocations: 364.2 kB / 0.573 GB, free: 29.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.3827, allocations: 12.19 kB / 0.573 GB, free: 29.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001568/0.3843, allocations: 209.6 kB / 0.5732 GB, free: 29.83 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.3844, allocations: 168.2 kB / 0.5734 GB, free: 29.63 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.3845, allocations: 7.781 kB / 0.5734 GB, free: 29.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.3845, allocations: 2.438 kB / 0.5734 GB, free: 29.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008133/0.3853, allocations: 197.8 kB / 0.5736 GB, free: 29.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.3854, allocations: 1.312 kB / 0.5736 GB, free: 29.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.3854, allocations: 5.031 kB / 0.5736 GB, free: 29.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.3854, allocations: 1.125 kB / 0.5736 GB, free: 29.56 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/0.3867, allocations: 280.5 kB / 0.5739 GB, free: 29.53 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.3879, allocations: 440.6 kB / 0.5743 GB, free: 29.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/0.3895, allocations: 293.4 kB / 0.5746 GB, free: 29.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004912/0.39, allocations: 103.3 kB / 0.5747 GB, free: 29.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.437e-05/0.3901, allocations: 2.344 kB / 0.5747 GB, free: 29.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.3901, allocations: 36.41 kB / 0.5747 GB, free: 29.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 2.054e-06/0.3901, allocations: 0 / 0.5747 GB, free: 29.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.001679/0.3918, allocations: 307.1 kB / 0.575 GB, free: 29.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.3918, allocations: 60.47 kB / 0.5751 GB, free: 28.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.392, allocations: 119.4 kB / 0.5752 GB, free: 28.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.392, allocations: 25.7 kB / 0.5752 GB, free: 28.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.725e-05/0.392, allocations: 89.14 kB / 0.5753 GB, free: 28.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.3921, allocations: 14.73 kB / 0.5753 GB, free: 28.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-05/0.3921, allocations: 16.02 kB / 0.5753 GB, free: 28.69 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.505e-05/0.3922, allocations: 324.5 kB / 0.5756 GB, free: 28.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003665/0.3926, allocations: 92.86 kB / 0.5757 GB, free: 28.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003667/0.393, allocations: 95.84 kB / 0.5758 GB, free: 28.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006813/0.3937, allocations: 170.1 kB / 0.576 GB, free: 28.31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3937, allocations: 1.344 kB / 0.576 GB, free: 28.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007306/0.3944, allocations: 217.3 kB / 0.5762 GB, free: 28.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.3944, allocations: 8.703 kB / 0.5762 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3945, allocations: 0 / 0.5762 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.3945, allocations: 0 / 0.5762 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/0.3947, allocations: 34.94 kB / 0.5762 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.3948, allocations: 1.281 kB / 0.5762 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000233/0.395, allocations: 32.58 kB / 0.5762 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.395, allocations: 2.328 kB / 0.5763 GB, free: 28.25 MB / 446.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 9.527e-05/0.3951, allocations: 121.7 kB / 0.5764 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.447e-05/0.3952, allocations: 3.031 kB / 0.5764 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.305e-05/0.3952, allocations: 11.91 kB / 0.5764 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3953, allocations: 2.156 kB / 0.5764 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.3953, allocations: 5.094 kB / 0.5764 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.3953, allocations: 0.7969 kB / 0.5764 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002885/0.3956, allocations: 212.1 kB / 0.5766 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.3956, allocations: 0.6562 kB / 0.5766 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000291/0.3959, allocations: 33.12 kB / 0.5766 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3959, allocations: 3.766 kB / 0.5766 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.3959, allocations: 0.6562 kB / 0.5766 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3959, allocations: 5.188 kB / 0.5766 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3959, allocations: 0.7031 kB / 0.5766 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.397, allocations: 318.6 kB / 0.5769 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.21e-05/0.3971, allocations: 79.98 kB / 0.577 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.3971, allocations: 3.219 kB / 0.577 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003397/0.3975, allocations: 33.78 kB / 0.577 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.3976, allocations: 5.875 kB / 0.5771 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.3976, allocations: 1.969 kB / 0.5771 GB, free: 27.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.173e-05/0.3976, allocations: 94.95 kB / 0.5771 GB, free: 27.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3976, allocations: 0 / 0.5771 GB, free: 27.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003797/0.398, allocations: 12.38 kB / 0.5772 GB, free: 27.54 MB / 446.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.0001445/0.3982, allocations: 106.3 kB / 0.5773 GB, free: 27.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.3993, allocations: 201.2 kB / 0.5775 GB, free: 27.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3993, allocations: 0.5625 kB / 0.5775 GB, free: 27.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000475/0.3998, allocations: 100.6 kB / 0.5775 GB, free: 27.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.4001, allocations: 6.75 kB / 0.5776 GB, free: 27.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.4014, allocations: 256.8 kB / 0.5778 GB, free: 27.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001747/0.4016, allocations: 0.6907 MB / 0.5785 GB, free: 26.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001277/0.4017, allocations: 19.08 kB / 0.5785 GB, free: 26.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.105e-05/0.4018, allocations: 10.19 kB / 0.5785 GB, free: 26.39 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4018, allocations: 0.6875 kB / 0.5785 GB, free: 26.39 MB / 446.1 MB Notification: Performance of Templates: time 0.004334/0.4061, allocations: 0.9228 MB / 0.5794 GB, free: 25.95 MB / 446.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)