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.001439/0.001439, allocations: 103.4 kB / 16.27 MB, free: 5.93 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.001479/0.00148, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.371/1.371, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7912/0.7912, allocations: 126.4 MB / 417.4 MB, free: 12.51 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 67.88 kB / 0.4953 GB, free: 3.066 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.4228, allocations: 78.78 MB / 0.5723 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001844/0.4247, allocations: 0.6008 MB / 0.5729 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001972/0.4267, allocations: 1.441 MB / 0.5743 GB, free: 30.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.13e-05/0.4268, allocations: 0 / 0.5743 GB, free: 30.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.274e-05/0.4268, allocations: 6 kB / 0.5743 GB, free: 30.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.172e-05/0.4269, allocations: 1.781 kB / 0.5743 GB, free: 30.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007901/0.4277, allocations: 209.6 kB / 0.5745 GB, free: 29.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000104/0.4278, allocations: 39.95 kB / 0.5745 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.421e-05/0.4278, allocations: 2.875 kB / 0.5745 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.291e-05/0.4279, allocations: 14.22 kB / 0.5745 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.42e-05/0.428, allocations: 26.3 kB / 0.5746 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.428, allocations: 2.219 kB / 0.5746 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004195/0.4284, allocations: 240.8 kB / 0.5748 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.715e-05/0.4285, allocations: 10.25 kB / 0.5748 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.222e-05/0.4285, allocations: 17.91 kB / 0.5748 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000417/0.4289, allocations: 215.3 kB / 0.575 GB, free: 29.81 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.4289, allocations: 1.938 kB / 0.575 GB, free: 29.81 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.429, allocations: 0 / 0.575 GB, free: 29.81 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.429, allocations: 0.5625 kB / 0.575 GB, free: 29.81 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.0003903/0.4294, allocations: 404.6 kB / 0.5754 GB, free: 29.4 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.4294, allocations: 14.64 kB / 0.5754 GB, free: 29.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.864e-05/0.4295, allocations: 3.219 kB / 0.5754 GB, free: 29.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.4296, allocations: 169.4 kB / 0.5756 GB, free: 29.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.4296, allocations: 2.375 kB / 0.5756 GB, free: 29.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.4296, allocations: 7.297 kB / 0.5756 GB, free: 29.19 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.4299, allocations: 81.47 kB / 0.5757 GB, free: 29.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.4299, allocations: 0 / 0.5757 GB, free: 29.15 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.4299, allocations: 1.891 kB / 0.5757 GB, free: 29.15 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.4299, allocations: 3.984 kB / 0.5757 GB, free: 29.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.823e-05/0.43, allocations: 32.38 kB / 0.5757 GB, free: 29.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001567/0.4302, allocations: 168.9 kB / 0.5759 GB, free: 28.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.4303, allocations: 60.56 kB / 0.5759 GB, free: 28.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.245e-05/0.4304, allocations: 51.59 kB / 0.576 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.266e-06/0.4304, allocations: 3.5 kB / 0.576 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.4304, allocations: 39.56 kB / 0.576 GB, free: 28.85 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.4304, allocations: 0 / 0.576 GB, free: 28.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003584/0.4308, allocations: 189.2 kB / 0.5762 GB, free: 28.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.4308, allocations: 82.45 kB / 0.5763 GB, free: 28.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.345e-05/0.4309, allocations: 116.2 kB / 0.5764 GB, free: 28.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.4309, allocations: 27.48 kB / 0.5764 GB, free: 28.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.702e-05/0.431, allocations: 85.05 kB / 0.5765 GB, free: 28.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.833e-05/0.431, allocations: 29.31 kB / 0.5765 GB, free: 28.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.4311, allocations: 23.98 kB / 0.5765 GB, free: 28.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.136e-05/0.4311, allocations: 313.3 kB / 0.5768 GB, free: 28.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.077e-05/0.4312, allocations: 36.83 kB / 0.5769 GB, free: 28.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.509e-05/0.4312, allocations: 36.8 kB / 0.5769 GB, free: 28.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.4314, allocations: 148.5 kB / 0.5771 GB, free: 28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.4314, allocations: 1.094 kB / 0.5771 GB, free: 28 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001744/0.4316, allocations: 155.7 kB / 0.5772 GB, free: 27.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/0.4316, allocations: 45.88 kB / 0.5773 GB, free: 27.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.4316, allocations: 0.5625 kB / 0.5773 GB, free: 27.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.4317, allocations: 1.906 kB / 0.5773 GB, free: 27.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-07/0.4317, allocations: 0.875 kB / 0.5773 GB, free: 27.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.4317, allocations: 0 / 0.5773 GB, free: 27.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.4318, allocations: 9.484 kB / 0.5773 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.4318, allocations: 6.531 kB / 0.5773 GB, free: 27.86 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 9.652e-05/0.4319, allocations: 150 kB / 0.5774 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.663e-05/0.432, allocations: 8.062 kB / 0.5774 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.605e-05/0.432, allocations: 14.3 kB / 0.5774 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.432, allocations: 0 / 0.5774 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.432, allocations: 2.25 kB / 0.5774 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.432, allocations: 0 / 0.5774 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.251e-05/0.4321, allocations: 170.4 kB / 0.5776 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4321, allocations: 0 / 0.5776 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-07/0.4321, allocations: 2.531 kB / 0.5776 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.4321, allocations: 3.938 kB / 0.5776 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.4321, allocations: 6.734 kB / 0.5776 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.4321, allocations: 1.938 kB / 0.5776 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4321, allocations: 1 kB / 0.5776 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.4323, allocations: 198.9 kB / 0.5778 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.902e-05/0.4324, allocations: 86.33 kB / 0.5779 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.4324, allocations: 2.75 kB / 0.5779 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.422e-05/0.4324, allocations: 4.656 kB / 0.5779 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.083e-05/0.4325, allocations: 7.266 kB / 0.5779 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.4325, allocations: 9 kB / 0.5779 GB, free: 27.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.284e-05/0.4325, allocations: 88.89 kB / 0.578 GB, free: 27.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4325, allocations: 1.719 kB / 0.578 GB, free: 27.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003376/0.4329, allocations: 73.88 kB / 0.5781 GB, free: 27.14 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.0002904/0.4332, allocations: 159.1 kB / 0.5782 GB, free: 27.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00025/0.4334, allocations: 198.4 kB / 0.5784 GB, free: 26.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4334, allocations: 0 / 0.5784 GB, free: 26.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.4336, allocations: 156.9 kB / 0.5786 GB, free: 26.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.4337, allocations: 9.844 kB / 0.5786 GB, free: 26.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002892/0.434, allocations: 168.3 kB / 0.5787 GB, free: 26.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000157/0.4342, allocations: 0.6841 MB / 0.5794 GB, free: 25.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.284e-06/0.4342, allocations: 0 / 0.5794 GB, free: 25.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.149e-05/0.4342, allocations: 8.75 kB / 0.5794 GB, free: 25.95 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4342, allocations: 0 / 0.5794 GB, free: 25.95 MB / 446.1 MB Notification: Performance of Templates: time 0.005454/0.4397, allocations: 2.047 MB / 0.5814 GB, free: 24.99 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)