Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate.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.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate") translateModel(IBPSA.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 104.4 kB / 15.98 MB, free: 6.352 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.001017/0.001017, allocations: 189.4 kB / 16.91 MB, free: 6.195 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.378/1.378, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.787/0.787, allocations: 122.9 MB / 413.6 MB, free: 24 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 67.89 kB / 0.4906 GB, free: 7.816 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4039/0.4051, allocations: 77.92 MB / 0.5667 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Interpolate): time 0.003703/0.4089, allocations: 1.525 MB / 0.5682 GB, free: 31.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.4105, allocations: 0.7743 MB / 0.5689 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.621e-05/0.4106, allocations: 2.875 kB / 0.5689 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003151/0.4109, allocations: 124.5 kB / 0.569 GB, free: 31.19 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006466/0.4116, allocations: 166.4 kB / 0.5692 GB, free: 31.15 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001735/0.4117, allocations: 71.77 kB / 0.5693 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.4119, allocations: 69.22 kB / 0.5693 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.424e-05/0.412, allocations: 6.797 kB / 0.5693 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.594e-05/0.412, allocations: 42.12 kB / 0.5694 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.4122, allocations: 83.44 kB / 0.5695 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.4122, allocations: 2.125 kB / 0.5695 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003956/0.4126, allocations: 222.6 kB / 0.5697 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.4128, allocations: 110.8 kB / 0.5698 GB, free: 30.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.866e-05/0.4129, allocations: 82.11 kB / 0.5699 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005193/0.4134, allocations: 316.6 kB / 0.5702 GB, free: 30.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.4134, allocations: 1.344 kB / 0.5702 GB, free: 30.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4134, allocations: 3.938 kB / 0.5702 GB, free: 30.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.4134, allocations: 1.031 kB / 0.5702 GB, free: 30.83 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0008356/0.4143, allocations: 0.5736 MB / 0.5707 GB, free: 30.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.4143, allocations: 14.66 kB / 0.5707 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.858e-05/0.4144, allocations: 30.31 kB / 0.5708 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004537/0.4149, allocations: 370.7 kB / 0.5711 GB, free: 30.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.4149, allocations: 1.406 kB / 0.5711 GB, free: 30.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.4149, allocations: 2.391 kB / 0.5711 GB, free: 30.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002484/0.4152, allocations: 91.53 kB / 0.5712 GB, free: 29.99 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.4152, allocations: 0 / 0.5712 GB, free: 29.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.4152, allocations: 4 kB / 0.5712 GB, free: 29.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.413e-06/0.4152, allocations: 2.688 kB / 0.5712 GB, free: 29.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002428/0.4155, allocations: 101.9 kB / 0.5713 GB, free: 29.97 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005676/0.416, allocations: 466.9 kB / 0.5718 GB, free: 29.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.4162, allocations: 102.9 kB / 0.5719 GB, free: 29.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.4164, allocations: 61.42 kB / 0.5719 GB, free: 29.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.764e-05/0.4164, allocations: 21.17 kB / 0.5719 GB, free: 29.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.4165, allocations: 36.5 kB / 0.572 GB, free: 29.56 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.4165, allocations: 1.25 kB / 0.572 GB, free: 29.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.000485/0.417, allocations: 210.5 kB / 0.5722 GB, free: 29.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.417, allocations: 52.88 kB / 0.5722 GB, free: 29.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006699/0.4177, allocations: 0.5356 MB / 0.5728 GB, free: 29.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.4177, allocations: 28.73 kB / 0.5728 GB, free: 29.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.4178, allocations: 161.6 kB / 0.5729 GB, free: 29.06 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.4178, allocations: 3.75 kB / 0.5729 GB, free: 29.06 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.424e-05/0.4179, allocations: 42.56 kB / 0.573 GB, free: 29.03 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.418, allocations: 344.6 kB / 0.5733 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.4182, allocations: 90.42 kB / 0.5734 GB, free: 28.69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.4184, allocations: 101.6 kB / 0.5735 GB, free: 28.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003236/0.4187, allocations: 181.2 kB / 0.5737 GB, free: 28.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.4187, allocations: 1.406 kB / 0.5737 GB, free: 28.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004352/0.4192, allocations: 268.7 kB / 0.5739 GB, free: 28.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.4192, allocations: 6.188 kB / 0.5739 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.4192, allocations: 0 / 0.5739 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.4192, allocations: 2.406 kB / 0.5739 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.4194, allocations: 29.47 kB / 0.574 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.954e-06/0.4194, allocations: 2.609 kB / 0.574 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.677e-05/0.4195, allocations: 10.56 kB / 0.574 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.4195, allocations: 8.812 kB / 0.574 GB, free: 28.51 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 (15): * Single equations (assignments): 15 * 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 0.0001376/0.4197, allocations: 173 kB / 0.5741 GB, free: 28.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.772e-05/0.4197, allocations: 28.97 kB / 0.5742 GB, free: 28.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003363/0.4201, allocations: 169.5 kB / 0.5743 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.4201, allocations: 1.219 kB / 0.5743 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4201, allocations: 0 / 0.5743 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.4201, allocations: 1.984 kB / 0.5743 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000294/0.4204, allocations: 285.5 kB / 0.5746 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4204, allocations: 3.938 kB / 0.5746 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.635e-05/0.4205, allocations: 10.31 kB / 0.5746 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.4205, allocations: 0.6094 kB / 0.5746 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.4205, allocations: 1.219 kB / 0.5746 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.4205, allocations: 0.9062 kB / 0.5746 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.4205, allocations: 1.656 kB / 0.5746 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003104/0.4208, allocations: 257.1 kB / 0.5749 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.994e-05/0.4209, allocations: 115.4 kB / 0.575 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.421, allocations: 1.797 kB / 0.575 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.225e-05/0.4211, allocations: 5.312 kB / 0.575 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.4211, allocations: 3.562 kB / 0.575 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.4211, allocations: 2.844 kB / 0.575 GB, free: 27.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004501/0.4216, allocations: 402.1 kB / 0.5754 GB, free: 27.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.4216, allocations: 0 / 0.5754 GB, free: 27.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005439/0.4221, allocations: 77.02 kB / 0.5755 GB, free: 27.64 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 (2): * Single equations (assignments): 2 * 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.000319/0.4225, allocations: 158.4 kB / 0.5756 GB, free: 27.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003652/0.4228, allocations: 166.8 kB / 0.5758 GB, free: 27.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.4229, allocations: 0 / 0.5758 GB, free: 27.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.423, allocations: 54.98 kB / 0.5758 GB, free: 27.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.4234, allocations: 29.36 kB / 0.5758 GB, free: 27.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008493/0.4242, allocations: 0.5724 MB / 0.5764 GB, free: 27.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.4245, allocations: 0.7817 MB / 0.5772 GB, free: 26.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.661e-05/0.4246, allocations: 33.42 kB / 0.5772 GB, free: 26.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.4246, allocations: 17.94 kB / 0.5772 GB, free: 26.45 MB / 446.1 MB Notification: Performance of SimCode: time 3.7e-07/0.4247, allocations: 0 / 0.5772 GB, free: 26.45 MB / 446.1 MB Notification: Performance of Templates: time 0.006729/0.4314, allocations: 2.716 MB / 0.5799 GB, free: 25.76 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate.pipe 2>&1)