Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_CubicHermite",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.001225/0.001225, allocations: 105.4 kB / 15.7 MB, free: 28 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.001194/0.001194, allocations: 194.2 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.464/1.464, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.678/1.678, allocations: 292.3 MB / 0.549 GB, free: 12.71 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.001371/0.001372, allocations: 67.72 kB / 0.6718 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2023, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.00176/0.2041, allocations: 0.6209 MB / 0.7843 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001665/0.2058, allocations: 1.417 MB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.452e-05/0.2058, allocations: 0 / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.971e-05/0.2059, allocations: 3.938 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.62e-05/0.2059, allocations: 4 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006198/0.2066, allocations: 182.6 kB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.2067, allocations: 51.91 kB / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.512e-05/0.2067, allocations: 4.266 kB / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.382e-05/0.2068, allocations: 19.98 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.367e-05/0.2068, allocations: 27.91 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.2068, allocations: 4 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002947/0.2071, allocations: 195.7 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.879e-05/0.2072, allocations: 15.92 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.051e-05/0.2072, allocations: 23.86 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.2075, allocations: 199.5 kB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2075, allocations: 0 / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2075, allocations: 0 / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2075, allocations: 0 / 0.7863 GB, free: 10.46 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000396/0.2079, allocations: 434.7 kB / 0.7867 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.208, allocations: 8.031 kB / 0.7868 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.653e-05/0.208, allocations: 34.75 kB / 0.7868 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.112e-05/0.208, allocations: 8.844 kB / 0.7868 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.2082, allocations: 176.2 kB / 0.787 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.2082, allocations: 4.375 kB / 0.787 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.2082, allocations: 8.359 kB / 0.787 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.2084, allocations: 97.77 kB / 0.7871 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.2084, allocations: 0 / 0.7871 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.2084, allocations: 0 / 0.7871 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.2084, allocations: 0 / 0.7871 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.367e-05/0.2085, allocations: 63.89 kB / 0.7871 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001563/0.2086, allocations: 181.5 kB / 0.7873 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.2088, allocations: 82.53 kB / 0.7874 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.849e-05/0.2089, allocations: 72.89 kB / 0.7875 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-06/0.2089, allocations: 3.938 kB / 0.7875 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.2089, allocations: 38.5 kB / 0.7875 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.2089, allocations: 0 / 0.7875 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003563/0.2093, allocations: 251.2 kB / 0.7877 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.2093, allocations: 85.09 kB / 0.7878 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.2094, allocations: 148.6 kB / 0.788 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.2095, allocations: 29.73 kB / 0.788 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.699e-05/0.2095, allocations: 92.12 kB / 0.7881 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.2095, allocations: 7.812 kB / 0.7881 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.891e-05/0.2096, allocations: 29.7 kB / 0.7881 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.2097, allocations: 318.8 kB / 0.7884 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.2098, allocations: 103.9 kB / 0.7885 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.21, allocations: 103.9 kB / 0.7886 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/0.2102, allocations: 277.8 kB / 0.7889 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.2102, allocations: 4.031 kB / 0.7889 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003245/0.2105, allocations: 328.7 kB / 0.7892 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.479e-05/0.2106, allocations: 71.38 kB / 0.7893 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2106, allocations: 0 / 0.7893 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.2106, allocations: 0 / 0.7893 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-07/0.2106, allocations: 0 / 0.7893 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.2107, allocations: 0 / 0.7893 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.2108, allocations: 11.94 kB / 0.7893 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.2108, allocations: 8 kB / 0.7893 GB, free: 7.145 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.916e-05/0.2109, allocations: 147.6 kB / 0.7894 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.944e-05/0.211, allocations: 11.84 kB / 0.7894 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.96e-05/0.211, allocations: 12.23 kB / 0.7894 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.211, allocations: 0 / 0.7894 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.211, allocations: 0 / 0.7894 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.211, allocations: 0 / 0.7894 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.2111, allocations: 177.6 kB / 0.7896 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2111, allocations: 3.938 kB / 0.7896 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.2111, allocations: 0 / 0.7896 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2112, allocations: 0 / 0.7896 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.2112, allocations: 4 kB / 0.7896 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.2112, allocations: 4 kB / 0.7896 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2112, allocations: 0 / 0.7896 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.2114, allocations: 238.5 kB / 0.7899 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.12e-05/0.2115, allocations: 84.95 kB / 0.7899 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.2115, allocations: 4 kB / 0.7899 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.443e-05/0.2116, allocations: 144 / 0.7899 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.2116, allocations: 11.97 kB / 0.7899 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-06/0.2116, allocations: 8.031 kB / 0.79 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.462e-05/0.2117, allocations: 107.2 kB / 0.7901 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2117, allocations: 0 / 0.7901 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002832/0.212, allocations: 64 kB / 0.7901 GB, free: 6.168 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: 1 (i) * Number of discrete states: 1 (i) * 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.0007043/0.2127, allocations: 0.8208 MB / 0.7909 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004005/0.2131, allocations: 374.7 kB / 0.7913 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2131, allocations: 0 / 0.7913 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.2133, allocations: 139.3 kB / 0.7914 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.2134, allocations: 6.812 kB / 0.7914 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002153/0.2156, allocations: 2.141 MB / 0.7935 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.2159, allocations: 0.6924 MB / 0.7942 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.492e-06/0.2159, allocations: 3.938 kB / 0.7942 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.146e-05/0.216, allocations: 19.42 kB / 0.7942 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.216, allocations: 0 / 0.7942 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01907/0.235, allocations: 3.27 MB / 0.7974 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.536/7.771, allocations: 10.17 kB / 0.7974 GB, free: 14.61 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)