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.004873/0.004873, allocations: 99.91 kB / 15.73 MB, free: 6.004 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.001247/0.001248, allocations: 190.4 kB / 16.67 MB, free: 5.922 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002473/0.002473, allocations: 287.1 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.273/1.273, allocations: 178.5 MB / 0.5074 GB, free: 12.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003025/0.003025, allocations: 95.84 kB / 0.6943 GB, free: 15.16 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4815/0.4845, allocations: 89.12 MB / 0.7813 GB, free: 1.109 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Interpolate): time 0.002576/0.4872, allocations: 1.476 MB / 0.7828 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00155/0.4887, allocations: 0.775 MB / 0.7835 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.59e-05/0.4888, allocations: 0 / 0.7835 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000292/0.4891, allocations: 130.6 kB / 0.7837 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006125/0.4897, allocations: 174.5 kB / 0.7838 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/0.4899, allocations: 83.03 kB / 0.7839 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.4901, allocations: 70.2 kB / 0.784 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.849e-05/0.4902, allocations: 11.77 kB / 0.784 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.097e-05/0.4903, allocations: 38.64 kB / 0.784 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.4904, allocations: 81 kB / 0.7841 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.4904, allocations: 7.062 kB / 0.7841 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004267/0.4909, allocations: 222 kB / 0.7843 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.491, allocations: 110.6 kB / 0.7844 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.4912, allocations: 104.6 kB / 0.7845 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004739/0.4917, allocations: 346.5 kB / 0.7849 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.4917, allocations: 0 / 0.7849 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.936e-06/0.4917, allocations: 1.094 kB / 0.7849 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.4917, allocations: 0 / 0.7849 GB, free: 14.59 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.0009629/0.4927, allocations: 0.6228 MB / 0.7855 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.4927, allocations: 9.656 kB / 0.7855 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.957e-05/0.4928, allocations: 30.75 kB / 0.7855 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.022e-05/0.4928, allocations: 39.94 kB / 0.7855 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.4939, allocations: 0.9185 MB / 0.7864 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.4939, allocations: 384 / 0.7864 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.4939, allocations: 5.469 kB / 0.7864 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/0.4942, allocations: 90.67 kB / 0.7865 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.4942, allocations: 0 / 0.7865 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.4942, allocations: 4 kB / 0.7865 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.4942, allocations: 1.531 kB / 0.7865 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002475/0.4945, allocations: 99.78 kB / 0.7866 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009085/0.4954, allocations: 0.5791 MB / 0.7872 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.4956, allocations: 104.8 kB / 0.7873 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/0.4958, allocations: 55.52 kB / 0.7874 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.314e-05/0.4959, allocations: 26.3 kB / 0.7874 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.4959, allocations: 36 kB / 0.7874 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/0.4959, allocations: 0 / 0.7874 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0005804/0.4965, allocations: 208.4 kB / 0.7876 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.4966, allocations: 55.41 kB / 0.7877 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001481/0.4981, allocations: 1.213 MB / 0.7888 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.4981, allocations: 29.83 kB / 0.7889 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.4983, allocations: 179.8 kB / 0.789 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.4983, allocations: 9.406 kB / 0.7891 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.085e-05/0.4983, allocations: 11.16 kB / 0.7891 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002062/0.4985, allocations: 355.2 kB / 0.7894 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.4987, allocations: 49.88 kB / 0.7895 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.4988, allocations: 50.5 kB / 0.7895 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/0.499, allocations: 108.5 kB / 0.7896 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.499, allocations: 0 / 0.7896 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003326/0.4994, allocations: 171.8 kB / 0.7898 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.4994, allocations: 4.594 kB / 0.7898 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.567e-06/0.4994, allocations: 1.344 kB / 0.7898 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.4995, allocations: 3.938 kB / 0.7898 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.618e-05/0.4996, allocations: 13.55 kB / 0.7898 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.4996, allocations: 1.5 kB / 0.7898 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.211e-05/0.4997, allocations: 15.86 kB / 0.7898 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.4997, allocations: 1.094 kB / 0.7898 GB, free: 11.42 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.0001829/0.4999, allocations: 165.1 kB / 0.79 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.641e-05/0.4999, allocations: 34.67 kB / 0.79 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003768/0.5003, allocations: 173.8 kB / 0.7902 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.5003, allocations: 1.156 kB / 0.7902 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.5003, allocations: 0 / 0.7902 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.5004, allocations: 0 / 0.7902 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003816/0.5007, allocations: 298.4 kB / 0.7905 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5008, allocations: 0 / 0.7905 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.185e-05/0.5008, allocations: 14.8 kB / 0.7905 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.5008, allocations: 0 / 0.7905 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.5008, allocations: 1.156 kB / 0.7905 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.5008, allocations: 0 / 0.7905 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.5009, allocations: 4.031 kB / 0.7905 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003979/0.5013, allocations: 262.2 kB / 0.7907 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.5014, allocations: 129.8 kB / 0.7908 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.5014, allocations: 0 / 0.7908 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.5016, allocations: 9.453 kB / 0.7909 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.5016, allocations: 5.469 kB / 0.7909 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.5016, allocations: 0 / 0.7909 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001058/0.5027, allocations: 0.9551 MB / 0.7918 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5027, allocations: 0 / 0.7918 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004312/0.5031, allocations: 66.25 kB / 0.7919 GB, free: 10.16 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.0009575/0.5041, allocations: 0.8601 MB / 0.7927 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002934/0.5044, allocations: 103.6 kB / 0.7928 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5044, allocations: 0 / 0.7928 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.5045, allocations: 56.17 kB / 0.7928 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.5049, allocations: 32.75 kB / 0.7929 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008189/0.5131, allocations: 6.75 MB / 0.7995 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005071/0.5137, allocations: 0.7805 MB / 0.8002 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.276e-05/0.5138, allocations: 42.92 kB / 0.8003 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.5139, allocations: 95.41 kB / 0.8004 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of SimCode: time 7.91e-07/0.5139, allocations: 4 kB / 0.8004 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03244/0.5464, allocations: 7.139 MB / 0.8073 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.278/8.824, allocations: 6.031 kB / 0.8073 GB, free: 13.75 MB / 0.5762 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)