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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000912/0.000912, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.000938/0.0009383, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.805/1.805, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.534/1.534, allocations: 252 MB / 0.5102 GB, free: 4.738 MB / 414.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.0005675/0.0005676, allocations: 12 kB / 0.6243 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5635/0.5641, allocations: 106.3 MB / 0.7281 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.0008754/0.565, allocations: 352.5 kB / 0.7285 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001769/0.5668, allocations: 1.373 MB / 0.7298 GB, free: 9.668 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.441e-05/0.5668, allocations: 0 / 0.7298 GB, free: 9.668 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.719e-05/0.5669, allocations: 3.984 kB / 0.7298 GB, free: 9.664 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.69e-05/0.567, allocations: 7.938 kB / 0.7298 GB, free: 9.656 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005426/0.5675, allocations: 135.8 kB / 0.73 GB, free: 9.523 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.284e-05/0.5676, allocations: 31.95 kB / 0.73 GB, free: 9.492 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.435e-05/0.5676, allocations: 7.938 kB / 0.73 GB, free: 9.484 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.077e-05/0.5677, allocations: 15.98 kB / 0.73 GB, free: 9.469 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.491e-05/0.5677, allocations: 35.89 kB / 0.73 GB, free: 9.434 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.5678, allocations: 4 kB / 0.7301 GB, free: 9.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002882/0.5681, allocations: 171.8 kB / 0.7302 GB, free: 9.262 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.358e-05/0.5681, allocations: 11.98 kB / 0.7302 GB, free: 9.25 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.088e-05/0.5682, allocations: 33.64 kB / 0.7303 GB, free: 9.211 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.5683, allocations: 129.8 kB / 0.7304 GB, free: 9.086 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.5684, allocations: 0 / 0.7304 GB, free: 9.086 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5684, allocations: 3.938 kB / 0.7304 GB, free: 9.082 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.5684, allocations: 0 / 0.7304 GB, free: 9.082 MB / 0.545 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.0004812/0.5689, allocations: 426.5 kB / 0.7308 GB, free: 8.605 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.5689, allocations: 12.03 kB / 0.7308 GB, free: 8.594 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.569, allocations: 7.891 kB / 0.7308 GB, free: 8.586 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.5691, allocations: 174.9 kB / 0.731 GB, free: 8.375 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.5691, allocations: 4 kB / 0.731 GB, free: 8.371 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.5691, allocations: 11.94 kB / 0.731 GB, free: 8.359 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.5693, allocations: 101.6 kB / 0.7311 GB, free: 8.254 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.5694, allocations: 0 / 0.7311 GB, free: 8.254 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.5694, allocations: 4 kB / 0.7311 GB, free: 8.25 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.5694, allocations: 0 / 0.7311 GB, free: 8.25 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.719e-05/0.5695, allocations: 59.95 kB / 0.7312 GB, free: 8.191 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000187/0.5697, allocations: 177.6 kB / 0.7313 GB, free: 7.969 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.5698, allocations: 74.53 kB / 0.7314 GB, free: 7.887 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.328e-05/0.5699, allocations: 76.89 kB / 0.7315 GB, free: 7.809 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.883e-06/0.5699, allocations: 0 / 0.7315 GB, free: 7.809 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.5699, allocations: 34.5 kB / 0.7315 GB, free: 7.766 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.5699, allocations: 0 / 0.7315 GB, free: 7.766 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0003962/0.5703, allocations: 251.2 kB / 0.7317 GB, free: 7.508 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.5704, allocations: 81.09 kB / 0.7318 GB, free: 7.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.5705, allocations: 139.6 kB / 0.7319 GB, free: 7.266 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.5705, allocations: 29.69 kB / 0.732 GB, free: 7.23 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/0.5706, allocations: 100.1 kB / 0.7321 GB, free: 7.129 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.5706, allocations: 15.84 kB / 0.7321 GB, free: 7.113 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-06/0.5706, allocations: 0 / 0.7321 GB, free: 7.113 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.5708, allocations: 326.8 kB / 0.7324 GB, free: 6.785 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.5709, allocations: 99.94 kB / 0.7325 GB, free: 6.688 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.5711, allocations: 103.9 kB / 0.7326 GB, free: 6.586 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.5713, allocations: 163.2 kB / 0.7328 GB, free: 6.414 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5713, allocations: 4 kB / 0.7328 GB, free: 6.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003753/0.5716, allocations: 324.9 kB / 0.7331 GB, free: 6.074 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.749e-05/0.5717, allocations: 71.39 kB / 0.7331 GB, free: 5.992 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.5717, allocations: 3.984 kB / 0.7331 GB, free: 5.988 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.5717, allocations: 0 / 0.7331 GB, free: 5.988 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.5718, allocations: 0 / 0.7331 GB, free: 5.988 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.5718, allocations: 0 / 0.7331 GB, free: 5.988 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.5719, allocations: 11.91 kB / 0.7331 GB, free: 5.977 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.5719, allocations: 8 kB / 0.7332 GB, free: 5.969 MB / 0.545 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 0.0001087/0.5721, allocations: 147.5 kB / 0.7333 GB, free: 5.809 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.5721, allocations: 11.91 kB / 0.7333 GB, free: 5.797 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.079e-05/0.5721, allocations: 12.38 kB / 0.7333 GB, free: 5.777 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.5721, allocations: 3.984 kB / 0.7333 GB, free: 5.773 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.5721, allocations: 0 / 0.7333 GB, free: 5.773 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.5721, allocations: 0 / 0.7333 GB, free: 5.773 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.5723, allocations: 181.5 kB / 0.7335 GB, free: 5.547 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5723, allocations: 0 / 0.7335 GB, free: 5.547 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-07/0.5723, allocations: 0 / 0.7335 GB, free: 5.547 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.5723, allocations: 0 / 0.7335 GB, free: 5.547 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.5724, allocations: 11.88 kB / 0.7335 GB, free: 5.535 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.5724, allocations: 0 / 0.7335 GB, free: 5.535 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.5724, allocations: 4 kB / 0.7335 GB, free: 5.531 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.5726, allocations: 234.6 kB / 0.7337 GB, free: 5.277 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.5727, allocations: 81.02 kB / 0.7338 GB, free: 5.18 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.5727, allocations: 4 kB / 0.7338 GB, free: 5.176 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.429e-05/0.5728, allocations: 4 kB / 0.7338 GB, free: 5.172 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.118e-05/0.5728, allocations: 7.984 kB / 0.7338 GB, free: 5.164 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.5728, allocations: 0 / 0.7338 GB, free: 5.164 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.703e-05/0.5729, allocations: 117.3 kB / 0.7339 GB, free: 5.051 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.834e-06/0.5729, allocations: 0 / 0.7339 GB, free: 5.051 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002733/0.5732, allocations: 67.94 kB / 0.734 GB, free: 4.984 MB / 0.545 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.0002665/0.5735, allocations: 151.2 kB / 0.7341 GB, free: 4.828 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003769/0.5738, allocations: 366.6 kB / 0.7345 GB, free: 4.445 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5739, allocations: 0 / 0.7345 GB, free: 4.445 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.574, allocations: 139.3 kB / 0.7346 GB, free: 4.297 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.5741, allocations: 8.125 kB / 0.7346 GB, free: 4.289 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003431/0.5745, allocations: 215.3 kB / 0.7348 GB, free: 4.051 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.5748, allocations: 0.6926 MB / 0.7355 GB, free: 3.332 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.471e-06/0.5748, allocations: 0 / 0.7355 GB, free: 3.332 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.548e-06/0.5748, allocations: 7.438 kB / 0.7355 GB, free: 3.324 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.5748, allocations: 0 / 0.7355 GB, free: 3.324 MB / 0.545 GB Notification: Performance of Templates: time 0.004099/0.5789, allocations: 1.882 MB / 0.7374 GB, free: 1.453 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: