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.403/1.403, allocations: 251.5 MB / 266.7 MB, free: 11.07 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.0009288/0.0009288, allocations: 174.5 kB / 325.8 MB, free: 2.715 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.627/1.627, allocations: 205 MB / 0.576 GB, free: 20.98 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.0008724/0.0008725, allocations: 96.62 kB / 0.6797 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003616, allocations: 10.19 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2383, allocations: 105.4 MB / 0.8962 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0007135/0.239, allocations: 366.9 kB / 0.8966 GB, free: 67.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001697/0.2408, allocations: 1.519 MB / 0.898 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.31e-05/0.2408, allocations: 0 / 0.898 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.685e-05/0.2409, allocations: 3.938 kB / 0.898 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.847e-05/0.2409, allocations: 3.984 kB / 0.898 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005025/0.2414, allocations: 163.7 kB / 0.8982 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.168e-05/0.2415, allocations: 31.97 kB / 0.8982 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.286e-05/0.2415, allocations: 4 kB / 0.8982 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.839e-05/0.2416, allocations: 15.98 kB / 0.8983 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.674e-05/0.2416, allocations: 19.92 kB / 0.8983 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.2416, allocations: 4 kB / 0.8983 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002908/0.2419, allocations: 239.6 kB / 0.8985 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.739e-05/0.242, allocations: 15.92 kB / 0.8985 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.688e-05/0.242, allocations: 11.94 kB / 0.8985 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.2422, allocations: 215.5 kB / 0.8987 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.2423, allocations: 0 / 0.8987 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2423, allocations: 0 / 0.8987 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.2423, allocations: 4 kB / 0.8987 GB, free: 65.5 MB / 0.6042 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.0002651/0.2425, allocations: 389.2 kB / 0.8991 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.2426, allocations: 8.031 kB / 0.8991 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.489e-05/0.2426, allocations: 38.69 kB / 0.8992 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.731e-05/0.2427, allocations: 0.9375 kB / 0.8992 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.683e-05/0.2427, allocations: 188.2 kB / 0.8993 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.2428, allocations: 384 / 0.8993 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.2428, allocations: 8.312 kB / 0.8993 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.2429, allocations: 73.78 kB / 0.8994 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.2429, allocations: 4 kB / 0.8994 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.577e-06/0.2429, allocations: 4 kB / 0.8994 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.2429, allocations: 0 / 0.8994 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.934e-05/0.243, allocations: 39.91 kB / 0.8995 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.678e-05/0.2431, allocations: 157.7 kB / 0.8996 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.499e-05/0.2432, allocations: 58.55 kB / 0.8997 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.899e-05/0.2433, allocations: 56.8 kB / 0.8997 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.133e-06/0.2433, allocations: 0 / 0.8997 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/0.2433, allocations: 42.5 kB / 0.8998 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 8.61e-07/0.2433, allocations: 0 / 0.8998 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0002464/0.2435, allocations: 187.3 kB / 0.8999 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.2436, allocations: 85.11 kB / 0.9 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.776e-05/0.2436, allocations: 117.8 kB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.756e-06/0.2437, allocations: 25.7 kB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.607e-05/0.2437, allocations: 88.14 kB / 0.9002 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.2437, allocations: 19.66 kB / 0.9003 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.139e-05/0.2438, allocations: 17.73 kB / 0.9003 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.525e-05/0.2438, allocations: 318.8 kB / 0.9006 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.378e-05/0.2439, allocations: 35.97 kB / 0.9006 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.689e-05/0.2439, allocations: 35.97 kB / 0.9007 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.846e-05/0.244, allocations: 140.2 kB / 0.9008 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.244, allocations: 0 / 0.9008 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001364/0.2442, allocations: 155.1 kB / 0.9009 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.2442, allocations: 44.34 kB / 0.901 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.2442, allocations: 0 / 0.901 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.2442, allocations: 4.062 kB / 0.901 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.2442, allocations: 0 / 0.901 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.2442, allocations: 0 / 0.901 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.753e-05/0.2443, allocations: 7.984 kB / 0.901 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.2444, allocations: 8 kB / 0.901 GB, free: 62.91 MB / 0.6042 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 6.618e-05/0.2444, allocations: 143.5 kB / 0.9011 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.385e-05/0.2444, allocations: 11.84 kB / 0.9011 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.125e-05/0.2445, allocations: 12.36 kB / 0.9012 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2445, allocations: 4 kB / 0.9012 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2445, allocations: 4 kB / 0.9012 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.2445, allocations: 0 / 0.9012 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.32e-05/0.2446, allocations: 165.6 kB / 0.9013 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.2446, allocations: 0 / 0.9013 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.694e-06/0.2446, allocations: 7.938 kB / 0.9013 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.2446, allocations: 0 / 0.9013 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.2446, allocations: 11.92 kB / 0.9013 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2446, allocations: 0 / 0.9013 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2446, allocations: 3.938 kB / 0.9013 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/0.2448, allocations: 203.3 kB / 0.9015 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.971e-05/0.2448, allocations: 88.95 kB / 0.9016 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.2449, allocations: 0 / 0.9016 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.14e-05/0.2449, allocations: 8 kB / 0.9016 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.903e-05/0.2449, allocations: 3.984 kB / 0.9016 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.2449, allocations: 4 kB / 0.9016 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.828e-05/0.245, allocations: 99.25 kB / 0.9017 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.245, allocations: 0 / 0.9017 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002471/0.2452, allocations: 72 kB / 0.9018 GB, free: 61.98 MB / 0.6042 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.0005236/0.2458, allocations: 0.7935 MB / 0.9026 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002422/0.246, allocations: 195.3 kB / 0.9028 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.246, allocations: 4 kB / 0.9028 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.664e-05/0.2461, allocations: 151.3 kB / 0.9029 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.2463, allocations: 12.16 kB / 0.9029 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004169/0.2467, allocations: 228.3 kB / 0.9031 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001449/0.2469, allocations: 0.6848 MB / 0.9038 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.809e-06/0.2469, allocations: 0 / 0.9038 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.282e-05/0.2469, allocations: 15.42 kB / 0.9038 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2469, allocations: 0 / 0.9038 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01336/0.2603, allocations: 2.877 MB / 0.9066 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001387/0.2605, allocations: 227.9 kB / 0.9069 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.687/1.947, allocations: 0 / 0.9069 GB, free: 56.82 MB / 0.6042 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)