Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.QuinticHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="BuildingSystems_BuildingSystems_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.007275/0.007275, allocations: 99.86 kB / 15.73 MB, free: 6.004 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.001658/0.001658, allocations: 192.8 kB / 16.67 MB, free: 5.934 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002442/0.002441, allocations: 286.1 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.11/1.11, allocations: 178.6 MB / 0.5074 GB, free: 4.48 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002726/0.002726, allocations: 103.8 kB / 0.6943 GB, free: 3.539 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4871/0.4898, allocations: 89.14 MB / 0.7814 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001734/0.4916, allocations: 0.6359 MB / 0.782 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004335/0.492, allocations: 203.8 kB / 0.7822 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.426e-05/0.4921, allocations: 0 / 0.7822 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.011e-05/0.4921, allocations: 3.938 kB / 0.7822 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000165/0.4923, allocations: 15.5 kB / 0.7822 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.4925, allocations: 73.64 kB / 0.7823 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.273e-05/0.4926, allocations: 30.09 kB / 0.7823 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.346e-05/0.4926, allocations: 7.672 kB / 0.7823 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.279e-05/0.4927, allocations: 15.64 kB / 0.7823 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.967e-05/0.4927, allocations: 24.86 kB / 0.7824 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.4928, allocations: 1.344 kB / 0.7824 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002109/0.493, allocations: 112.2 kB / 0.7825 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.493, allocations: 5.766 kB / 0.7825 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.936e-05/0.493, allocations: 11.41 kB / 0.7825 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.4932, allocations: 107.6 kB / 0.7826 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.4933, allocations: 0 / 0.7826 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4933, allocations: 0 / 0.7826 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.4933, allocations: 1.156 kB / 0.7826 GB, free: 13.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005761/0.4938, allocations: 378.4 kB / 0.783 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.4939, allocations: 9.344 kB / 0.783 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.38e-05/0.4939, allocations: 32.78 kB / 0.783 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.442e-05/0.494, allocations: 3.656 kB / 0.783 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.4941, allocations: 171.6 kB / 0.7832 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.4941, allocations: 1.875 kB / 0.7832 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.4942, allocations: 5.531 kB / 0.7832 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.4943, allocations: 57.83 kB / 0.7832 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.4944, allocations: 3.938 kB / 0.7832 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.4944, allocations: 0 / 0.7832 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.4944, allocations: 1.062 kB / 0.7832 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/0.4945, allocations: 38.75 kB / 0.7833 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003085/0.4948, allocations: 247.9 kB / 0.7835 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.495, allocations: 70.31 kB / 0.7836 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.435e-05/0.4951, allocations: 26.19 kB / 0.7836 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.4952, allocations: 1.281 kB / 0.7836 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.4952, allocations: 40.59 kB / 0.7836 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.4952, allocations: 0 / 0.7836 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.02802/0.5232, allocations: 1.615 MB / 0.7852 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.5233, allocations: 57.31 kB / 0.7853 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.5234, allocations: 120.5 kB / 0.7854 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.777e-05/0.5235, allocations: 25.7 kB / 0.7854 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.006e-05/0.5236, allocations: 87.28 kB / 0.7855 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.092e-05/0.5236, allocations: 33.95 kB / 0.7855 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002103/0.5238, allocations: 23.84 kB / 0.7855 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.524, allocations: 318.5 kB / 0.7859 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004837/0.5245, allocations: 141.3 kB / 0.786 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004835/0.525, allocations: 142.1 kB / 0.7861 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.526, allocations: 302.4 kB / 0.7864 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.526, allocations: 0 / 0.7864 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001212/0.5272, allocations: 340.3 kB / 0.7867 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.5272, allocations: 10.7 kB / 0.7867 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.5273, allocations: 0 / 0.7867 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.5273, allocations: 0.9062 kB / 0.7867 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/0.5288, allocations: 60.48 kB / 0.7868 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.5289, allocations: 2.188 kB / 0.7868 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.5302, allocations: 49.42 kB / 0.7869 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-05/0.5303, allocations: 7.156 kB / 0.7869 GB, free: 10.84 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 (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.0001712/0.5305, allocations: 120.7 kB / 0.787 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.934e-05/0.5305, allocations: 2.25 kB / 0.787 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/0.5307, allocations: 20.25 kB / 0.787 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.5307, allocations: 1.188 kB / 0.787 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5307, allocations: 0 / 0.787 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.5307, allocations: 1.859 kB / 0.787 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006082/0.5368, allocations: 0.8441 MB / 0.7878 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.5368, allocations: 1.188 kB / 0.7878 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/0.538, allocations: 52.45 kB / 0.7879 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.538, allocations: 1.703 kB / 0.7879 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.328e-05/0.5381, allocations: 7.297 kB / 0.7879 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.5381, allocations: 5.25 kB / 0.7879 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5381, allocations: 1.25 kB / 0.7879 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009645/0.539, allocations: 325.9 kB / 0.7882 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.418e-05/0.5391, allocations: 83.59 kB / 0.7883 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.282e-05/0.5392, allocations: 10.66 kB / 0.7883 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/0.5402, allocations: 39.28 kB / 0.7883 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.777e-05/0.5403, allocations: 8.719 kB / 0.7883 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.385e-05/0.5403, allocations: 4.672 kB / 0.7883 GB, free: 10 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.799e-05/0.5404, allocations: 92.05 kB / 0.7884 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5404, allocations: 0 / 0.7884 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004006/0.5408, allocations: 99.66 kB / 0.7885 GB, free: 9.914 MB / 0.5606 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.001369/0.5422, allocations: 0.8712 MB / 0.7894 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001043/0.5432, allocations: 249.5 kB / 0.7896 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.5433, allocations: 1.312 kB / 0.7896 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004264/0.5437, allocations: 99.59 kB / 0.7897 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.544, allocations: 3.891 kB / 0.7897 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006854/0.5508, allocations: 2.675 MB / 0.7923 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.5512, allocations: 0.689 MB / 0.793 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004479/0.5516, allocations: 53.16 kB / 0.793 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004572/0.5521, allocations: 20.7 kB / 0.7931 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of SimCode: time 6.61e-07/0.5521, allocations: 0 / 0.7931 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03296/0.5851, allocations: 9.834 MB / 0.8027 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.019/8.604, allocations: 9.344 kB / 0.8027 GB, free: 1.676 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)