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.419/1.419, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.001383/0.001382, allocations: 170.1 kB / 326.5 MB, free: 2.684 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.953/1.953, allocations: 205 MB / 0.5766 GB, free: 20.98 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.0007389/0.000739, allocations: 91.86 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003227/0.0003227, allocations: 11.09 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2056, allocations: 105.4 MB / 0.8968 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.0007821/0.2064, allocations: 355.2 kB / 0.8971 GB, free: 67.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.2081, allocations: 1.465 MB / 0.8985 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.047e-05/0.2081, allocations: 0 / 0.8985 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.919e-05/0.2082, allocations: 3.938 kB / 0.8985 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.491e-05/0.2083, allocations: 4 kB / 0.8985 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004879/0.2088, allocations: 135.8 kB / 0.8987 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.256e-05/0.2088, allocations: 47.83 kB / 0.8987 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.279e-05/0.2089, allocations: 0 / 0.8987 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.547e-05/0.2089, allocations: 19.98 kB / 0.8987 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.071e-05/0.209, allocations: 27.89 kB / 0.8988 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.209, allocations: 4 kB / 0.8988 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002419/0.2092, allocations: 195.7 kB / 0.8989 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.269e-05/0.2093, allocations: 15.94 kB / 0.899 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.731e-05/0.2093, allocations: 19.86 kB / 0.899 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.2095, allocations: 119.8 kB / 0.8991 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.2095, allocations: 0 / 0.8991 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.284e-06/0.2095, allocations: 0 / 0.8991 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.2095, allocations: 0 / 0.8991 GB, free: 65.76 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.0003069/0.2098, allocations: 438.7 kB / 0.8995 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.2099, allocations: 8.031 kB / 0.8995 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.2099, allocations: 12.84 kB / 0.8995 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.931e-05/0.21, allocations: 176.2 kB / 0.8997 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.21, allocations: 384 / 0.8997 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.2101, allocations: 4.375 kB / 0.8997 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.2102, allocations: 101.9 kB / 0.8998 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.2102, allocations: 0 / 0.8998 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.2102, allocations: 0 / 0.8998 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.2103, allocations: 0 / 0.8998 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.984e-05/0.2103, allocations: 63.95 kB / 0.8999 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001107/0.2104, allocations: 181.5 kB / 0.9 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.422e-05/0.2105, allocations: 82.53 kB / 0.9001 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.576e-05/0.2106, allocations: 68.88 kB / 0.9002 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-06/0.2106, allocations: 0 / 0.9002 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.2107, allocations: 38.5 kB / 0.9002 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.2107, allocations: 3.938 kB / 0.9002 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0003179/0.211, allocations: 255.2 kB / 0.9005 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.211, allocations: 85.14 kB / 0.9005 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.919e-05/0.2111, allocations: 148.2 kB / 0.9007 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.2112, allocations: 25.7 kB / 0.9007 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.763e-05/0.2112, allocations: 88.14 kB / 0.9008 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.2112, allocations: 15.8 kB / 0.9008 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.2113, allocations: 21.72 kB / 0.9008 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.562e-05/0.2113, allocations: 318.8 kB / 0.9011 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.553e-05/0.2114, allocations: 99.94 kB / 0.9012 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.465e-05/0.2115, allocations: 103.9 kB / 0.9013 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.2117, allocations: 281.8 kB / 0.9016 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2117, allocations: 0 / 0.9016 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002467/0.212, allocations: 324.8 kB / 0.9019 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.226e-05/0.212, allocations: 71.38 kB / 0.902 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.212, allocations: 0 / 0.902 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.2121, allocations: 4 kB / 0.902 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.894e-06/0.2121, allocations: 4 kB / 0.902 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.2121, allocations: 0 / 0.902 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.2122, allocations: 7.938 kB / 0.902 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.2123, allocations: 8.031 kB / 0.902 GB, free: 62.5 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 7.552e-05/0.2123, allocations: 155.5 kB / 0.9021 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.2124, allocations: 11.84 kB / 0.9022 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.287e-05/0.2124, allocations: 12.19 kB / 0.9022 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.2124, allocations: 0 / 0.9022 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2124, allocations: 0 / 0.9022 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.2124, allocations: 0 / 0.9022 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.838e-05/0.2125, allocations: 173.6 kB / 0.9023 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2125, allocations: 0 / 0.9023 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.352e-06/0.2125, allocations: 7.875 kB / 0.9023 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.2125, allocations: 4 kB / 0.9023 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.2125, allocations: 4 kB / 0.9023 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.2125, allocations: 0 / 0.9023 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2125, allocations: 0 / 0.9023 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.2127, allocations: 222.6 kB / 0.9026 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.842e-05/0.2127, allocations: 88.95 kB / 0.9026 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.2128, allocations: 0 / 0.9026 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.71e-05/0.2128, allocations: 16.02 kB / 0.9027 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.2129, allocations: 4 kB / 0.9027 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.2129, allocations: 4 kB / 0.9027 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.493e-05/0.2129, allocations: 107.2 kB / 0.9028 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2129, allocations: 0 / 0.9028 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002253/0.2132, allocations: 63.98 kB / 0.9028 GB, free: 61.52 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.0002163/0.2134, allocations: 155.2 kB / 0.903 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002834/0.2137, allocations: 374.6 kB / 0.9033 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.2137, allocations: 4 kB / 0.9033 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.145e-05/0.2138, allocations: 131.4 kB / 0.9035 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.2139, allocations: 8.922 kB / 0.9035 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002846/0.2142, allocations: 252.9 kB / 0.9037 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.2144, allocations: 0.6928 MB / 0.9044 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.793e-06/0.2144, allocations: 11.44 kB / 0.9044 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of SimCode: time 3.1e-07/0.2144, allocations: 0 / 0.9044 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of Templates: time 0.002615/0.217, allocations: 1.652 MB / 0.906 GB, free: 58.16 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)