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.0006793/0.0006793, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004164/0.004164, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.312/1.312, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.561/1.561, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0004904/0.0004904, allocations: 15 kB / 0.6744 GB, free: 25.83 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1961, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.0005652/0.1967, allocations: 355.4 kB / 0.7883 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.1982, allocations: 1.445 MB / 0.7898 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.597e-05/0.1983, allocations: 0 / 0.7898 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.409e-05/0.1983, allocations: 3.938 kB / 0.7898 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.799e-05/0.1983, allocations: 4 kB / 0.7898 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004164/0.1987, allocations: 139 kB / 0.7899 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.783e-05/0.1988, allocations: 39.91 kB / 0.7899 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.042e-05/0.1989, allocations: 4 kB / 0.7899 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.853e-05/0.1989, allocations: 19.92 kB / 0.79 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.678e-05/0.1989, allocations: 35.89 kB / 0.79 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.199, allocations: 0 / 0.79 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002454/0.1992, allocations: 187.7 kB / 0.7902 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.164e-05/0.1992, allocations: 11.98 kB / 0.7902 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.973e-05/0.1993, allocations: 49.52 kB / 0.7902 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.1995, allocations: 187.8 kB / 0.7904 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.1995, allocations: 0 / 0.7904 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.32e-07/0.1995, allocations: 4 kB / 0.7904 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.505e-06/0.1995, allocations: 0 / 0.7904 GB, free: 8.98 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.0002847/0.1998, allocations: 430.7 kB / 0.7908 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.1998, allocations: 8.031 kB / 0.7908 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.698e-05/0.1999, allocations: 34.75 kB / 0.7909 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.087e-05/0.1999, allocations: 4.844 kB / 0.7909 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.97e-05/0.2, allocations: 184.2 kB / 0.791 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.844e-06/0.2, allocations: 384 / 0.791 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.2, allocations: 8.375 kB / 0.7911 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.2002, allocations: 97.77 kB / 0.7911 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.968e-06/0.2002, allocations: 4 kB / 0.7912 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.243e-06/0.2002, allocations: 0 / 0.7912 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-06/0.2002, allocations: 0 / 0.7912 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.677e-05/0.2003, allocations: 59.95 kB / 0.7912 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001199/0.2004, allocations: 177.6 kB / 0.7914 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.136e-05/0.2005, allocations: 78.47 kB / 0.7915 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.516e-05/0.2006, allocations: 72.89 kB / 0.7915 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.088e-06/0.2006, allocations: 4 kB / 0.7915 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.2006, allocations: 34.5 kB / 0.7916 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.2006, allocations: 0 / 0.7916 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003134/0.2009, allocations: 251.2 kB / 0.7918 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.201, allocations: 85.09 kB / 0.7919 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.262e-05/0.2011, allocations: 140.7 kB / 0.792 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.2011, allocations: 29.7 kB / 0.792 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.137e-05/0.2012, allocations: 108 kB / 0.7921 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.2012, allocations: 7.906 kB / 0.7922 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.2012, allocations: 25.7 kB / 0.7922 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.063e-05/0.2013, allocations: 310.8 kB / 0.7925 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.2014, allocations: 107.9 kB / 0.7926 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.2015, allocations: 99.94 kB / 0.7927 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002328/0.2018, allocations: 285.9 kB / 0.7929 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2018, allocations: 0 / 0.7929 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002955/0.2021, allocations: 320.8 kB / 0.7933 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.34e-05/0.2021, allocations: 75.45 kB / 0.7933 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.2021, allocations: 0 / 0.7933 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.144e-06/0.2021, allocations: 0 / 0.7933 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.615e-06/0.2021, allocations: 0 / 0.7933 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.2022, allocations: 11.92 kB / 0.7933 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.2023, allocations: 11.84 kB / 0.7933 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.2023, allocations: 4 kB / 0.7933 GB, free: 5.676 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.851e-05/0.2024, allocations: 147.5 kB / 0.7935 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.2024, allocations: 11.98 kB / 0.7935 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.328e-05/0.2024, allocations: 16.23 kB / 0.7935 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.2024, allocations: 0 / 0.7935 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2024, allocations: 7.984 kB / 0.7935 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-06/0.2024, allocations: 0 / 0.7935 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.014e-05/0.2025, allocations: 161.7 kB / 0.7937 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.2025, allocations: 7.938 kB / 0.7937 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.314e-06/0.2025, allocations: 3.984 kB / 0.7937 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.2025, allocations: 0 / 0.7937 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.2026, allocations: 0 / 0.7937 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.2026, allocations: 0 / 0.7937 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.2026, allocations: 8 kB / 0.7937 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.2028, allocations: 230.6 kB / 0.7939 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.306e-05/0.2028, allocations: 88.95 kB / 0.794 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.2029, allocations: 3.938 kB / 0.794 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.502e-05/0.2029, allocations: 7.938 kB / 0.794 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.203, allocations: 7.984 kB / 0.794 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.203, allocations: 4 kB / 0.794 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.317e-05/0.203, allocations: 111.3 kB / 0.7941 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.203, allocations: 0 / 0.7941 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002367/0.2033, allocations: 64 kB / 0.7942 GB, free: 4.695 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 (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.0005655/0.2039, allocations: 0.813 MB / 0.795 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003226/0.2042, allocations: 374.6 kB / 0.7953 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.2042, allocations: 4.094 kB / 0.7953 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.2043, allocations: 139.3 kB / 0.7955 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001257/0.2045, allocations: 4 kB / 0.7955 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.2062, allocations: 2.131 MB / 0.7976 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000187/0.2064, allocations: 0.6926 MB / 0.7982 GB, free: 364 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.027e-06/0.2064, allocations: 0 / 0.7982 GB, free: 364 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.184e-05/0.2064, allocations: 15.44 kB / 0.7983 GB, free: 352 kB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2064, allocations: 4.031 kB / 0.7983 GB, free: 348 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.099/1.305, allocations: 2.975 MB / 0.8012 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001983/1.306, allocations: 213.7 kB / 0.8014 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.452/2.757, allocations: 0 / 0.8014 GB, free: 13.23 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/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)