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.0007345/0.0007345, allocations: 89.55 kB / 16.66 MB, free: 5.742 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.0008983/0.0008984, allocations: 183 kB / 17.58 MB, free: 5.477 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.305/1.305, allocations: 223.3 MB / 241.6 MB, free: 14.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.7078/0.7078, allocations: 115.5 MB / 408.2 MB, free: 7.094 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.0003318, allocations: 16 kB / 496.5 MB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3566, allocations: 77.51 MB / 0.5606 GB, free: 35.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0006344/0.3572, allocations: 348.8 kB / 0.5609 GB, free: 35.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.3588, allocations: 1.45 MB / 0.5623 GB, free: 34.35 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.83e-05/0.3588, allocations: 0 / 0.5623 GB, free: 34.35 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.535e-05/0.3589, allocations: 3.938 kB / 0.5623 GB, free: 34.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.642e-05/0.3589, allocations: 2.547 kB / 0.5623 GB, free: 34.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004959/0.3594, allocations: 161.9 kB / 0.5625 GB, free: 34.28 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.607e-05/0.3595, allocations: 37.59 kB / 0.5625 GB, free: 34.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.965e-05/0.3595, allocations: 1.5 kB / 0.5625 GB, free: 34.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.109e-05/0.3596, allocations: 15.91 kB / 0.5625 GB, free: 34.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.217e-05/0.3596, allocations: 27 kB / 0.5626 GB, free: 34.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.3597, allocations: 2.531 kB / 0.5626 GB, free: 34.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003317/0.36, allocations: 233.4 kB / 0.5628 GB, free: 34.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.496e-05/0.36, allocations: 5.281 kB / 0.5628 GB, free: 34.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.785e-05/0.3601, allocations: 48.66 kB / 0.5629 GB, free: 34.15 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.3603, allocations: 140.5 kB / 0.563 GB, free: 34.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.3603, allocations: 6.25 kB / 0.563 GB, free: 34.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3603, allocations: 0 / 0.563 GB, free: 34.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.3603, allocations: 1.375 kB / 0.563 GB, free: 34.12 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.0002925/0.3606, allocations: 392.1 kB / 0.5634 GB, free: 33.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3607, allocations: 13.5 kB / 0.5634 GB, free: 33.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.518e-05/0.3607, allocations: 13.14 kB / 0.5634 GB, free: 33.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.059e-05/0.3608, allocations: 172.6 kB / 0.5636 GB, free: 33.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.3608, allocations: 2.906 kB / 0.5636 GB, free: 33.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.3608, allocations: 2.844 kB / 0.5636 GB, free: 33.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.361, allocations: 74.8 kB / 0.5636 GB, free: 33.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.691e-06/0.361, allocations: 1.719 kB / 0.5636 GB, free: 33.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.361, allocations: 1.516 kB / 0.5636 GB, free: 33.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.361, allocations: 0 / 0.5636 GB, free: 33.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.444e-05/0.3611, allocations: 38.53 kB / 0.5637 GB, free: 33.45 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001121/0.3612, allocations: 163.4 kB / 0.5638 GB, free: 33.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.592e-05/0.3613, allocations: 67.55 kB / 0.5639 GB, free: 33.22 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.39e-05/0.3614, allocations: 49.7 kB / 0.5639 GB, free: 33.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.464e-06/0.3614, allocations: 0 / 0.5639 GB, free: 33.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.3614, allocations: 43.27 kB / 0.564 GB, free: 33.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.3614, allocations: 0 / 0.564 GB, free: 33.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003012/0.3617, allocations: 185.5 kB / 0.5642 GB, free: 33.08 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.3618, allocations: 81.09 kB / 0.5642 GB, free: 32.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.27e-05/0.3619, allocations: 111.2 kB / 0.5643 GB, free: 32.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.3619, allocations: 27.92 kB / 0.5644 GB, free: 32.85 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.449e-05/0.3619, allocations: 87.23 kB / 0.5645 GB, free: 32.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.362, allocations: 29.25 kB / 0.5645 GB, free: 32.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.396e-05/0.362, allocations: 13.42 kB / 0.5645 GB, free: 32.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.857e-05/0.362, allocations: 318.4 kB / 0.5648 GB, free: 32.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.69e-05/0.3621, allocations: 34.31 kB / 0.5648 GB, free: 32.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.98e-05/0.3622, allocations: 36.31 kB / 0.5649 GB, free: 32.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.3623, allocations: 145.3 kB / 0.565 GB, free: 32.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3623, allocations: 0 / 0.565 GB, free: 32.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001697/0.3625, allocations: 156.7 kB / 0.5652 GB, free: 32.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.3625, allocations: 40.7 kB / 0.5652 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.3625, allocations: 1.062 kB / 0.5652 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.3625, allocations: 3.984 kB / 0.5652 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.403e-06/0.3626, allocations: 2.125 kB / 0.5652 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3626, allocations: 4.547 kB / 0.5652 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.102e-05/0.3627, allocations: 8.797 kB / 0.5652 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.3627, allocations: 10.94 kB / 0.5652 GB, free: 32.19 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 7.464e-05/0.3628, allocations: 149.5 kB / 0.5654 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.3628, allocations: 12.12 kB / 0.5654 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.071e-05/0.3628, allocations: 11.41 kB / 0.5654 GB, free: 32.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3628, allocations: 0.6562 kB / 0.5654 GB, free: 32.03 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3628, allocations: 2.656 kB / 0.5654 GB, free: 32.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.3628, allocations: 0 / 0.5654 GB, free: 32.03 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.286e-05/0.3629, allocations: 168.6 kB / 0.5655 GB, free: 31.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-06/0.3629, allocations: 0 / 0.5655 GB, free: 31.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.3629, allocations: 0.875 kB / 0.5656 GB, free: 31.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3629, allocations: 5.719 kB / 0.5656 GB, free: 31.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.3629, allocations: 3.672 kB / 0.5656 GB, free: 31.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.3629, allocations: 1.938 kB / 0.5656 GB, free: 31.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.363, allocations: 0.6562 kB / 0.5656 GB, free: 31.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.3632, allocations: 200.9 kB / 0.5658 GB, free: 31.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.063e-05/0.3632, allocations: 87.08 kB / 0.5658 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.3632, allocations: 3.516 kB / 0.5658 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.52e-05/0.3633, allocations: 11.58 kB / 0.5659 GB, free: 31.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.86e-05/0.3633, allocations: 3.547 kB / 0.5659 GB, free: 31.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.3633, allocations: 6.125 kB / 0.5659 GB, free: 31.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.467e-05/0.3634, allocations: 91.47 kB / 0.5659 GB, free: 31.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3634, allocations: 2.688 kB / 0.5659 GB, free: 31.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003317/0.3637, allocations: 69.42 kB / 0.566 GB, free: 31.52 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.0002973/0.364, allocations: 160.8 kB / 0.5662 GB, free: 31.42 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000252/0.3643, allocations: 197 kB / 0.5664 GB, free: 31.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3643, allocations: 1.406 kB / 0.5664 GB, free: 31.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.3644, allocations: 156 kB / 0.5665 GB, free: 31.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.3646, allocations: 13.52 kB / 0.5665 GB, free: 31.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002953/0.3649, allocations: 207.8 kB / 0.5667 GB, free: 31.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.365, allocations: 0.6854 MB / 0.5674 GB, free: 30.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.595e-06/0.365, allocations: 9.219 kB / 0.5674 GB, free: 30.34 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.365, allocations: 1.125 kB / 0.5674 GB, free: 30.34 MB / 446.1 MB Notification: Performance of Templates: time 0.003703/0.3687, allocations: 1.701 MB / 0.5691 GB, free: 30.29 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)