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.547/1.547, allocations: 249.5 MB / 257 MB, free: 6.824 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.001126/0.001126, allocations: 176.9 kB / 316.3 MB, free: 3.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.744/1.744, allocations: 205.3 MB / 0.5671 GB, free: 15.93 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.0008305/0.0008305, allocations: 92.84 kB / 0.6714 GB, free: 5.047 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.307e-05/2.318e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2214, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7599/0.9814, allocations: 132.9 MB / 1.015 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/0.9817, allocations: 85.98 kB / 1.015 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01043/0.9922, allocations: 3.486 MB / 1.019 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.282e-06/0.9922, allocations: 0 / 1.019 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.9922, allocations: 4 kB / 1.019 GB, free: 1.359 MB / 0.6355 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.0003659/0.9926, allocations: 395.9 kB / 1.019 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.9926, allocations: 8.031 kB / 1.019 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.9927, allocations: 9.594 kB / 1.019 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.9928, allocations: 178.9 kB / 1.019 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.9929, allocations: 11.92 kB / 1.019 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.9929, allocations: 4 kB / 1.019 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.423e-05/0.993, allocations: 23.84 kB / 1.019 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.57e-05/0.9931, allocations: 61.41 kB / 1.019 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.671e-06/0.9931, allocations: 0 / 1.019 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.9931, allocations: 4 kB / 1.019 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-06/0.9931, allocations: 0 / 1.019 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000136/0.9932, allocations: 138.1 kB / 1.019 GB, free: 436 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.934e-05/0.9933, allocations: 62.11 kB / 1.019 GB, free: 376 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.859e-05/0.9934, allocations: 32.44 kB / 1.02 GB, free: 348 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-06/0.9934, allocations: 0 / 1.02 GB, free: 348 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.9934, allocations: 46.36 kB / 1.02 GB, free: 296 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 7.22e-07/0.9934, allocations: 0 / 1.02 GB, free: 296 kB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002836/0.9937, allocations: 93.48 kB / 1.02 GB, free: 200 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.9938, allocations: 85.05 kB / 1.02 GB, free: 100 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.503e-05/0.9939, allocations: 100.7 kB / 1.02 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.9939, allocations: 33.73 kB / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.249e-05/0.994, allocations: 84.08 kB / 1.02 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.994, allocations: 23.59 kB / 1.02 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-06/0.994, allocations: 0 / 1.02 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.9941, allocations: 318.7 kB / 1.02 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.555e-05/0.9942, allocations: 19.86 kB / 1.02 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.35e-05/0.9942, allocations: 27.78 kB / 1.02 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.9943, allocations: 23.97 kB / 1.02 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.9943, allocations: 0 / 1.02 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002093/0.9946, allocations: 113 kB / 1.02 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.587e-05/0.9946, allocations: 41.44 kB / 1.02 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.9946, allocations: 0 / 1.02 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.9946, allocations: 0 / 1.02 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.9946, allocations: 0 / 1.02 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.9946, allocations: 0.625 kB / 1.02 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.28e-05/0.9947, allocations: 7.984 kB / 1.02 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.434e-05/0.9947, allocations: 8 kB / 1.021 GB, free: 15.3 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.0001087/0.9948, allocations: 138.7 kB / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002176/0.9951, allocations: 125.4 kB / 1.021 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.9951, allocations: 4 kB / 1.021 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.043e-05/0.9951, allocations: 16.61 kB / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.9951, allocations: 0 / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.9951, allocations: 0 / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.9951, allocations: 0 / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.9952, allocations: 150 kB / 1.021 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.9952, allocations: 7.891 kB / 1.021 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.9953, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.9953, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.9953, allocations: 11.92 kB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.9953, allocations: 4.031 kB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.9953, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.9955, allocations: 136.4 kB / 1.021 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/0.9956, allocations: 92.95 kB / 1.021 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.9956, allocations: 4 kB / 1.021 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.498e-05/0.9957, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.952e-05/0.9957, allocations: 7.75 kB / 1.021 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.9957, allocations: 11.98 kB / 1.021 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.68e-05/0.9958, allocations: 95.17 kB / 1.021 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9958, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003127/0.9961, allocations: 79.92 kB / 1.021 GB, free: 14.39 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.0007733/0.9969, allocations: 0.7637 MB / 1.022 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000197/0.9971, allocations: 165.7 kB / 1.022 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.9971, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.375e-05/0.9972, allocations: 134.2 kB / 1.022 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000106/0.9973, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000379/0.9977, allocations: 184.1 kB / 1.023 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.998, allocations: 0.6885 MB / 1.023 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.328e-06/0.998, allocations: 0 / 1.023 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.974e-05/0.998, allocations: 14.12 kB / 1.023 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of SimCode: time 3.51e-07/0.998, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01796/1.016, allocations: 2.396 MB / 1.026 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002333/1.016, allocations: 162.9 kB / 1.026 GB, free: 9.859 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.378/2.394, allocations: 0 / 1.026 GB, free: 9.859 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)