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.006422/0.006422, allocations: 101.2 kB / 15.73 MB, free: 6.062 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.001432/0.001432, allocations: 189.5 kB / 16.67 MB, free: 5.973 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002693/0.002694, allocations: 281.8 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9886/0.9886, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002695/0.002695, allocations: 95.86 kB / 0.681 GB, free: 7.43 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4498/0.4525, allocations: 86.98 MB / 0.766 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001762/0.4543, allocations: 0.625 MB / 0.7666 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004386/0.4548, allocations: 207.1 kB / 0.7668 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.148e-05/0.4548, allocations: 0 / 0.7668 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.627e-05/0.4548, allocations: 3.938 kB / 0.7668 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.455, allocations: 11.92 kB / 0.7668 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.4552, allocations: 75.75 kB / 0.7669 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.558e-05/0.4553, allocations: 27.92 kB / 0.7669 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.653e-05/0.4554, allocations: 7.984 kB / 0.7669 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.836e-05/0.4554, allocations: 4 kB / 0.7669 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.29e-05/0.4555, allocations: 35.83 kB / 0.7669 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.4555, allocations: 4 kB / 0.7669 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001801/0.4557, allocations: 107.7 kB / 0.767 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.401e-05/0.4557, allocations: 4 kB / 0.767 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.241e-05/0.4557, allocations: 19.86 kB / 0.7671 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.4559, allocations: 101.2 kB / 0.7671 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4559, allocations: 0 / 0.7671 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4559, allocations: 0 / 0.7671 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.456, allocations: 0 / 0.7671 GB, free: 2.629 MB / 0.5294 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.0006107/0.4566, allocations: 378.7 kB / 0.7675 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.4566, allocations: 8.031 kB / 0.7675 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.343e-05/0.4567, allocations: 34.75 kB / 0.7676 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.148e-05/0.4567, allocations: 8.875 kB / 0.7676 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.4569, allocations: 176.3 kB / 0.7677 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.4569, allocations: 384 / 0.7677 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.457, allocations: 4.375 kB / 0.7677 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.4571, allocations: 58.22 kB / 0.7678 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.4571, allocations: 3.938 kB / 0.7678 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.4572, allocations: 4 kB / 0.7678 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.4572, allocations: 4 kB / 0.7678 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.4573, allocations: 31.97 kB / 0.7678 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003481/0.4577, allocations: 244.8 kB / 0.7681 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.4579, allocations: 78.52 kB / 0.7681 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.61e-05/0.458, allocations: 24.94 kB / 0.7682 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.458, allocations: 0 / 0.7682 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.4581, allocations: 34.56 kB / 0.7682 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.4581, allocations: 0 / 0.7682 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.02571/0.4838, allocations: 1.609 MB / 0.7698 GB, free: 15.77 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/0.4839, allocations: 55.39 kB / 0.7698 GB, free: 15.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.484, allocations: 125.7 kB / 0.7699 GB, free: 15.57 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.509e-05/0.4841, allocations: 29.7 kB / 0.77 GB, free: 15.54 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.016e-05/0.4842, allocations: 80.14 kB / 0.77 GB, free: 15.45 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.312e-05/0.4842, allocations: 31.73 kB / 0.7701 GB, free: 15.42 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002127/0.4845, allocations: 33.7 kB / 0.7701 GB, free: 15.38 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.4846, allocations: 314.8 kB / 0.7704 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005105/0.4851, allocations: 143.9 kB / 0.7705 GB, free: 14.93 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004944/0.4856, allocations: 143.9 kB / 0.7707 GB, free: 14.79 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.4867, allocations: 305.3 kB / 0.771 GB, free: 14.48 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.4867, allocations: 0 / 0.771 GB, free: 14.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001234/0.4879, allocations: 333.5 kB / 0.7713 GB, free: 14.15 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.488, allocations: 8 kB / 0.7713 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.488, allocations: 4 kB / 0.7713 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.578e-05/0.488, allocations: 0 / 0.7713 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/0.4895, allocations: 67.86 kB / 0.7714 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.4895, allocations: 0 / 0.7714 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.4907, allocations: 47.95 kB / 0.7714 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.474e-05/0.4908, allocations: 3.984 kB / 0.7714 GB, free: 14.02 MB / 0.545 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.0001906/0.491, allocations: 116.2 kB / 0.7715 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.7e-05/0.4911, allocations: 12 kB / 0.7715 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001244/0.4912, allocations: 12.38 kB / 0.7715 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.4912, allocations: 0 / 0.7715 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.4913, allocations: 4 kB / 0.7716 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.4913, allocations: 4 kB / 0.7716 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005474/0.4968, allocations: 0.8453 MB / 0.7724 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.4968, allocations: 4 kB / 0.7724 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/0.4979, allocations: 55.88 kB / 0.7724 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.4979, allocations: 0 / 0.7724 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.274e-05/0.4979, allocations: 7.938 kB / 0.7724 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.4979, allocations: 0 / 0.7724 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4979, allocations: 0 / 0.7724 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009487/0.4989, allocations: 329.1 kB / 0.7728 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.285e-05/0.499, allocations: 85.06 kB / 0.7728 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.85e-05/0.499, allocations: 11.92 kB / 0.7729 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009801/0.5, allocations: 43.95 kB / 0.7729 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.255e-05/0.5001, allocations: 4 kB / 0.7729 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.17e-05/0.5001, allocations: 0 / 0.7729 GB, free: 12.39 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.526e-05/0.5002, allocations: 99.3 kB / 0.773 GB, free: 12.29 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5002, allocations: 0 / 0.773 GB, free: 12.29 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00039/0.5006, allocations: 99.86 kB / 0.7731 GB, free: 12.2 MB / 0.545 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.001424/0.502, allocations: 0.8701 MB / 0.7739 GB, free: 11.29 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001041/0.5031, allocations: 247.8 kB / 0.7742 GB, free: 11.05 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5031, allocations: 0 / 0.7742 GB, free: 11.05 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004086/0.5035, allocations: 91.95 kB / 0.7743 GB, free: 10.96 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.5038, allocations: 12.06 kB / 0.7743 GB, free: 10.95 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006842/0.5106, allocations: 2.676 MB / 0.7769 GB, free: 8.184 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.511, allocations: 0.6922 MB / 0.7776 GB, free: 7.465 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004425/0.5115, allocations: 56.2 kB / 0.7776 GB, free: 7.41 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004846/0.512, allocations: 19.42 kB / 0.7776 GB, free: 7.391 MB / 0.545 GB Notification: Performance of SimCode: time 6.72e-07/0.512, allocations: 0 / 0.7776 GB, free: 7.391 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03416/0.5461, allocations: 9.817 MB / 0.7872 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.1/8.647, allocations: 10.62 kB / 0.7872 GB, free: 13.66 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)