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.001742/0.001742, allocations: 100 kB / 15.05 MB, free: 1.105 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.002462/0.002462, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.147/3.147, allocations: 205.4 MB / 222.1 MB, free: 5.648 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 2.87/2.87, allocations: 292.6 MB / 0.5497 GB, free: 14.6 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.0006266/0.0006269, allocations: 19 kB / 0.6737 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5118/0.5124, allocations: 116.3 MB / 0.7872 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001607/0.5141, allocations: 349.8 kB / 0.7876 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002972/0.5171, allocations: 1.362 MB / 0.7889 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.121e-05/0.5172, allocations: 0 / 0.7889 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.5174, allocations: 3.984 kB / 0.7889 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.5175, allocations: 11.92 kB / 0.7889 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.5185, allocations: 131.7 kB / 0.789 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.5187, allocations: 23.95 kB / 0.7891 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.748e-05/0.5188, allocations: 4 kB / 0.7891 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.764e-05/0.5188, allocations: 15.98 kB / 0.7891 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.519, allocations: 27.91 kB / 0.7891 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.519, allocations: 0 / 0.7891 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005061/0.5195, allocations: 175.7 kB / 0.7893 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.113e-05/0.5196, allocations: 19.92 kB / 0.7893 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.872e-05/0.5197, allocations: 29.64 kB / 0.7893 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003313/0.52, allocations: 124 kB / 0.7895 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.52, allocations: 0 / 0.7895 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 5.009e-06/0.5201, allocations: 4 kB / 0.7895 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.5201, allocations: 0 / 0.7895 GB, free: 9.566 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.0008698/0.521, allocations: 430.6 kB / 0.7899 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 8.072e-05/0.521, allocations: 8.031 kB / 0.7899 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.286e-05/0.5212, allocations: 38.55 kB / 0.7899 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.987e-05/0.5212, allocations: 7.906 kB / 0.7899 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.5216, allocations: 175 kB / 0.7901 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.5216, allocations: 4 kB / 0.7901 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.5216, allocations: 4 kB / 0.7901 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000363/0.522, allocations: 97.58 kB / 0.7902 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.522, allocations: 0 / 0.7902 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.5221, allocations: 4 kB / 0.7902 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.5221, allocations: 0 / 0.7902 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.5222, allocations: 59.95 kB / 0.7902 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003381/0.5226, allocations: 189.5 kB / 0.7904 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.5228, allocations: 74.53 kB / 0.7905 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.5229, allocations: 0 / 0.7905 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.81e-05/0.5229, allocations: 34.59 kB / 0.7905 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.5229, allocations: 0 / 0.7905 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0009764/0.5239, allocations: 336.2 kB / 0.7909 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001548/0.5241, allocations: 81.11 kB / 0.7909 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002833/0.5244, allocations: 150 kB / 0.7911 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.91e-05/0.5244, allocations: 25.7 kB / 0.7911 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.5246, allocations: 88.14 kB / 0.7912 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.403e-05/0.5246, allocations: 19.73 kB / 0.7912 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/0.5247, allocations: 0 / 0.7912 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0003428/0.525, allocations: 322.8 kB / 0.7915 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/0.5253, allocations: 103.9 kB / 0.7916 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/0.5255, allocations: 103.9 kB / 0.7917 GB, free: 7 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003333/0.5259, allocations: 159.3 kB / 0.7919 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.5259, allocations: 4.031 kB / 0.7919 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006256/0.5265, allocations: 320.8 kB / 0.7922 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001364/0.5267, allocations: 75.38 kB / 0.7922 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.5267, allocations: 0 / 0.7922 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/0.5268, allocations: 4 kB / 0.7922 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.224e-06/0.5268, allocations: 0 / 0.7922 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.5268, allocations: 0 / 0.7922 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002846/0.5271, allocations: 11.84 kB / 0.7923 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.5271, allocations: 4 kB / 0.7923 GB, free: 6.391 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002675/0.5274, allocations: 159.5 kB / 0.7924 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.5274, allocations: 11.89 kB / 0.7924 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.63e-05/0.5275, allocations: 8.25 kB / 0.7924 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.5275, allocations: 0 / 0.7924 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.5275, allocations: 0 / 0.7924 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.5275, allocations: 0 / 0.7924 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003513/0.5279, allocations: 177.6 kB / 0.7926 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.5279, allocations: 0 / 0.7926 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.132e-06/0.5279, allocations: 0 / 0.7926 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.5279, allocations: 0 / 0.7926 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.528, allocations: 8 kB / 0.7926 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.528, allocations: 0 / 0.7926 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/0.5281, allocations: 0 / 0.7926 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006705/0.5287, allocations: 230.5 kB / 0.7928 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.417e-05/0.5288, allocations: 85.2 kB / 0.7929 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.112e-05/0.5289, allocations: 4 kB / 0.7929 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.82e-05/0.529, allocations: 7.984 kB / 0.7929 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.5291, allocations: 19.95 kB / 0.7929 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.118e-06/0.5291, allocations: 4 kB / 0.7929 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000169/0.5293, allocations: 106.2 kB / 0.793 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5293, allocations: 0 / 0.793 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005896/0.5299, allocations: 67.98 kB / 0.7931 GB, free: 5.406 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001617/0.5315, allocations: 0.8131 MB / 0.7939 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006522/0.5322, allocations: 370.6 kB / 0.7943 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.5322, allocations: 0 / 0.7943 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003562/0.5326, allocations: 135.4 kB / 0.7944 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.5328, allocations: 4 kB / 0.7944 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.5341, allocations: 441.8 kB / 0.7948 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006863/0.5348, allocations: 0.6965 MB / 0.7955 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.281e-05/0.5348, allocations: 0 / 0.7955 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.484e-05/0.5349, allocations: 23.38 kB / 0.7955 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.5349, allocations: 0 / 0.7955 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03245/0.5674, allocations: 2.847 MB / 0.7983 GB, free: 88 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0006678/0.5682, allocations: 197.7 kB / 0.7985 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.485/4.054, allocations: 0 / 0.7985 GB, free: 15.84 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) Environment - environmentSimulation: