Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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.QuinticHermite,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",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.001269/0.001269, allocations: 108 kB / 15.61 MB, free: 152 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.001283/0.001284, allocations: 195.1 kB / 16.53 MB, free: 6.664 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.466/1.466, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.864/1.864, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001428/0.001428, allocations: 70.69 kB / 0.6716 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.253, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.00185/0.2549, allocations: 0.6329 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004505/0.2554, allocations: 203.1 kB / 0.7843 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.902e-05/0.2555, allocations: 0 / 0.7843 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.689e-05/0.2555, allocations: 0 / 0.7843 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001772/0.2557, allocations: 15.92 kB / 0.7843 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001864/0.2559, allocations: 71.77 kB / 0.7844 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.548e-05/0.2559, allocations: 31.89 kB / 0.7844 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.372e-05/0.256, allocations: 4 kB / 0.7844 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.304e-05/0.256, allocations: 11.94 kB / 0.7844 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.74e-05/0.2561, allocations: 23.91 kB / 0.7844 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.2561, allocations: 4 kB / 0.7845 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/0.2563, allocations: 111.7 kB / 0.7846 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.489e-05/0.2563, allocations: 7.922 kB / 0.7846 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.659e-05/0.2563, allocations: 15.92 kB / 0.7846 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.2565, allocations: 107.7 kB / 0.7847 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2565, allocations: 0 / 0.7847 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.246e-06/0.2565, allocations: 0 / 0.7847 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.2566, allocations: 7.938 kB / 0.7847 GB, free: 12.14 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005554/0.2571, allocations: 371.6 kB / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.2572, allocations: 12.03 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.677e-05/0.2572, allocations: 30.75 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.158e-05/0.2573, allocations: 4.938 kB / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.2574, allocations: 176.3 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.2574, allocations: 4.375 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.2574, allocations: 4.375 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.2576, allocations: 54.17 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.2576, allocations: 3.938 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.2576, allocations: 4 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.2576, allocations: 0 / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.2578, allocations: 39.95 kB / 0.7854 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002868/0.2581, allocations: 248.9 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.2583, allocations: 74.41 kB / 0.7857 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.131e-05/0.2584, allocations: 24.94 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.2584, allocations: 0 / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.2584, allocations: 30.56 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.2584, allocations: 4 kB / 0.7857 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.02756/0.286, allocations: 1.613 MB / 0.7873 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.2861, allocations: 51.41 kB / 0.7874 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.2862, allocations: 117.8 kB / 0.7875 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.935e-05/0.2863, allocations: 25.7 kB / 0.7875 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.517e-05/0.2864, allocations: 88.12 kB / 0.7876 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.997e-05/0.2864, allocations: 27.56 kB / 0.7876 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/0.2867, allocations: 29.7 kB / 0.7876 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.2868, allocations: 322.8 kB / 0.7879 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004846/0.2873, allocations: 143.9 kB / 0.7881 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004685/0.2877, allocations: 144.2 kB / 0.7882 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000975/0.2887, allocations: 296.8 kB / 0.7885 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.2887, allocations: 0 / 0.7885 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001166/0.2899, allocations: 337.4 kB / 0.7888 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.2899, allocations: 4 kB / 0.7888 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.2899, allocations: 8 kB / 0.7888 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.29, allocations: 3.938 kB / 0.7888 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/0.2916, allocations: 59.94 kB / 0.7889 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.2916, allocations: 4 kB / 0.7889 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.293, allocations: 47.94 kB / 0.7889 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-05/0.293, allocations: 4 kB / 0.7889 GB, free: 7.547 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 (9): * Single equations (assignments): 9 * 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.0001877/0.2932, allocations: 121.7 kB / 0.7891 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.76e-05/0.2933, allocations: 4 kB / 0.7891 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/0.2934, allocations: 24.36 kB / 0.7891 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.2934, allocations: 0 / 0.7891 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.2935, allocations: 0 / 0.7891 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2935, allocations: 0 / 0.7891 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005683/0.2992, allocations: 0.8413 MB / 0.7899 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.2992, allocations: 0 / 0.7899 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.3003, allocations: 55.94 kB / 0.79 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.3003, allocations: 0 / 0.79 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.496e-05/0.3004, allocations: 7.938 kB / 0.79 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.607e-06/0.3004, allocations: 11.92 kB / 0.79 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3004, allocations: 4.062 kB / 0.79 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009402/0.3013, allocations: 313.1 kB / 0.7903 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.963e-05/0.3014, allocations: 85.11 kB / 0.7904 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.936e-05/0.3015, allocations: 8.219 kB / 0.7904 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.3025, allocations: 39.95 kB / 0.7904 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.98e-05/0.3026, allocations: 3.984 kB / 0.7904 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.876e-05/0.3026, allocations: 7.938 kB / 0.7904 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.924e-05/0.3027, allocations: 99.2 kB / 0.7905 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3027, allocations: 4 kB / 0.7905 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004215/0.3031, allocations: 88 kB / 0.7906 GB, free: 5.73 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.001319/0.3045, allocations: 0.877 MB / 0.7915 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009851/0.3054, allocations: 243.8 kB / 0.7917 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3055, allocations: 0 / 0.7917 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004076/0.3059, allocations: 100 kB / 0.7918 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.3062, allocations: 8 kB / 0.7918 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006437/0.3126, allocations: 2.687 MB / 0.7944 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.3129, allocations: 0.6846 MB / 0.7951 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004926/0.3134, allocations: 48 kB / 0.7951 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004206/0.3138, allocations: 23.41 kB / 0.7952 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of SimCode: time 9.52e-07/0.3138, allocations: 0 / 0.7952 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02831/0.3421, allocations: 9.765 MB / 0.8047 GB, free: 7.184 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.433/7.775, allocations: 7.75 kB / 0.8047 GB, free: 7.176 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)