Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.572/1.572, allocations: 249.3 MB / 261.8 MB, free: 5.809 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002186/0.002186, allocations: 184.8 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.001004/0.001004, allocations: 86.52 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.496e-05/4.499e-05, allocations: 8 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2464, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8223/1.069, allocations: 132.7 MB / 1.021 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/1.069, allocations: 77.83 kB / 1.022 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01183/1.081, allocations: 3.5 MB / 1.025 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.623e-06/1.081, allocations: 0 / 1.025 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.314e-06/1.081, allocations: 0 / 1.025 GB, free: 14.93 MB / 0.6511 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.0005056/1.082, allocations: 407.7 kB / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/1.082, allocations: 8.031 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.064e-05/1.082, allocations: 38.55 kB / 1.025 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.056e-05/1.082, allocations: 7.906 kB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/1.082, allocations: 171 kB / 1.026 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/1.082, allocations: 0 / 1.026 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/1.082, allocations: 7.938 kB / 1.026 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/1.082, allocations: 61.59 kB / 1.026 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/1.082, allocations: 0 / 1.026 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/1.082, allocations: 4 kB / 1.026 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/1.082, allocations: 0 / 1.026 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.376e-05/1.082, allocations: 27.8 kB / 1.026 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001912/1.082, allocations: 169.2 kB / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 9.203e-05/1.083, allocations: 56.48 kB / 1.026 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.461e-05/1.083, allocations: 36.44 kB / 1.026 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-06/1.083, allocations: 0 / 1.026 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/1.083, allocations: 34.56 kB / 1.026 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/1.083, allocations: 0 / 1.026 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0003442/1.083, allocations: 129.8 kB / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.264e-05/1.083, allocations: 89.12 kB / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/1.083, allocations: 100.7 kB / 1.026 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/1.083, allocations: 25.7 kB / 1.026 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.371e-05/1.083, allocations: 91.88 kB / 1.026 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.7e-05/1.084, allocations: 19.66 kB / 1.026 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-06/1.084, allocations: 0 / 1.026 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001774/1.084, allocations: 322.2 kB / 1.027 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.812e-05/1.084, allocations: 23.42 kB / 1.027 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.515e-05/1.084, allocations: 27.72 kB / 1.027 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.458e-05/1.084, allocations: 62.22 kB / 1.027 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.084, allocations: 0 / 1.027 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002144/1.084, allocations: 138.5 kB / 1.027 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.585e-05/1.084, allocations: 37.64 kB / 1.027 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/1.084, allocations: 0 / 1.027 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/1.084, allocations: 0 / 1.027 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.615e-06/1.084, allocations: 3.984 kB / 1.027 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/1.084, allocations: 3.984 kB / 1.027 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.443e-05/1.084, allocations: 4 kB / 1.027 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.378e-05/1.084, allocations: 11.98 kB / 1.027 GB, free: 12.68 MB / 0.6511 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 () * 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.0001303/1.085, allocations: 146.7 kB / 1.027 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.994e-05/1.085, allocations: 7.906 kB / 1.027 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.573e-05/1.085, allocations: 8.188 kB / 1.027 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/1.085, allocations: 0 / 1.027 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/1.085, allocations: 0 / 1.027 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/1.085, allocations: 0 / 1.027 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/1.085, allocations: 176.7 kB / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.085, allocations: 0 / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.02e-07/1.085, allocations: 0 / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/1.085, allocations: 4 kB / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/1.085, allocations: 11.88 kB / 1.027 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/1.085, allocations: 0 / 1.027 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.085, allocations: 0 / 1.027 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/1.085, allocations: 173.8 kB / 1.027 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/1.085, allocations: 88.97 kB / 1.028 GB, free: 12 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/1.085, allocations: 7.984 kB / 1.028 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.828e-05/1.085, allocations: 0 / 1.028 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.48e-05/1.085, allocations: 8.031 kB / 1.028 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/1.085, allocations: 8 kB / 1.028 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.599e-05/1.085, allocations: 90.7 kB / 1.028 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.71e-07/1.085, allocations: 0 / 1.028 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004599/1.086, allocations: 83.3 kB / 1.028 GB, free: 11.81 MB / 0.6511 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 () * 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.0009642/1.087, allocations: 0.8011 MB / 1.029 GB, free: 11 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002419/1.087, allocations: 169.6 kB / 1.029 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.087, allocations: 4 kB / 1.029 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/1.087, allocations: 130.1 kB / 1.029 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/1.087, allocations: 4 kB / 1.029 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005095/1.088, allocations: 176.7 kB / 1.029 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/1.088, allocations: 0.6887 MB / 1.03 GB, free: 9.824 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.354e-06/1.088, allocations: 0 / 1.03 GB, free: 9.824 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.745e-05/1.088, allocations: 21.98 kB / 1.03 GB, free: 9.809 MB / 0.6511 GB Notification: Performance of SimCode: time 6.81e-07/1.088, allocations: 0 / 1.03 GB, free: 9.809 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01532/1.104, allocations: 2.731 MB / 1.032 GB, free: 7.203 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001985/1.104, allocations: 182.1 kB / 1.033 GB, free: 6.977 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.531/2.635, allocations: 0 / 1.033 GB, free: 6.977 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)