Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_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.004679/0.00468, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001244/0.001244, allocations: 202.6 kB / 16.68 MB, free: 5.969 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002525/0.002525, allocations: 270.9 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.064/1.064, allocations: 178.6 MB / 0.5074 GB, free: 4.488 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002718/0.002718, allocations: 103.3 kB / 0.6943 GB, free: 3.586 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5363/0.539, allocations: 89.13 MB / 0.7813 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Interpolate): time 0.002712/0.5418, allocations: 1.479 MB / 0.7828 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001359/0.5432, allocations: 0.7802 MB / 0.7835 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.004e-05/0.5432, allocations: 0 / 0.7835 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002629/0.5435, allocations: 136 kB / 0.7837 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006096/0.5441, allocations: 169.7 kB / 0.7838 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.5443, allocations: 81.56 kB / 0.7839 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.5445, allocations: 69.62 kB / 0.784 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.952e-05/0.5445, allocations: 8.094 kB / 0.784 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.735e-05/0.5446, allocations: 38.56 kB / 0.784 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.5447, allocations: 83.14 kB / 0.7841 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.5448, allocations: 2.812 kB / 0.7841 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004064/0.5452, allocations: 221.2 kB / 0.7843 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.5453, allocations: 110.3 kB / 0.7844 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.674e-05/0.5454, allocations: 100.5 kB / 0.7845 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004774/0.5459, allocations: 350.9 kB / 0.7849 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5459, allocations: 0 / 0.7849 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5459, allocations: 0 / 0.7849 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.5459, allocations: 0 / 0.7849 GB, free: 11.88 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.0008713/0.5468, allocations: 0.6303 MB / 0.7855 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.5469, allocations: 9.031 kB / 0.7855 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.184e-05/0.5469, allocations: 35.45 kB / 0.7855 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.223e-05/0.547, allocations: 36.08 kB / 0.7855 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009357/0.5479, allocations: 0.9225 MB / 0.7864 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.5479, allocations: 1.531 kB / 0.7865 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.548, allocations: 1.781 kB / 0.7865 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.5482, allocations: 90.61 kB / 0.7865 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.5482, allocations: 3.938 kB / 0.7865 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.5482, allocations: 0 / 0.7865 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.5482, allocations: 3.984 kB / 0.7865 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002252/0.5484, allocations: 106.2 kB / 0.7866 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007141/0.5492, allocations: 0.5749 MB / 0.7872 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.5494, allocations: 101.4 kB / 0.7873 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.5495, allocations: 60.25 kB / 0.7874 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.729e-05/0.5496, allocations: 26.78 kB / 0.7874 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.5496, allocations: 35.62 kB / 0.7874 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.5496, allocations: 0 / 0.7874 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0005888/0.5502, allocations: 211.4 kB / 0.7876 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.5503, allocations: 52.61 kB / 0.7877 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/0.5517, allocations: 1.21 MB / 0.7889 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.22e-05/0.5517, allocations: 31.33 kB / 0.7889 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.5519, allocations: 177.3 kB / 0.7891 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.5519, allocations: 5.781 kB / 0.7891 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/0.552, allocations: 13.19 kB / 0.7891 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.5522, allocations: 352.9 kB / 0.7894 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.5523, allocations: 50.62 kB / 0.7895 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.5524, allocations: 51.56 kB / 0.7895 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.5526, allocations: 110.9 kB / 0.7896 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5526, allocations: 0 / 0.7896 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002951/0.5529, allocations: 161.9 kB / 0.7898 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.553, allocations: 5.422 kB / 0.7898 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.553, allocations: 0 / 0.7898 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.553, allocations: 1.984 kB / 0.7898 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.983e-05/0.5531, allocations: 16.23 kB / 0.7898 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.5531, allocations: 1.344 kB / 0.7898 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.763e-05/0.5532, allocations: 13.84 kB / 0.7898 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.5532, allocations: 5.641 kB / 0.7898 GB, free: 9.211 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 (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 prepare postOptimizeDAE: time 0.0001545/0.5534, allocations: 165.1 kB / 0.79 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.937e-05/0.5534, allocations: 33.61 kB / 0.79 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003345/0.5538, allocations: 176.5 kB / 0.7902 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.5538, allocations: 0 / 0.7902 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.5538, allocations: 1.969 kB / 0.7902 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.5538, allocations: 0 / 0.7902 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003508/0.5542, allocations: 300.4 kB / 0.7905 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.5542, allocations: 0 / 0.7905 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.782e-05/0.5542, allocations: 10.25 kB / 0.7905 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.5542, allocations: 0 / 0.7905 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.5542, allocations: 0.9375 kB / 0.7905 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.5542, allocations: 1 kB / 0.7905 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.5543, allocations: 11.95 kB / 0.7905 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003477/0.5546, allocations: 265.2 kB / 0.7907 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.5547, allocations: 133.6 kB / 0.7909 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.5548, allocations: 1.953 kB / 0.7909 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.5549, allocations: 6.594 kB / 0.7909 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.5549, allocations: 7.734 kB / 0.7909 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.555, allocations: 0 / 0.7909 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001033/0.556, allocations: 0.9546 MB / 0.7918 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.2e-07/0.556, allocations: 0 / 0.7918 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004618/0.5565, allocations: 68.61 kB / 0.7919 GB, free: 8.164 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.000877/0.5573, allocations: 0.8506 MB / 0.7927 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002911/0.5576, allocations: 106 kB / 0.7928 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5577, allocations: 0 / 0.7928 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.5578, allocations: 49.03 kB / 0.7929 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.5582, allocations: 31.58 kB / 0.7929 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007504/0.5657, allocations: 6.762 MB / 0.7995 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.5661, allocations: 0.7826 MB / 0.8002 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.224e-05/0.5662, allocations: 37.84 kB / 0.8003 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.5664, allocations: 92.97 kB / 0.8004 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of SimCode: time 1.113e-06/0.5664, allocations: 4 kB / 0.8004 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03071/0.5971, allocations: 7.143 MB / 0.8074 GB, free: 472 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.315/8.912, allocations: 12.41 kB / 0.8074 GB, free: 468 kB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.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_Examples_Interpolate.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe 2>&1)