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.005094/0.005094, allocations: 98.16 kB / 15.73 MB, free: 6.062 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.001273/0.001273, allocations: 193.4 kB / 16.67 MB, free: 5.973 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002757/0.002756, allocations: 293.4 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.198/1.198, allocations: 178.6 MB / 0.5074 GB, free: 12.64 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002794/0.002794, allocations: 99.84 kB / 0.6943 GB, free: 15.15 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4311/0.4339, allocations: 89.13 MB / 0.7814 GB, free: 1.141 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate): time 0.002424/0.4364, allocations: 1.494 MB / 0.7828 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.4376, allocations: 0.7328 MB / 0.7836 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.576e-05/0.4377, allocations: 0 / 0.7836 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002133/0.4379, allocations: 127.2 kB / 0.7837 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.438, allocations: 83.47 kB / 0.7838 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005925/0.4386, allocations: 174 kB / 0.7839 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.4387, allocations: 64.45 kB / 0.784 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.426e-05/0.4388, allocations: 6.438 kB / 0.784 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.282e-05/0.4389, allocations: 43.84 kB / 0.784 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.439, allocations: 85.19 kB / 0.7841 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.439, allocations: 3 kB / 0.7841 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003695/0.4394, allocations: 222.3 kB / 0.7843 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.13e-05/0.4395, allocations: 59.08 kB / 0.7844 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.457e-05/0.4395, allocations: 62.94 kB / 0.7845 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003593/0.4399, allocations: 273.4 kB / 0.7847 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4399, allocations: 0 / 0.7847 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4399, allocations: 1.094 kB / 0.7847 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.4399, allocations: 0 / 0.7847 GB, free: 14.76 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.0007001/0.4406, allocations: 0.5173 MB / 0.7852 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.4407, allocations: 8.5 kB / 0.7852 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.18e-05/0.4407, allocations: 36.22 kB / 0.7853 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.365e-05/0.4408, allocations: 21.52 kB / 0.7853 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.441, allocations: 257.5 kB / 0.7855 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.441, allocations: 1.656 kB / 0.7855 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.4411, allocations: 1.531 kB / 0.7855 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.4413, allocations: 83.59 kB / 0.7856 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.4413, allocations: 3.938 kB / 0.7856 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.4413, allocations: 4 kB / 0.7856 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.4413, allocations: 1.312 kB / 0.7856 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.4415, allocations: 87.33 kB / 0.7857 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005327/0.4421, allocations: 402.2 kB / 0.7861 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.4422, allocations: 91.55 kB / 0.7862 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.4423, allocations: 48.7 kB / 0.7862 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.995e-05/0.4424, allocations: 21.8 kB / 0.7862 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.4424, allocations: 35.78 kB / 0.7863 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.4424, allocations: 0 / 0.7863 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0004459/0.4429, allocations: 186.5 kB / 0.7865 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.443, allocations: 51.41 kB / 0.7865 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003621/0.4433, allocations: 352.9 kB / 0.7868 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.4433, allocations: 26.92 kB / 0.7869 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.693e-05/0.4434, allocations: 139.1 kB / 0.787 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.4435, allocations: 5.141 kB / 0.787 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.652e-05/0.4435, allocations: 27.45 kB / 0.787 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.4437, allocations: 338.7 kB / 0.7874 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.4438, allocations: 97.03 kB / 0.7874 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.444, allocations: 103.3 kB / 0.7875 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002956/0.4443, allocations: 203.8 kB / 0.7877 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.4443, allocations: 0 / 0.7877 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004319/0.4447, allocations: 260.5 kB / 0.788 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.4448, allocations: 8.875 kB / 0.788 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4448, allocations: 1.312 kB / 0.788 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.4448, allocations: 0 / 0.788 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.569e-05/0.4449, allocations: 9.953 kB / 0.788 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.4449, allocations: 5.047 kB / 0.788 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.2e-05/0.445, allocations: 16.44 kB / 0.788 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.445, allocations: 1.375 kB / 0.788 GB, free: 12.29 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.0001248/0.4451, allocations: 150.3 kB / 0.7882 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.22e-05/0.4452, allocations: 24.92 kB / 0.7882 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000299/0.4455, allocations: 146.3 kB / 0.7883 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.4455, allocations: 1.125 kB / 0.7883 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4455, allocations: 0 / 0.7883 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.4455, allocations: 0.7812 kB / 0.7883 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.4458, allocations: 247 kB / 0.7886 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4458, allocations: 1.406 kB / 0.7886 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.712e-05/0.4458, allocations: 9.469 kB / 0.7886 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.4459, allocations: 1.562 kB / 0.7886 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.4459, allocations: 3.984 kB / 0.7886 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.4459, allocations: 4 kB / 0.7886 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4459, allocations: 1.094 kB / 0.7886 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003121/0.4462, allocations: 234.3 kB / 0.7888 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.86e-05/0.4463, allocations: 103.9 kB / 0.7889 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.4463, allocations: 5.344 kB / 0.7889 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.591e-05/0.4464, allocations: 7.859 kB / 0.7889 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.4465, allocations: 1.312 kB / 0.7889 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.4465, allocations: 1.438 kB / 0.7889 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002528/0.4467, allocations: 247.6 kB / 0.7892 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4467, allocations: 1.062 kB / 0.7892 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003871/0.4471, allocations: 67.7 kB / 0.7892 GB, free: 11.37 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.0008383/0.448, allocations: 0.826 MB / 0.79 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000343/0.4483, allocations: 155.6 kB / 0.7902 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4483, allocations: 4.031 kB / 0.7902 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.4485, allocations: 46.12 kB / 0.7902 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.4488, allocations: 12.09 kB / 0.7902 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003019/0.4518, allocations: 2.722 MB / 0.7929 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.4522, allocations: 0.7357 MB / 0.7936 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.212e-05/0.4523, allocations: 20.77 kB / 0.7936 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.702e-05/0.4523, allocations: 52.3 kB / 0.7937 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.4523, allocations: 1.125 kB / 0.7937 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0254/0.4778, allocations: 4.296 MB / 0.7979 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.905/8.383, allocations: 6.172 kB / 0.7979 GB, free: 5.93 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)