Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007739/0.007739, allocations: 98.17 kB / 15.73 MB, free: 6.012 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.001993/0.001993, allocations: 196.9 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002502/0.002502, allocations: 288.1 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.183/1.183, allocations: 178.6 MB / 0.5074 GB, free: 12.72 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002698/0.002698, allocations: 95.84 kB / 0.6943 GB, free: 15.14 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3978, allocations: 89.13 MB / 0.7814 GB, free: 1.133 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate): time 0.002115/0.3999, allocations: 1.497 MB / 0.7829 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.4011, allocations: 0.7358 MB / 0.7836 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.189e-05/0.4012, allocations: 0 / 0.7836 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002228/0.4014, allocations: 130.9 kB / 0.7837 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.063e-05/0.4015, allocations: 72.17 kB / 0.7838 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005684/0.4021, allocations: 186 kB / 0.7839 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.606e-05/0.4022, allocations: 57.2 kB / 0.784 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.517e-05/0.4023, allocations: 10.88 kB / 0.784 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.965e-05/0.4023, allocations: 35.22 kB / 0.784 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.4024, allocations: 80.19 kB / 0.7841 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.4025, allocations: 2.75 kB / 0.7841 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003922/0.4028, allocations: 230.9 kB / 0.7843 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.826e-05/0.4029, allocations: 59.92 kB / 0.7844 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.528e-05/0.403, allocations: 58.02 kB / 0.7845 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003552/0.4034, allocations: 269.9 kB / 0.7847 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.4034, allocations: 4 kB / 0.7847 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4034, allocations: 4 kB / 0.7847 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.4034, allocations: 0 / 0.7847 GB, free: 14.75 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006917/0.4041, allocations: 0.5131 MB / 0.7852 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.4042, allocations: 10.25 kB / 0.7852 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.543e-05/0.4042, allocations: 30.75 kB / 0.7853 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.162e-05/0.4042, allocations: 21.89 kB / 0.7853 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.4045, allocations: 258.7 kB / 0.7855 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.4045, allocations: 4.312 kB / 0.7855 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.4046, allocations: 13.78 kB / 0.7855 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.4048, allocations: 80.03 kB / 0.7856 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.4048, allocations: 0 / 0.7856 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.4048, allocations: 0 / 0.7856 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.4048, allocations: 1 kB / 0.7856 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000222/0.405, allocations: 83.06 kB / 0.7857 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005861/0.4056, allocations: 406.7 kB / 0.7861 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.4058, allocations: 95.48 kB / 0.7862 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.4059, allocations: 49.52 kB / 0.7862 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.766e-05/0.406, allocations: 20.08 kB / 0.7862 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.406, allocations: 31.75 kB / 0.7863 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.406, allocations: 4 kB / 0.7863 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0004424/0.4065, allocations: 179.3 kB / 0.7864 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.4065, allocations: 55.34 kB / 0.7865 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003752/0.4069, allocations: 352.6 kB / 0.7868 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.4069, allocations: 26.89 kB / 0.7869 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.407, allocations: 144.2 kB / 0.787 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.241e-05/0.4071, allocations: 9.828 kB / 0.787 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-05/0.4071, allocations: 26.11 kB / 0.787 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.4073, allocations: 343.8 kB / 0.7874 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.4074, allocations: 90.58 kB / 0.7874 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.4076, allocations: 96.41 kB / 0.7875 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/0.4079, allocations: 207.9 kB / 0.7877 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.4079, allocations: 0 / 0.7877 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003856/0.4083, allocations: 256.8 kB / 0.788 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.4083, allocations: 4.938 kB / 0.788 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.4083, allocations: 3.938 kB / 0.788 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.4084, allocations: 1.438 kB / 0.788 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.723e-05/0.4085, allocations: 9.453 kB / 0.788 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.4085, allocations: 5.109 kB / 0.788 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.464e-05/0.4086, allocations: 24.73 kB / 0.788 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.4086, allocations: 1.312 kB / 0.788 GB, free: 12.27 MB / 0.5606 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 (3): * Single equations (assignments): 2 * Array equations: 1 * Algorithm blocks: 0 * 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.0001254/0.4087, allocations: 143 kB / 0.7882 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/0.4088, allocations: 18.8 kB / 0.7882 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003039/0.4091, allocations: 143.8 kB / 0.7883 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.4091, allocations: 1.156 kB / 0.7883 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.4091, allocations: 3.938 kB / 0.7883 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.4091, allocations: 5.062 kB / 0.7883 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000337/0.4094, allocations: 242.8 kB / 0.7886 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.4095, allocations: 1.594 kB / 0.7886 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.3e-05/0.4096, allocations: 13.89 kB / 0.7886 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.4096, allocations: 0 / 0.7886 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.4096, allocations: 4 kB / 0.7886 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4096, allocations: 1.219 kB / 0.7886 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4096, allocations: 0 / 0.7886 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004403/0.41, allocations: 238.3 kB / 0.7888 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.4102, allocations: 101.2 kB / 0.7889 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.999e-05/0.4102, allocations: 1.156 kB / 0.7889 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.4104, allocations: 7.141 kB / 0.7889 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.4104, allocations: 5.156 kB / 0.7889 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.4104, allocations: 1.188 kB / 0.7889 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003307/0.4108, allocations: 252.6 kB / 0.7892 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4108, allocations: 4.031 kB / 0.7892 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003871/0.4112, allocations: 64.03 kB / 0.7892 GB, free: 11.36 MB / 0.5606 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.000921/0.4121, allocations: 0.8226 MB / 0.79 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003604/0.4125, allocations: 159.2 kB / 0.7902 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4125, allocations: 0 / 0.7902 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.4126, allocations: 49.72 kB / 0.7902 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.4129, allocations: 12.72 kB / 0.7902 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003109/0.4161, allocations: 2.717 MB / 0.7929 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004533/0.4165, allocations: 0.7377 MB / 0.7936 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.025e-05/0.4166, allocations: 20.16 kB / 0.7936 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.57e-05/0.4167, allocations: 56.81 kB / 0.7937 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.4167, allocations: 0 / 0.7937 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2572/0.6739, allocations: 4.293 MB / 0.7979 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.79/9.464, allocations: 7.734 kB / 0.7979 GB, free: 5.922 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Interpolate.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1)