Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.638/3.638, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002401/0.002401, allocations: 175.2 kB / 326.2 MB, free: 2.879 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.196/4.196, allocations: 205.4 MB / 0.5772 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001473/0.001473, allocations: 99.09 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000803/0.0008033, allocations: 12.94 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5366/0.5374, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3578/0.8954, allocations: 132.5 MB / 1.029 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005252/0.896, allocations: 91.94 kB / 1.029 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02634/0.9223, allocations: 3.53 MB / 1.032 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.337e-06/0.9224, allocations: 0 / 1.032 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.9224, allocations: 0 / 1.032 GB, free: 9.18 MB / 0.6823 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.0007371/0.9232, allocations: 408.9 kB / 1.033 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/0.9233, allocations: 11.97 kB / 1.033 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.806e-05/0.9233, allocations: 4.938 kB / 1.033 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.9235, allocations: 168.3 kB / 1.033 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.9236, allocations: 4.375 kB / 1.033 GB, free: 8.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.9236, allocations: 384 / 1.033 GB, free: 8.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/0.9239, allocations: 70.19 kB / 1.033 GB, free: 8.426 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.9239, allocations: 4.188 kB / 1.033 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.924, allocations: 3.938 kB / 1.033 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.924, allocations: 0 / 1.033 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.9241, allocations: 23.98 kB / 1.033 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000258/0.9244, allocations: 165.5 kB / 1.033 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.9246, allocations: 62.48 kB / 1.033 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.9248, allocations: 40.86 kB / 1.033 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.9248, allocations: 0 / 1.033 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.541e-05/0.9249, allocations: 34.56 kB / 1.033 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.324e-06/0.9249, allocations: 0 / 1.033 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0006317/0.9255, allocations: 167.3 kB / 1.034 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/0.9257, allocations: 85.05 kB / 1.034 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.9259, allocations: 117.9 kB / 1.034 GB, free: 7.625 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.9259, allocations: 25.7 kB / 1.034 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.836e-05/0.926, allocations: 88.14 kB / 1.034 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.789e-05/0.9261, allocations: 15.72 kB / 1.034 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.728e-05/0.9261, allocations: 4 kB / 1.034 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001975/0.9263, allocations: 314.8 kB / 1.034 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.9265, allocations: 27.97 kB / 1.034 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.9266, allocations: 23.98 kB / 1.034 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.9268, allocations: 53.67 kB / 1.034 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.9268, allocations: 4.031 kB / 1.034 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004769/0.9273, allocations: 139.2 kB / 1.034 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.011e-05/0.9274, allocations: 33.7 kB / 1.034 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.9274, allocations: 3.938 kB / 1.034 GB, free: 6.863 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.9275, allocations: 3.984 kB / 1.034 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.66e-06/0.9275, allocations: 4 kB / 1.034 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.9275, allocations: 0 / 1.034 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.9276, allocations: 11.88 kB / 1.034 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.406e-05/0.9277, allocations: 8 kB / 1.035 GB, free: 6.836 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002237/0.928, allocations: 155.5 kB / 1.035 GB, free: 6.668 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.928, allocations: 7.906 kB / 1.035 GB, free: 6.66 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.133e-05/0.9281, allocations: 12.31 kB / 1.035 GB, free: 6.645 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.9281, allocations: 0 / 1.035 GB, free: 6.645 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.9281, allocations: 3.984 kB / 1.035 GB, free: 6.641 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.9281, allocations: 0 / 1.035 GB, free: 6.641 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/0.9284, allocations: 161.7 kB / 1.035 GB, free: 6.434 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.9284, allocations: 0 / 1.035 GB, free: 6.434 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.813e-06/0.9284, allocations: 0 / 1.035 GB, free: 6.434 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.9284, allocations: 0 / 1.035 GB, free: 6.434 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.493e-05/0.9285, allocations: 15.92 kB / 1.035 GB, free: 6.418 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.9285, allocations: 4 kB / 1.035 GB, free: 6.414 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.9285, allocations: 4 kB / 1.035 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005634/0.9291, allocations: 178.7 kB / 1.035 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.195e-05/0.9292, allocations: 85.09 kB / 1.035 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.83e-05/0.9292, allocations: 3.938 kB / 1.035 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.829e-05/0.9293, allocations: 4 kB / 1.035 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.792e-05/0.9294, allocations: 11.92 kB / 1.035 GB, free: 6.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.364e-05/0.9295, allocations: 12.03 kB / 1.035 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000142/0.9296, allocations: 91.89 kB / 1.035 GB, free: 5.988 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.81e-07/0.9296, allocations: 0 / 1.035 GB, free: 5.988 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008335/0.9305, allocations: 79.88 kB / 1.035 GB, free: 5.91 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006573/0.9312, allocations: 175.1 kB / 1.035 GB, free: 5.73 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005143/0.9317, allocations: 171.3 kB / 1.036 GB, free: 5.551 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.9317, allocations: 0 / 1.036 GB, free: 5.551 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002851/0.932, allocations: 135.4 kB / 1.036 GB, free: 5.406 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.9324, allocations: 8.125 kB / 1.036 GB, free: 5.398 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005529/0.9329, allocations: 162.6 kB / 1.036 GB, free: 5.211 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.9334, allocations: 0.6887 MB / 1.037 GB, free: 4.496 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.177e-05/0.9335, allocations: 0 / 1.037 GB, free: 4.496 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.374e-05/0.9335, allocations: 11.38 kB / 1.037 GB, free: 4.488 MB / 0.6823 GB Notification: Performance of SimCode: time 1.242e-06/0.9335, allocations: 0 / 1.037 GB, free: 4.488 MB / 0.6823 GB Notification: Performance of Templates: time 0.009719/0.9432, allocations: 1.888 MB / 1.038 GB, free: 2.609 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)