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.001141/0.001141, allocations: 109.4 kB / 15.69 MB, free: 128 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.001232/0.001232, allocations: 190.1 kB / 16.62 MB, free: 6.613 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.391/1.391, 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.635/1.635, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001791/0.001791, allocations: 76.2 kB / 0.6718 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2316, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001878/0.2335, allocations: 0.6365 MB / 0.7843 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004489/0.234, allocations: 195.2 kB / 0.7844 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.932e-05/0.234, allocations: 0 / 0.7844 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.962e-05/0.2341, allocations: 3.938 kB / 0.7844 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001547/0.2342, allocations: 7.938 kB / 0.7845 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.2345, allocations: 79.75 kB / 0.7845 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.074e-05/0.2345, allocations: 27.91 kB / 0.7846 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.719e-05/0.2346, allocations: 4 kB / 0.7846 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.512e-05/0.2346, allocations: 19.91 kB / 0.7846 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.769e-05/0.2347, allocations: 19.92 kB / 0.7846 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.2347, allocations: 4 kB / 0.7846 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.2349, allocations: 107.7 kB / 0.7847 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.503e-05/0.2349, allocations: 7.938 kB / 0.7847 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.941e-05/0.235, allocations: 15.91 kB / 0.7847 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.2351, allocations: 103.8 kB / 0.7848 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2351, allocations: 4 kB / 0.7848 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2351, allocations: 0 / 0.7848 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.2352, allocations: 3.938 kB / 0.7848 GB, free: 12.02 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.0005394/0.2357, allocations: 379.5 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.2358, allocations: 8.031 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.2358, allocations: 34.75 kB / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.721e-05/0.2358, allocations: 0.9375 kB / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.236, allocations: 172.3 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.236, allocations: 8.375 kB / 0.7854 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.236, allocations: 4.375 kB / 0.7854 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.2362, allocations: 58.23 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.2362, allocations: 3.938 kB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.2362, allocations: 0 / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.2362, allocations: 3.938 kB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.2364, allocations: 35.95 kB / 0.7855 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002999/0.2367, allocations: 252.9 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.2369, allocations: 66.47 kB / 0.7858 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.99e-05/0.237, allocations: 24.94 kB / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.237, allocations: 0 / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.237, allocations: 38.5 kB / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.237, allocations: 0 / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.02646/0.2635, allocations: 1.612 MB / 0.7875 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.2636, allocations: 51.41 kB / 0.7875 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.2637, allocations: 117.8 kB / 0.7876 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.031e-05/0.2638, allocations: 29.7 kB / 0.7876 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.712e-05/0.2638, allocations: 92.12 kB / 0.7877 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.638e-05/0.2639, allocations: 23.56 kB / 0.7878 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001922/0.2641, allocations: 25.7 kB / 0.7878 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.2642, allocations: 322.8 kB / 0.7881 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004539/0.2647, allocations: 135.9 kB / 0.7882 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004456/0.2651, allocations: 148.3 kB / 0.7884 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009437/0.2661, allocations: 300.8 kB / 0.7886 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2661, allocations: 0 / 0.7886 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001135/0.2672, allocations: 341.8 kB / 0.789 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.2673, allocations: 4 kB / 0.789 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.2673, allocations: 0 / 0.789 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.2673, allocations: 0 / 0.789 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/0.2689, allocations: 63.94 kB / 0.789 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.2689, allocations: 3.938 kB / 0.789 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/0.2703, allocations: 51.94 kB / 0.7891 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.058e-05/0.2704, allocations: 4.078 kB / 0.7891 GB, free: 7.422 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.0001663/0.2705, allocations: 113.8 kB / 0.7892 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.408e-05/0.2706, allocations: 7.984 kB / 0.7892 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.2708, allocations: 24.34 kB / 0.7892 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.2708, allocations: 4 kB / 0.7892 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.2708, allocations: 0 / 0.7892 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2708, allocations: 0 / 0.7892 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00562/0.2764, allocations: 0.8452 MB / 0.7901 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.2764, allocations: 0 / 0.7901 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/0.2776, allocations: 56 kB / 0.7901 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.2776, allocations: 0 / 0.7901 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.242e-05/0.2776, allocations: 16 kB / 0.7901 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.2776, allocations: 0 / 0.7901 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.2777, allocations: 3.984 kB / 0.7901 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009029/0.2786, allocations: 317 kB / 0.7904 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.2786, allocations: 85.09 kB / 0.7905 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.808e-05/0.2787, allocations: 7.938 kB / 0.7905 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.2798, allocations: 39.95 kB / 0.7906 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.616e-05/0.2798, allocations: 7.984 kB / 0.7906 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.362e-05/0.2799, allocations: 4 kB / 0.7906 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.169e-05/0.2799, allocations: 103.3 kB / 0.7907 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2799, allocations: 0 / 0.7907 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003821/0.2803, allocations: 92 kB / 0.7908 GB, free: 5.598 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.001261/0.2816, allocations: 0.8701 MB / 0.7916 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009658/0.2826, allocations: 243.8 kB / 0.7918 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2826, allocations: 4 kB / 0.7918 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003885/0.283, allocations: 99.88 kB / 0.7919 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.2833, allocations: 8.875 kB / 0.7919 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006344/0.2896, allocations: 2.679 MB / 0.7946 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.2899, allocations: 0.6908 MB / 0.7952 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004423/0.2904, allocations: 48 kB / 0.7953 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004189/0.2908, allocations: 19.42 kB / 0.7953 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of SimCode: time 8.92e-07/0.2908, allocations: 7.938 kB / 0.7953 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02771/0.3185, allocations: 9.785 MB / 0.8049 GB, free: 7.047 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.792/8.111, allocations: 15.31 kB / 0.8049 GB, free: 7.035 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)