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.008574/0.008574, allocations: 101.1 kB / 15.73 MB, free: 6.016 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.001855/0.001855, allocations: 193 kB / 16.67 MB, free: 5.934 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00248/0.00248, allocations: 292.3 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.23/1.23, allocations: 178.6 MB / 0.5074 GB, free: 12.66 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002814/0.002814, allocations: 103.8 kB / 0.6944 GB, free: 15.15 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.427/0.4298, allocations: 89.13 MB / 0.7814 GB, free: 1.125 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate): time 0.002241/0.4321, allocations: 1.497 MB / 0.7829 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001198/0.4333, allocations: 0.7319 MB / 0.7836 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.007e-05/0.4334, allocations: 4.938 kB / 0.7836 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002175/0.4336, allocations: 130.8 kB / 0.7837 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.064e-05/0.4337, allocations: 72.02 kB / 0.7838 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005939/0.4343, allocations: 188.9 kB / 0.7839 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.969e-05/0.4344, allocations: 56.2 kB / 0.784 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.777e-05/0.4345, allocations: 7.016 kB / 0.784 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.886e-05/0.4346, allocations: 38.8 kB / 0.784 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.4347, allocations: 80.94 kB / 0.7841 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.4347, allocations: 2.688 kB / 0.7841 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003755/0.4351, allocations: 222.1 kB / 0.7843 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.326e-05/0.4352, allocations: 64.36 kB / 0.7844 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.884e-05/0.4352, allocations: 59.14 kB / 0.7845 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000364/0.4356, allocations: 277.4 kB / 0.7847 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.4356, allocations: 1.375 kB / 0.7847 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4356, allocations: 0 / 0.7847 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.4356, allocations: 0 / 0.7847 GB, free: 14.74 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.0006639/0.4363, allocations: 0.5131 MB / 0.7852 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.4364, allocations: 10.09 kB / 0.7852 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.067e-05/0.4364, allocations: 30.75 kB / 0.7853 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.288e-05/0.4364, allocations: 24.8 kB / 0.7853 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.4367, allocations: 263.2 kB / 0.7855 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.623e-06/0.4367, allocations: 4.312 kB / 0.7855 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.4367, allocations: 2.656 kB / 0.7855 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.4369, allocations: 82.86 kB / 0.7856 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.4369, allocations: 3.984 kB / 0.7856 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.437, allocations: 1.031 kB / 0.7856 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.437, allocations: 0 / 0.7856 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000203/0.4372, allocations: 87.97 kB / 0.7857 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005294/0.4377, allocations: 393.7 kB / 0.7861 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.4379, allocations: 100.4 kB / 0.7862 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.438, allocations: 45.02 kB / 0.7862 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.368e-05/0.438, allocations: 24.23 kB / 0.7862 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.4381, allocations: 36.06 kB / 0.7863 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.4381, allocations: 0 / 0.7863 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0004182/0.4385, allocations: 174.7 kB / 0.7864 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.4386, allocations: 51.41 kB / 0.7865 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000363/0.4389, allocations: 362 kB / 0.7868 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.4389, allocations: 25.7 kB / 0.7869 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.4391, allocations: 140.3 kB / 0.787 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.201e-05/0.4391, allocations: 5.078 kB / 0.787 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-05/0.4391, allocations: 30.8 kB / 0.787 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.4393, allocations: 342.5 kB / 0.7874 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.4394, allocations: 92.61 kB / 0.7874 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.4396, allocations: 99.56 kB / 0.7875 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002899/0.4399, allocations: 207.5 kB / 0.7877 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.4399, allocations: 1.25 kB / 0.7877 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003627/0.4403, allocations: 251.5 kB / 0.788 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.4403, allocations: 5.406 kB / 0.788 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4403, allocations: 1.312 kB / 0.788 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.4403, allocations: 0 / 0.788 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.413e-05/0.4404, allocations: 13.77 kB / 0.788 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.4404, allocations: 4.781 kB / 0.788 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.888e-05/0.4405, allocations: 17.44 kB / 0.788 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.4405, allocations: 5.141 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.0001164/0.4406, allocations: 149.8 kB / 0.7882 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.871e-05/0.4407, allocations: 20.3 kB / 0.7882 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000289/0.441, allocations: 143.3 kB / 0.7883 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.441, allocations: 5.094 kB / 0.7883 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.441, allocations: 0 / 0.7883 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.441, allocations: 1.094 kB / 0.7883 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.4412, allocations: 243.6 kB / 0.7886 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4413, allocations: 0 / 0.7886 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.75e-05/0.4413, allocations: 10.14 kB / 0.7886 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.4413, allocations: 0 / 0.7886 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.4413, allocations: 4.812 kB / 0.7886 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.4414, allocations: 0.625 kB / 0.7886 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4414, allocations: 7.969 kB / 0.7886 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003013/0.4417, allocations: 234.6 kB / 0.7888 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.732e-05/0.4418, allocations: 101.4 kB / 0.7889 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.4418, allocations: 0 / 0.7889 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.585e-05/0.4419, allocations: 7.422 kB / 0.7889 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.4419, allocations: 10.19 kB / 0.7889 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.4419, allocations: 1.219 kB / 0.7889 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002443/0.4422, allocations: 256.4 kB / 0.7892 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4422, allocations: 0 / 0.7892 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003496/0.4425, allocations: 60.41 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.0008075/0.4433, allocations: 0.8259 MB / 0.79 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003222/0.4437, allocations: 158.9 kB / 0.7902 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4437, allocations: 0.875 kB / 0.7902 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.4438, allocations: 42 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.0002864/0.4441, allocations: 21.03 kB / 0.7902 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002995/0.4471, allocations: 2.721 MB / 0.7929 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.4475, allocations: 0.7401 MB / 0.7936 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.138e-05/0.4475, allocations: 15.8 kB / 0.7936 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.57e-05/0.4476, allocations: 53.97 kB / 0.7937 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of SimCode: time 3.81e-07/0.4476, allocations: 0 / 0.7937 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/0.4726, allocations: 4.295 MB / 0.7979 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.049/8.522, allocations: 4.984 kB / 0.7979 GB, free: 5.918 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate_res.csv --start-time 0 --stop-time 500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Interpolate.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1)