Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.423/1.423, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001027/0.001027, allocations: 174.5 kB / 325.8 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.582/1.582, allocations: 205 MB / 0.576 GB, free: 21.01 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006967/0.0006967, allocations: 82.33 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002997/0.0002999, allocations: 11.97 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1633, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.0006091/0.164, allocations: 366.9 kB / 0.8966 GB, free: 67.74 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.1654, allocations: 1.465 MB / 0.898 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.647e-05/0.1654, allocations: 0 / 0.898 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.169e-05/0.1654, allocations: 0 / 0.898 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.701e-05/0.1655, allocations: 8 kB / 0.898 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000413/0.1659, allocations: 138.9 kB / 0.8981 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.029e-05/0.166, allocations: 43.84 kB / 0.8982 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.797e-05/0.166, allocations: 4 kB / 0.8982 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.95e-05/0.166, allocations: 15.98 kB / 0.8982 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.23e-05/0.1661, allocations: 31.91 kB / 0.8982 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.1661, allocations: 3.938 kB / 0.8982 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002152/0.1663, allocations: 195.7 kB / 0.8984 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.437e-05/0.1664, allocations: 15.92 kB / 0.8984 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.95e-05/0.1664, allocations: 19.88 kB / 0.8984 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.1666, allocations: 179.6 kB / 0.8986 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1666, allocations: 4 kB / 0.8986 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1666, allocations: 0 / 0.8986 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.866e-06/0.1666, allocations: 0 / 0.8986 GB, free: 65.61 MB / 0.6042 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.0002417/0.1669, allocations: 426.8 kB / 0.899 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.1669, allocations: 8.031 kB / 0.899 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.277e-05/0.1669, allocations: 42.69 kB / 0.8991 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.633e-05/0.167, allocations: 4.844 kB / 0.8991 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.956e-05/0.167, allocations: 176.3 kB / 0.8993 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.167, allocations: 4.375 kB / 0.8993 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.1671, allocations: 4.375 kB / 0.8993 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.1672, allocations: 97.77 kB / 0.8994 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.959e-06/0.1672, allocations: 0 / 0.8994 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.1672, allocations: 4 kB / 0.8994 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.1672, allocations: 0 / 0.8994 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.477e-05/0.1673, allocations: 63.89 kB / 0.8994 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.252e-05/0.1674, allocations: 185.5 kB / 0.8996 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.846e-05/0.1675, allocations: 78.47 kB / 0.8997 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.077e-05/0.1675, allocations: 72.89 kB / 0.8997 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.182e-06/0.1676, allocations: 0 / 0.8997 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.319e-05/0.1676, allocations: 34.5 kB / 0.8998 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.1676, allocations: 0 / 0.8998 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0002653/0.1678, allocations: 251.2 kB / 0.9 GB, free: 64 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.178e-05/0.1679, allocations: 85.12 kB / 0.9001 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.245e-05/0.168, allocations: 144.4 kB / 0.9002 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/0.168, allocations: 29.7 kB / 0.9003 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.295e-05/0.168, allocations: 88.12 kB / 0.9003 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.168, allocations: 19.81 kB / 0.9004 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-05/0.1681, allocations: 17.7 kB / 0.9004 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.578e-05/0.1681, allocations: 318.8 kB / 0.9007 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.821e-05/0.1682, allocations: 103.9 kB / 0.9008 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.942e-05/0.1683, allocations: 103.9 kB / 0.9009 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.1685, allocations: 281.8 kB / 0.9011 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1685, allocations: 0 / 0.9011 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000231/0.1687, allocations: 324.7 kB / 0.9015 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.838e-05/0.1687, allocations: 67.39 kB / 0.9015 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1688, allocations: 0 / 0.9015 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.1688, allocations: 4 kB / 0.9015 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.525e-06/0.1688, allocations: 7.922 kB / 0.9015 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1688, allocations: 0 / 0.9015 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.1689, allocations: 16.14 kB / 0.9016 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.169, allocations: 8 kB / 0.9016 GB, free: 62.31 MB / 0.6042 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.002e-05/0.169, allocations: 147.5 kB / 0.9017 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.598e-05/0.1691, allocations: 15.83 kB / 0.9017 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.401e-05/0.1691, allocations: 4.25 kB / 0.9017 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1691, allocations: 3.984 kB / 0.9017 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1691, allocations: 0 / 0.9017 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1691, allocations: 4 kB / 0.9017 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.295e-05/0.1692, allocations: 165.7 kB / 0.9019 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1692, allocations: 11.92 kB / 0.9019 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-06/0.1692, allocations: 4 kB / 0.9019 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1692, allocations: 3.938 kB / 0.9019 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.1692, allocations: 0 / 0.9019 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.1692, allocations: 0 / 0.9019 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1692, allocations: 0 / 0.9019 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/0.1695, allocations: 234.6 kB / 0.9021 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.339e-05/0.1695, allocations: 88.95 kB / 0.9022 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.1695, allocations: 0 / 0.9022 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.35e-05/0.1696, allocations: 8.031 kB / 0.9022 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.1696, allocations: 7.984 kB / 0.9022 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.1696, allocations: 4 kB / 0.9022 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.164e-05/0.1697, allocations: 107.2 kB / 0.9023 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1697, allocations: 0 / 0.9023 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002299/0.1699, allocations: 64 kB / 0.9024 GB, free: 61.34 MB / 0.6042 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.0004485/0.1704, allocations: 0.8169 MB / 0.9032 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002694/0.1706, allocations: 374.6 kB / 0.9035 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1707, allocations: 0 / 0.9035 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.64e-05/0.1707, allocations: 135.3 kB / 0.9037 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001306/0.1709, allocations: 8 kB / 0.9037 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.1722, allocations: 2.14 MB / 0.9058 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.417e-05/0.1723, allocations: 0.6965 MB / 0.9065 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.438e-06/0.1723, allocations: 0 / 0.9065 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.706e-05/0.1723, allocations: 15.44 kB / 0.9065 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of SimCode: time 8.51e-07/0.1723, allocations: 192 / 0.9065 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01019/0.1825, allocations: 2.985 MB / 0.9094 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001191/0.1827, allocations: 215.2 kB / 0.9096 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/1.802, allocations: 4 kB / 0.9096 GB, free: 53.88 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)