Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_8_Buildings_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.00117/0.00117, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 194.6 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.669/1.669, allocations: 292.3 MB / 0.549 GB, free: 12.77 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 75.28 kB / 0.6718 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2306, allocations: 114.6 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.002127/0.2327, allocations: 0.617 MB / 0.7843 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002025/0.2348, allocations: 1.475 MB / 0.7857 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.775e-05/0.2349, allocations: 0 / 0.7857 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.044e-05/0.2349, allocations: 3.938 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.443e-05/0.235, allocations: 3.984 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006974/0.2357, allocations: 215.5 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.844e-05/0.2357, allocations: 39.91 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.917e-05/0.2358, allocations: 288 / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.872e-05/0.2358, allocations: 11.98 kB / 0.786 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.022e-05/0.2359, allocations: 23.91 kB / 0.786 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.2359, allocations: 4 kB / 0.786 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000449/0.2364, allocations: 247.6 kB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.888e-05/0.2364, allocations: 11.94 kB / 0.7862 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.393e-05/0.2364, allocations: 15.91 kB / 0.7862 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000334/0.2368, allocations: 215.5 kB / 0.7864 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2368, allocations: 0 / 0.7864 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2368, allocations: 4 kB / 0.7865 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.2368, allocations: 0 / 0.7865 GB, free: 10.37 MB / 0.6075 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.0004793/0.2373, allocations: 409 kB / 0.7868 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.2373, allocations: 12.03 kB / 0.7869 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.076e-05/0.2374, allocations: 30.75 kB / 0.7869 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.081e-05/0.2374, allocations: 4.938 kB / 0.7869 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.2375, allocations: 176.2 kB / 0.7871 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.2376, allocations: 4.359 kB / 0.7871 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.2376, allocations: 4.375 kB / 0.7871 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.2377, allocations: 77.78 kB / 0.7871 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.2377, allocations: 0 / 0.7871 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/0.2378, allocations: 0 / 0.7871 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.2378, allocations: 0 / 0.7871 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.981e-05/0.2378, allocations: 35.98 kB / 0.7872 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001465/0.238, allocations: 157.7 kB / 0.7873 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.515e-05/0.2381, allocations: 70.56 kB / 0.7874 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.567e-05/0.2382, allocations: 48.94 kB / 0.7874 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.841e-06/0.2382, allocations: 4 kB / 0.7874 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.2382, allocations: 34.5 kB / 0.7875 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.2382, allocations: 0 / 0.7875 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002938/0.2385, allocations: 199.1 kB / 0.7877 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.2386, allocations: 77.11 kB / 0.7877 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.232e-05/0.2386, allocations: 122 kB / 0.7879 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.2387, allocations: 29.69 kB / 0.7879 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.647e-05/0.2387, allocations: 88.17 kB / 0.788 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/0.2387, allocations: 19.66 kB / 0.788 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/0.2388, allocations: 25.7 kB / 0.788 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.2389, allocations: 318.8 kB / 0.7883 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.229e-05/0.239, allocations: 31.97 kB / 0.7883 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.491e-05/0.239, allocations: 35.97 kB / 0.7884 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.2392, allocations: 140.2 kB / 0.7885 GB, free: 8 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2392, allocations: 0 / 0.7885 GB, free: 8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001754/0.2393, allocations: 163.1 kB / 0.7887 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.444e-05/0.2394, allocations: 37.77 kB / 0.7887 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.2395, allocations: 0 / 0.7887 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.2395, allocations: 0 / 0.7887 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.184e-06/0.2395, allocations: 3.984 kB / 0.7887 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.2395, allocations: 0 / 0.7887 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.2396, allocations: 8 kB / 0.7887 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.2396, allocations: 12 kB / 0.7887 GB, free: 7.762 MB / 0.6075 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 9.391e-05/0.2397, allocations: 148.2 kB / 0.7889 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.86e-05/0.2398, allocations: 11.92 kB / 0.7889 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.18e-05/0.2398, allocations: 8.375 kB / 0.7889 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.2398, allocations: 4 kB / 0.7889 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.2398, allocations: 3.938 kB / 0.7889 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.2398, allocations: 0 / 0.7889 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.24, allocations: 169.5 kB / 0.7891 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.24, allocations: 0 / 0.7891 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.096e-06/0.24, allocations: 7.922 kB / 0.7891 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.24, allocations: 0 / 0.7891 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.24, allocations: 8 kB / 0.7891 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.24, allocations: 0 / 0.7891 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.24, allocations: 0 / 0.7891 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002815/0.2403, allocations: 198.7 kB / 0.7893 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-05/0.2404, allocations: 92.89 kB / 0.7894 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.2404, allocations: 0 / 0.7894 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.624e-05/0.2404, allocations: 11.98 kB / 0.7894 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.967e-05/0.2404, allocations: 0 / 0.7894 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.2405, allocations: 7.938 kB / 0.7894 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.954e-05/0.2405, allocations: 95.27 kB / 0.7895 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2405, allocations: 4.031 kB / 0.7895 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003383/0.2409, allocations: 71.98 kB / 0.7895 GB, free: 6.828 MB / 0.6075 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.0007552/0.2416, allocations: 0.7826 MB / 0.7903 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002526/0.2419, allocations: 199.2 kB / 0.7905 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.2419, allocations: 96 / 0.7905 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.242, allocations: 159.3 kB / 0.7906 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.2422, allocations: 7.984 kB / 0.7906 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004656/0.2427, allocations: 227.5 kB / 0.7909 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.2429, allocations: 0.6846 MB / 0.7915 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.28e-06/0.2429, allocations: 0 / 0.7915 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.366e-05/0.243, allocations: 11.44 kB / 0.7915 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.243, allocations: 0 / 0.7915 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01924/0.2622, allocations: 3.093 MB / 0.7946 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.321/7.584, allocations: 10.28 kB / 0.7946 GB, free: 1.652 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)