Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5607/0.5607, allocations: 94.69 MB / 107.2 MB, free: 5.18 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001049/0.001049, allocations: 173.7 kB / 130.7 MB, free: 7.543 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.656/1.656, allocations: 170.5 MB / 324.5 MB, free: 3.984 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.0017/0.0017, allocations: 117.6 kB / 386.6 MB, free: 16.21 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.497e-05/4.499e-05, allocations: 7.938 kB / 456 MB, free: 11.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4837/0.4837, allocations: 61.52 MB / 0.5054 GB, free: 49.43 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1529/0.6367, allocations: 94.51 MB / 0.5977 GB, free: 1.059 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/0.637, allocations: 83.86 kB / 0.5978 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00988/0.6469, allocations: 3.121 MB / 0.6008 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.6469, allocations: 0 / 0.6008 GB, free: 13.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.647, allocations: 0 / 0.6008 GB, free: 13.93 MB / 426.7 MB 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.0004571/0.6474, allocations: 434.2 kB / 0.6012 GB, free: 13.45 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.6475, allocations: 8.031 kB / 0.6012 GB, free: 13.44 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.183e-05/0.6475, allocations: 4 kB / 0.6012 GB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.6477, allocations: 178.6 kB / 0.6014 GB, free: 13.22 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.6477, allocations: 0 / 0.6014 GB, free: 13.22 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.6477, allocations: 4.516 kB / 0.6014 GB, free: 13.22 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.648, allocations: 101.6 kB / 0.6015 GB, free: 13.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.648, allocations: 0 / 0.6015 GB, free: 13.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.648, allocations: 0 / 0.6015 GB, free: 13.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.648, allocations: 0 / 0.6015 GB, free: 13.11 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.939e-05/0.6481, allocations: 63.95 kB / 0.6016 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001982/0.6483, allocations: 174.2 kB / 0.6017 GB, free: 12.83 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.6485, allocations: 77.2 kB / 0.6018 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.915e-05/0.6486, allocations: 74.27 kB / 0.6019 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.294e-06/0.6486, allocations: 0.9375 kB / 0.6019 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.6486, allocations: 30.56 kB / 0.6019 GB, free: 12.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 2.425e-06/0.6486, allocations: 0.6875 kB / 0.6019 GB, free: 12.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003402/0.649, allocations: 199.8 kB / 0.6021 GB, free: 12.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.649, allocations: 86.61 kB / 0.6022 GB, free: 12.33 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.6492, allocations: 134.2 kB / 0.6023 GB, free: 12.19 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.6492, allocations: 25.7 kB / 0.6023 GB, free: 12.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.012e-05/0.6493, allocations: 92.17 kB / 0.6024 GB, free: 12.06 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.6493, allocations: 15.81 kB / 0.6024 GB, free: 12.05 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/0.6493, allocations: 0 / 0.6024 GB, free: 12.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.6495, allocations: 319.5 kB / 0.6027 GB, free: 11.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.6496, allocations: 99.88 kB / 0.6028 GB, free: 11.63 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.6497, allocations: 96.92 kB / 0.6029 GB, free: 11.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.6499, allocations: 159.3 kB / 0.6031 GB, free: 11.37 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.6499, allocations: 0 / 0.6031 GB, free: 11.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000342/0.6502, allocations: 301.6 kB / 0.6034 GB, free: 11.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.786e-05/0.6503, allocations: 79.44 kB / 0.6034 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.6503, allocations: 0.5625 kB / 0.6034 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.6503, allocations: 0 / 0.6034 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.241e-06/0.6504, allocations: 11.89 kB / 0.6035 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.6504, allocations: 0.9375 kB / 0.6035 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.953e-05/0.6504, allocations: 11.84 kB / 0.6035 GB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.94e-05/0.6505, allocations: 8 kB / 0.6035 GB, free: 10.93 MB / 426.7 MB 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 () * 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.0001265/0.6506, allocations: 147.3 kB / 0.6036 GB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.639e-05/0.6507, allocations: 7.906 kB / 0.6036 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.49e-05/0.6507, allocations: 8.031 kB / 0.6036 GB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.6507, allocations: 0.5156 kB / 0.6036 GB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.6507, allocations: 4.828 kB / 0.6036 GB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.6507, allocations: 0 / 0.6036 GB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.6509, allocations: 173.6 kB / 0.6038 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.6509, allocations: 0 / 0.6038 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.11e-07/0.6509, allocations: 0 / 0.6038 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.6509, allocations: 1.969 kB / 0.6038 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.6509, allocations: 10.5 kB / 0.6038 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.6509, allocations: 0 / 0.6038 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.651, allocations: 4 kB / 0.6038 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.6513, allocations: 222.6 kB / 0.604 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.897e-05/0.6514, allocations: 92.88 kB / 0.6041 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.6514, allocations: 5.875 kB / 0.6041 GB, free: 10.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.529e-05/0.6514, allocations: 4 kB / 0.6041 GB, free: 10.17 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.816e-05/0.6515, allocations: 11.98 kB / 0.6041 GB, free: 10.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.6516, allocations: 4 kB / 0.6041 GB, free: 10.15 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.831e-05/0.6517, allocations: 110.1 kB / 0.6042 GB, free: 10.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6517, allocations: 0 / 0.6042 GB, free: 10.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003462/0.652, allocations: 79.89 kB / 0.6043 GB, free: 9.969 MB / 426.7 MB 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) * 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.0003389/0.6524, allocations: 155.1 kB / 0.6045 GB, free: 9.809 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004591/0.6528, allocations: 362.7 kB / 0.6048 GB, free: 9.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.6528, allocations: 0 / 0.6048 GB, free: 9.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.653, allocations: 131.4 kB / 0.6049 GB, free: 9.289 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.6531, allocations: 8.672 kB / 0.6049 GB, free: 9.281 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003826/0.6535, allocations: 169.9 kB / 0.6051 GB, free: 9.098 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.6539, allocations: 0.6965 MB / 0.6058 GB, free: 8.375 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.925e-06/0.6539, allocations: 1.875 kB / 0.6058 GB, free: 8.375 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.306e-05/0.6539, allocations: 7.438 kB / 0.6058 GB, free: 8.371 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6539, allocations: 0 / 0.6058 GB, free: 8.371 MB / 426.7 MB Notification: Performance of Templates: time 0.004624/0.6586, allocations: 1.845 MB / 0.6076 GB, free: 6.586 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)