Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.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.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 108.3 kB / 16.64 MB, free: 6.371 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.001275/0.001275, allocations: 189.3 kB / 17.56 MB, free: 5.797 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.417/1.417, allocations: 222.9 MB / 241.3 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.834/0.834, allocations: 125.4 MB / 416.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 63.84 kB / 0.4943 GB, free: 4.824 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.348, allocations: 78.58 MB / 0.571 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001772/0.3498, allocations: 0.6669 MB / 0.5717 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.3514, allocations: 1.429 MB / 0.5731 GB, free: 30.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.061e-05/0.3515, allocations: 1.5 kB / 0.5731 GB, free: 30.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.58e-05/0.3515, allocations: 0 / 0.5731 GB, free: 30.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.394e-05/0.3516, allocations: 6.828 kB / 0.5731 GB, free: 30.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006262/0.3522, allocations: 183.2 kB / 0.5733 GB, free: 30.08 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.616e-05/0.3523, allocations: 41.59 kB / 0.5733 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.513e-05/0.3524, allocations: 3.094 kB / 0.5733 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.957e-05/0.3524, allocations: 14.17 kB / 0.5733 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.718e-05/0.3524, allocations: 23.95 kB / 0.5733 GB, free: 30.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.3525, allocations: 1.844 kB / 0.5733 GB, free: 30.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003946/0.3529, allocations: 253.2 kB / 0.5736 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.897e-05/0.3529, allocations: 6.562 kB / 0.5736 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.348e-05/0.3529, allocations: 18.28 kB / 0.5736 GB, free: 29.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.3532, allocations: 144.5 kB / 0.5737 GB, free: 29.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3532, allocations: 1.062 kB / 0.5737 GB, free: 29.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3532, allocations: 1.844 kB / 0.5737 GB, free: 29.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.3532, allocations: 0 / 0.5737 GB, free: 29.95 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003237/0.3535, allocations: 408.4 kB / 0.5741 GB, free: 29.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.3536, allocations: 9.625 kB / 0.5741 GB, free: 29.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.3536, allocations: 8.219 kB / 0.5741 GB, free: 29.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.528e-05/0.3537, allocations: 170.3 kB / 0.5743 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.3537, allocations: 5.5 kB / 0.5743 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.3537, allocations: 2.688 kB / 0.5743 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.3539, allocations: 85.19 kB / 0.5744 GB, free: 29.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.3539, allocations: 0.5625 kB / 0.5744 GB, free: 29.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.3539, allocations: 2.062 kB / 0.5744 GB, free: 29.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.3539, allocations: 0 / 0.5744 GB, free: 29.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.805e-05/0.354, allocations: 33.52 kB / 0.5744 GB, free: 29.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001021/0.3541, allocations: 163.3 kB / 0.5746 GB, free: 29.08 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.085e-05/0.3542, allocations: 64.2 kB / 0.5747 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.38e-05/0.3542, allocations: 61.52 kB / 0.5747 GB, free: 29.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.3543, allocations: 0 / 0.5747 GB, free: 29.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/0.3543, allocations: 37.83 kB / 0.5747 GB, free: 28.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.3543, allocations: 1.125 kB / 0.5747 GB, free: 28.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002895/0.3546, allocations: 189.5 kB / 0.5749 GB, free: 28.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.3546, allocations: 81.56 kB / 0.575 GB, free: 28.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.183e-05/0.3547, allocations: 116.2 kB / 0.5751 GB, free: 28.69 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.3547, allocations: 26.95 kB / 0.5751 GB, free: 28.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.949e-05/0.3547, allocations: 84.06 kB / 0.5752 GB, free: 28.58 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.247e-05/0.3548, allocations: 24.56 kB / 0.5752 GB, free: 28.56 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.3548, allocations: 23.77 kB / 0.5753 GB, free: 28.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.727e-05/0.3549, allocations: 319.1 kB / 0.5756 GB, free: 28.22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.01e-05/0.3549, allocations: 36.38 kB / 0.5756 GB, free: 28.22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.922e-05/0.355, allocations: 38.33 kB / 0.5756 GB, free: 28.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.3551, allocations: 139.8 kB / 0.5758 GB, free: 28.13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3551, allocations: 0.5625 kB / 0.5758 GB, free: 28.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000166/0.3553, allocations: 147.2 kB / 0.5759 GB, free: 28.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.396e-05/0.3553, allocations: 46.75 kB / 0.576 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3553, allocations: 1.688 kB / 0.576 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.3554, allocations: 0 / 0.576 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.643e-06/0.3554, allocations: 0.7031 kB / 0.576 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3554, allocations: 0 / 0.576 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.3555, allocations: 11.59 kB / 0.576 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.3555, allocations: 11.66 kB / 0.576 GB, free: 28.01 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.978e-05/0.3556, allocations: 144.9 kB / 0.5761 GB, free: 27.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.552e-05/0.3556, allocations: 15.69 kB / 0.5761 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.297e-05/0.3556, allocations: 11.59 kB / 0.5762 GB, free: 27.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.3556, allocations: 0 / 0.5762 GB, free: 27.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3557, allocations: 0 / 0.5762 GB, free: 27.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.3557, allocations: 0.7031 kB / 0.5762 GB, free: 27.85 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.294e-05/0.3557, allocations: 172.4 kB / 0.5763 GB, free: 27.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3557, allocations: 0.6562 kB / 0.5763 GB, free: 27.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.82e-07/0.3558, allocations: 0.5625 kB / 0.5763 GB, free: 27.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3558, allocations: 9.828 kB / 0.5763 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.3558, allocations: 3.625 kB / 0.5763 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3558, allocations: 5.922 kB / 0.5763 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3558, allocations: 1.031 kB / 0.5763 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.356, allocations: 196.9 kB / 0.5765 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.959e-05/0.356, allocations: 87.22 kB / 0.5766 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.3561, allocations: 2.188 kB / 0.5766 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.568e-05/0.3561, allocations: 7.703 kB / 0.5766 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.908e-05/0.3561, allocations: 8.75 kB / 0.5766 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.3561, allocations: 10.14 kB / 0.5766 GB, free: 27.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.579e-05/0.3562, allocations: 92.19 kB / 0.5767 GB, free: 27.33 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3562, allocations: 0.5625 kB / 0.5767 GB, free: 27.33 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003284/0.3565, allocations: 72.89 kB / 0.5768 GB, free: 27.32 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002778/0.3568, allocations: 160 kB / 0.5769 GB, free: 27.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002357/0.3571, allocations: 196 kB / 0.5771 GB, free: 27.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.3571, allocations: 0.5938 kB / 0.5771 GB, free: 27.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.3572, allocations: 153 kB / 0.5773 GB, free: 27.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.3573, allocations: 6.391 kB / 0.5773 GB, free: 27.03 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002684/0.3576, allocations: 197.8 kB / 0.5775 GB, free: 26.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.769e-05/0.3577, allocations: 0.6859 MB / 0.5781 GB, free: 26.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.066e-06/0.3577, allocations: 15.81 kB / 0.5782 GB, free: 26.16 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3577, allocations: 2.094 kB / 0.5782 GB, free: 26.16 MB / 446.1 MB Notification: Performance of Templates: time 0.003504/0.3613, allocations: 1.714 MB / 0.5798 GB, free: 25.86 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)