Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0007637/0.0007636, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.006233/0.006233, allocations: 173 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 205.4 MB / 222.5 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.669/1.669, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005705/0.0005706, allocations: 19.62 kB / 0.6743 GB, free: 25.63 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2254, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0007449/0.2262, allocations: 355.4 kB / 0.7882 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002089/0.2283, allocations: 1.496 MB / 0.7897 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.548e-05/0.2283, allocations: 0 / 0.7897 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.79e-05/0.2284, allocations: 0 / 0.7897 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.809e-05/0.2284, allocations: 3.938 kB / 0.7897 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006992/0.2292, allocations: 158.9 kB / 0.7898 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.318e-05/0.2292, allocations: 39.95 kB / 0.7899 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.574e-05/0.2293, allocations: 7.984 kB / 0.7899 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.358e-05/0.2293, allocations: 15.92 kB / 0.7899 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.554e-05/0.2294, allocations: 19.92 kB / 0.7899 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.2294, allocations: 4 kB / 0.7899 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004004/0.2298, allocations: 243.6 kB / 0.7902 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.844e-05/0.2299, allocations: 7.984 kB / 0.7902 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.434e-05/0.2299, allocations: 41.58 kB / 0.7902 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003465/0.2303, allocations: 215.6 kB / 0.7904 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2303, allocations: 0 / 0.7904 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.005e-06/0.2303, allocations: 4 kB / 0.7904 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.2303, allocations: 7.875 kB / 0.7904 GB, free: 8.957 MB / 0.6075 GB 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.0004082/0.2307, allocations: 397.4 kB / 0.7908 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.2308, allocations: 8.031 kB / 0.7908 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.054e-05/0.2308, allocations: 8.844 kB / 0.7908 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.231, allocations: 168.2 kB / 0.791 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.231, allocations: 4.375 kB / 0.791 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.231, allocations: 384 / 0.791 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.2312, allocations: 73.97 kB / 0.791 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.2312, allocations: 8 kB / 0.7911 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.2312, allocations: 0 / 0.7911 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2312, allocations: 0 / 0.7911 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.264e-05/0.2313, allocations: 39.91 kB / 0.7911 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002208/0.2315, allocations: 161.7 kB / 0.7912 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.492e-05/0.2316, allocations: 66.55 kB / 0.7913 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.557e-05/0.2317, allocations: 44.88 kB / 0.7914 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.2317, allocations: 7.984 kB / 0.7914 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.2318, allocations: 38.5 kB / 0.7914 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.2318, allocations: 0 / 0.7914 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003391/0.2321, allocations: 187.2 kB / 0.7916 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/0.2322, allocations: 81.11 kB / 0.7917 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.874e-05/0.2323, allocations: 114.1 kB / 0.7918 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.2323, allocations: 29.7 kB / 0.7918 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.904e-05/0.2324, allocations: 84.3 kB / 0.7919 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.626e-05/0.2324, allocations: 31.53 kB / 0.7919 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.2325, allocations: 21.75 kB / 0.7919 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.2326, allocations: 314.8 kB / 0.7922 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.437e-05/0.2326, allocations: 31.98 kB / 0.7923 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.808e-05/0.2327, allocations: 35.97 kB / 0.7923 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.2328, allocations: 144.2 kB / 0.7924 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.2328, allocations: 0 / 0.7924 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001904/0.233, allocations: 151.3 kB / 0.7926 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.297e-05/0.2331, allocations: 41.62 kB / 0.7926 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.2331, allocations: 3.938 kB / 0.7926 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.2331, allocations: 4.062 kB / 0.7926 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-07/0.2331, allocations: 0 / 0.7926 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.2331, allocations: 0 / 0.7926 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.2332, allocations: 8 kB / 0.7926 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.2333, allocations: 7.984 kB / 0.7926 GB, free: 6.422 MB / 0.6075 GB 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 0.0001142/0.2334, allocations: 148.2 kB / 0.7928 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.838e-05/0.2334, allocations: 11.84 kB / 0.7928 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.456e-05/0.2334, allocations: 8.375 kB / 0.7928 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2334, allocations: 0 / 0.7928 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2335, allocations: 7.938 kB / 0.7928 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.2335, allocations: 0 / 0.7928 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.2336, allocations: 165.6 kB / 0.793 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2336, allocations: 0 / 0.793 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.51e-07/0.2336, allocations: 0 / 0.793 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.2336, allocations: 7.938 kB / 0.793 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.2336, allocations: 4 kB / 0.793 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2336, allocations: 0 / 0.793 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2336, allocations: 0 / 0.793 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.2339, allocations: 206.6 kB / 0.7932 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.549e-05/0.234, allocations: 81.05 kB / 0.7932 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.234, allocations: 4 kB / 0.7932 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.116e-05/0.234, allocations: 7.984 kB / 0.7933 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.83e-05/0.2341, allocations: 4 kB / 0.7933 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.2341, allocations: 8 kB / 0.7933 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.283e-05/0.2341, allocations: 91.27 kB / 0.7934 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2341, allocations: 0 / 0.7934 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003456/0.2345, allocations: 67.98 kB / 0.7934 GB, free: 5.508 MB / 0.6075 GB 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.0003637/0.2349, allocations: 171.2 kB / 0.7936 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002667/0.2351, allocations: 195.3 kB / 0.7938 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.2352, allocations: 0 / 0.7938 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.2353, allocations: 159.2 kB / 0.7939 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.2355, allocations: 7.938 kB / 0.7939 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003495/0.2358, allocations: 186.7 kB / 0.7941 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.2361, allocations: 0.6848 MB / 0.7948 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.364e-06/0.2362, allocations: 4 kB / 0.7948 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.07e-05/0.2362, allocations: 7.438 kB / 0.7948 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of SimCode: time 4.91e-07/0.2362, allocations: 0 / 0.7948 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of Templates: time 0.005032/0.2412, allocations: 1.969 MB / 0.7967 GB, free: 2.059 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) Environment - environmentSimulation: