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: translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.478/1.478, allocations: 252 MB / 267.6 MB, free: 10.92 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.001044/0.001044, allocations: 186.4 kB / 327.3 MB, free: 2.195 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.717/1.717, allocations: 205.4 MB / 0.5783 GB, free: 20.53 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.0009077/0.0009076, allocations: 86.08 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.000329, allocations: 12.16 kB / 0.797 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2162, allocations: 106.3 MB / 0.9008 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.0007719/0.217, allocations: 354.4 kB / 0.9012 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00162/0.2187, allocations: 1.383 MB / 0.9025 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.743e-05/0.2187, allocations: 0 / 0.9025 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.876e-05/0.2188, allocations: 7.922 kB / 0.9025 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.833e-05/0.2188, allocations: 0 / 0.9025 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006283/0.2195, allocations: 134.9 kB / 0.9027 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.421e-05/0.2196, allocations: 35.89 kB / 0.9027 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.398e-05/0.2196, allocations: 0 / 0.9027 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.068e-05/0.2197, allocations: 27.97 kB / 0.9027 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.57e-05/0.2197, allocations: 27.91 kB / 0.9027 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.2198, allocations: 4 kB / 0.9028 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002424/0.22, allocations: 175.8 kB / 0.9029 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.519e-05/0.2201, allocations: 11.92 kB / 0.9029 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.11e-05/0.2201, allocations: 33.64 kB / 0.903 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.2203, allocations: 123.8 kB / 0.9031 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2203, allocations: 0 / 0.9031 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2203, allocations: 0 / 0.9031 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.2203, allocations: 0 / 0.9031 GB, free: 61.96 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.0003579/0.2206, allocations: 438.8 kB / 0.9035 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.2207, allocations: 8.031 kB / 0.9035 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.2207, allocations: 15.89 kB / 0.9035 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.734e-05/0.2208, allocations: 182.8 kB / 0.9037 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.2209, allocations: 0 / 0.9037 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.2209, allocations: 4 kB / 0.9037 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.221, allocations: 97.64 kB / 0.9038 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.2211, allocations: 0 / 0.9038 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.2211, allocations: 0 / 0.9038 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.2211, allocations: 4 kB / 0.9038 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.983e-05/0.2212, allocations: 63.89 kB / 0.9039 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001171/0.2213, allocations: 177.6 kB / 0.904 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.543e-05/0.2214, allocations: 82.47 kB / 0.9041 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.069e-05/0.2215, allocations: 72.88 kB / 0.9042 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/0.2215, allocations: 0 / 0.9042 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.2215, allocations: 30.56 kB / 0.9042 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.2215, allocations: 4 kB / 0.9042 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0003532/0.2219, allocations: 251.2 kB / 0.9044 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.2219, allocations: 85.09 kB / 0.9045 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.651e-05/0.222, allocations: 144.9 kB / 0.9047 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.2221, allocations: 29.69 kB / 0.9047 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.156e-05/0.2221, allocations: 96.05 kB / 0.9048 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.2221, allocations: 11.84 kB / 0.9048 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-06/0.2221, allocations: 4 kB / 0.9048 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.109e-05/0.2222, allocations: 326.8 kB / 0.9051 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.649e-05/0.2223, allocations: 99.94 kB / 0.9052 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.972e-05/0.2224, allocations: 103.9 kB / 0.9053 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.2225, allocations: 159.3 kB / 0.9055 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2225, allocations: 0 / 0.9055 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002709/0.2228, allocations: 320.8 kB / 0.9058 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.411e-05/0.2229, allocations: 67.39 kB / 0.9058 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.2229, allocations: 3.984 kB / 0.9058 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.2229, allocations: 0 / 0.9058 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.232e-06/0.2229, allocations: 0 / 0.9058 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.2229, allocations: 8.047 kB / 0.9058 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.2231, allocations: 11.91 kB / 0.9059 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.2231, allocations: 8 kB / 0.9059 GB, free: 58.83 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.65e-05/0.2232, allocations: 159.4 kB / 0.906 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.383e-05/0.2233, allocations: 11.84 kB / 0.906 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.641e-05/0.2233, allocations: 8.234 kB / 0.906 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.2233, allocations: 0 / 0.906 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2233, allocations: 0 / 0.906 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2233, allocations: 4 kB / 0.906 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.64e-05/0.2234, allocations: 181.5 kB / 0.9062 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2234, allocations: 4 kB / 0.9062 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.11e-07/0.2234, allocations: 0 / 0.9062 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.2234, allocations: 0 / 0.9062 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.2234, allocations: 0 / 0.9062 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2234, allocations: 0 / 0.9062 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.2234, allocations: 0 / 0.9062 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.2237, allocations: 234.6 kB / 0.9064 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.113e-05/0.2237, allocations: 89.05 kB / 0.9065 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.2237, allocations: 0 / 0.9065 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.789e-05/0.2238, allocations: 4 kB / 0.9065 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.336e-05/0.2238, allocations: 11.98 kB / 0.9065 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.2239, allocations: 7.938 kB / 0.9065 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.058e-05/0.2239, allocations: 109.9 kB / 0.9066 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2239, allocations: 0 / 0.9066 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002745/0.2242, allocations: 60 kB / 0.9067 GB, free: 57.85 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 (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.0002571/0.2245, allocations: 155.2 kB / 0.9069 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003152/0.2248, allocations: 366.7 kB / 0.9072 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2248, allocations: 0 / 0.9072 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.2249, allocations: 139.3 kB / 0.9073 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.2251, allocations: 4 kB / 0.9073 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003141/0.2254, allocations: 245.1 kB / 0.9076 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.2255, allocations: 0.6887 MB / 0.9082 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.867e-06/0.2255, allocations: 7.438 kB / 0.9083 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of SimCode: time 8.42e-07/0.2255, allocations: 0 / 0.9083 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of Templates: time 0.002867/0.2284, allocations: 1.662 MB / 0.9099 GB, free: 54.5 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)