Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.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.SmoothInterpolation,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothInterpolation",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.005335/0.005335, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001268/0.001269, allocations: 197.7 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.391/1.391, 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.002428/0.002428, allocations: 290.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.194/1.194, allocations: 178.5 MB / 0.5074 GB, free: 12.7 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00266/0.00266, allocations: 99.84 kB / 0.6943 GB, free: 15.15 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.4008, allocations: 89.14 MB / 0.7814 GB, free: 1.121 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001588/0.4024, allocations: 0.6131 MB / 0.782 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001917/0.4043, allocations: 1.433 MB / 0.7834 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.94e-05/0.4044, allocations: 3.938 kB / 0.7834 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.868e-05/0.4044, allocations: 13.16 kB / 0.7834 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.657e-05/0.4045, allocations: 1.156 kB / 0.7834 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007199/0.4052, allocations: 204.4 kB / 0.7836 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.672e-05/0.4053, allocations: 36.31 kB / 0.7836 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.107e-05/0.4054, allocations: 9.734 kB / 0.7836 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.953e-05/0.4054, allocations: 11.42 kB / 0.7837 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.596e-05/0.4055, allocations: 29 kB / 0.7837 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.4055, allocations: 1.344 kB / 0.7837 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004191/0.4059, allocations: 248.8 kB / 0.7839 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.258e-05/0.406, allocations: 14.83 kB / 0.7839 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.974e-05/0.406, allocations: 11.8 kB / 0.7839 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003285/0.4064, allocations: 214.6 kB / 0.7842 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4064, allocations: 1.375 kB / 0.7842 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4064, allocations: 0 / 0.7842 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.4064, allocations: 0 / 0.7842 GB, free: 15.07 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004715/0.4069, allocations: 411.8 kB / 0.7845 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.4069, allocations: 9.875 kB / 0.7846 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.564e-05/0.407, allocations: 32.38 kB / 0.7846 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.407, allocations: 8.516 kB / 0.7846 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.4072, allocations: 174.4 kB / 0.7848 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.4072, allocations: 1.719 kB / 0.7848 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.4072, allocations: 3.281 kB / 0.7848 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.4074, allocations: 74.25 kB / 0.7848 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.4074, allocations: 1.188 kB / 0.7848 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.4074, allocations: 5.016 kB / 0.7848 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.4074, allocations: 11.98 kB / 0.7849 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.18e-05/0.4075, allocations: 32.67 kB / 0.7849 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000163/0.4077, allocations: 164.5 kB / 0.785 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.754e-05/0.4078, allocations: 68.67 kB / 0.7851 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.6e-05/0.4078, allocations: 49.48 kB / 0.7852 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.4078, allocations: 0 / 0.7852 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.4079, allocations: 39.69 kB / 0.7852 GB, free: 14 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 9.21e-07/0.4079, allocations: 4 kB / 0.7852 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0003256/0.4082, allocations: 189.5 kB / 0.7854 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.4083, allocations: 79.89 kB / 0.7855 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.265e-05/0.4084, allocations: 114.8 kB / 0.7856 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.4084, allocations: 26.92 kB / 0.7856 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.931e-05/0.4085, allocations: 89.31 kB / 0.7857 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.4085, allocations: 23.38 kB / 0.7857 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.5e-05/0.4086, allocations: 25.3 kB / 0.7857 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.4087, allocations: 325.4 kB / 0.786 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.582e-05/0.4088, allocations: 32.44 kB / 0.7861 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.966e-05/0.4088, allocations: 36.78 kB / 0.7861 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.409, allocations: 139.1 kB / 0.7862 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.409, allocations: 0 / 0.7862 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001955/0.4092, allocations: 158.7 kB / 0.7864 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.104e-05/0.4092, allocations: 39.84 kB / 0.7864 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.4092, allocations: 1.094 kB / 0.7864 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.4093, allocations: 0 / 0.7864 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.4093, allocations: 4.062 kB / 0.7864 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.4093, allocations: 1.188 kB / 0.7864 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.4094, allocations: 13.75 kB / 0.7864 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.4094, allocations: 4.531 kB / 0.7864 GB, free: 12.93 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001177/0.4095, allocations: 148.6 kB / 0.7866 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.859e-05/0.4096, allocations: 8.469 kB / 0.7866 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.511e-05/0.4096, allocations: 9.547 kB / 0.7866 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.4096, allocations: 1.094 kB / 0.7866 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4096, allocations: 0 / 0.7866 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.4096, allocations: 5.094 kB / 0.7866 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.4097, allocations: 165.6 kB / 0.7868 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.4098, allocations: 0 / 0.7868 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.365e-06/0.4098, allocations: 5.344 kB / 0.7868 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.4098, allocations: 0 / 0.7868 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.4098, allocations: 11.45 kB / 0.7868 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.4098, allocations: 0 / 0.7868 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4098, allocations: 0 / 0.7868 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.4101, allocations: 200.2 kB / 0.787 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.144e-05/0.4101, allocations: 94 kB / 0.7871 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.4102, allocations: 2.25 kB / 0.7871 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.32e-05/0.4102, allocations: 6.25 kB / 0.7871 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.673e-05/0.4102, allocations: 9.203 kB / 0.7871 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.4102, allocations: 5.375 kB / 0.7871 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.138e-05/0.4103, allocations: 91.92 kB / 0.7872 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4103, allocations: 0 / 0.7872 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003159/0.4106, allocations: 69.59 kB / 0.7872 GB, free: 12.2 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0007702/0.4114, allocations: 0.7904 MB / 0.788 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002835/0.4117, allocations: 204 kB / 0.7882 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4117, allocations: 0 / 0.7882 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.4119, allocations: 153.3 kB / 0.7883 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/0.412, allocations: 8.75 kB / 0.7884 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004427/0.4125, allocations: 222.3 kB / 0.7886 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.4128, allocations: 0.6869 MB / 0.7892 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.739e-06/0.4128, allocations: 0 / 0.7892 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.268e-05/0.4128, allocations: 12.59 kB / 0.7893 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of SimCode: time 2.1e-07/0.4128, allocations: 0 / 0.7893 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02273/0.4355, allocations: 3.121 MB / 0.7923 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.727/8.162, allocations: 14.16 kB / 0.7923 GB, free: 8.746 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)