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/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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007599/0.007599, allocations: 108.5 kB / 15.74 MB, free: 6.051 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.001287/0.001287, allocations: 193.2 kB / 16.67 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.697/1.697, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4774/0.4774, allocations: 95.49 MB / 365.4 MB, free: 12.15 MB / 318.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 75.91 kB / 0.5036 GB, free: 11.81 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4925/0.4944, allocations: 69.09 MB / 0.5711 GB, free: 4.117 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.00259/0.4971, allocations: 0.5793 MB / 0.5717 GB, free: 3.543 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002688/0.4998, allocations: 1.407 MB / 0.5731 GB, free: 2.121 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.699e-05/0.4999, allocations: 0 / 0.5731 GB, free: 2.121 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.71e-05/0.5, allocations: 7.938 kB / 0.5731 GB, free: 2.113 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.301e-05/0.5, allocations: 0 / 0.5731 GB, free: 2.113 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009388/0.501, allocations: 179.5 kB / 0.5732 GB, free: 1.938 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.5012, allocations: 51.95 kB / 0.5733 GB, free: 1.887 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.939e-05/0.5012, allocations: 11.52 kB / 0.5733 GB, free: 1.879 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.354e-05/0.5013, allocations: 19.92 kB / 0.5733 GB, free: 1.859 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.107e-05/0.5013, allocations: 23.91 kB / 0.5733 GB, free: 1.836 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.5014, allocations: 4 kB / 0.5733 GB, free: 1.832 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004327/0.5018, allocations: 199.7 kB / 0.5735 GB, free: 1.637 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6e-05/0.5019, allocations: 11.98 kB / 0.5735 GB, free: 1.625 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.297e-05/0.5019, allocations: 27.8 kB / 0.5736 GB, free: 1.598 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004254/0.5024, allocations: 183.5 kB / 0.5737 GB, free: 1.418 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.5024, allocations: 0 / 0.5737 GB, free: 1.418 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5024, allocations: 0 / 0.5737 GB, free: 1.418 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.5024, allocations: 7.938 kB / 0.5737 GB, free: 1.41 MB / 430.1 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.000615/0.503, allocations: 445 kB / 0.5742 GB, free: 0.918 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/0.5031, allocations: 15.98 kB / 0.5742 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.169e-05/0.5032, allocations: 4.844 kB / 0.5742 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.5034, allocations: 187.1 kB / 0.5744 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.5034, allocations: 0 / 0.5744 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.5034, allocations: 4 kB / 0.5744 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.5036, allocations: 97.64 kB / 0.5745 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.5037, allocations: 0 / 0.5745 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.5037, allocations: 4 kB / 0.5745 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.5037, allocations: 0 / 0.5745 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.5038, allocations: 63.89 kB / 0.5745 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002975/0.5042, allocations: 177.6 kB / 0.5747 GB, free: 292 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.5043, allocations: 74.53 kB / 0.5748 GB, free: 208 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.424e-05/0.5044, allocations: 72.89 kB / 0.5748 GB, free: 132 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.5044, allocations: 0 / 0.5748 GB, free: 132 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.221e-05/0.5045, allocations: 34.56 kB / 0.5749 GB, free: 88 kB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.5045, allocations: 0 / 0.5749 GB, free: 88 kB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004929/0.505, allocations: 259.1 kB / 0.5751 GB, free: 15.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.339e-05/0.5051, allocations: 81.11 kB / 0.5752 GB, free: 15.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.5052, allocations: 137.8 kB / 0.5753 GB, free: 15.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.5053, allocations: 29.7 kB / 0.5754 GB, free: 15.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.5053, allocations: 95.98 kB / 0.5755 GB, free: 15.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.5054, allocations: 11.84 kB / 0.5755 GB, free: 15.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.738e-05/0.5055, allocations: 29.7 kB / 0.5755 GB, free: 15.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.5056, allocations: 330.8 kB / 0.5758 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.5058, allocations: 99.94 kB / 0.5759 GB, free: 14.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.5059, allocations: 103.9 kB / 0.576 GB, free: 14.87 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003127/0.5062, allocations: 273.7 kB / 0.5763 GB, free: 14.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.5063, allocations: 0 / 0.5763 GB, free: 14.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004092/0.5067, allocations: 328.7 kB / 0.5766 GB, free: 14.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.5e-05/0.5068, allocations: 71.39 kB / 0.5766 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.5068, allocations: 4 kB / 0.5766 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.5068, allocations: 0 / 0.5766 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.613e-06/0.5068, allocations: 4.062 kB / 0.5766 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.5068, allocations: 0 / 0.5766 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/0.507, allocations: 15.84 kB / 0.5767 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.5071, allocations: 0 / 0.5767 GB, free: 14.13 MB / 446.1 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 () * 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 0.0001393/0.5072, allocations: 160.1 kB / 0.5768 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.213e-05/0.5072, allocations: 7.906 kB / 0.5768 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.404e-05/0.5073, allocations: 8.25 kB / 0.5768 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.5073, allocations: 144 / 0.5768 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.5073, allocations: 3.938 kB / 0.5768 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.5073, allocations: 7.984 kB / 0.5768 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.5075, allocations: 177.6 kB / 0.577 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.5075, allocations: 0 / 0.577 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.042e-06/0.5075, allocations: 0 / 0.577 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.5075, allocations: 0 / 0.577 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.5075, allocations: 4 kB / 0.577 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.5075, allocations: 0 / 0.577 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.5075, allocations: 3.984 kB / 0.577 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003204/0.5079, allocations: 238.5 kB / 0.5772 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.5079, allocations: 81.02 kB / 0.5773 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.508, allocations: 4 kB / 0.5773 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.392e-05/0.508, allocations: 3.984 kB / 0.5773 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.096e-05/0.5081, allocations: 8 kB / 0.5773 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.5082, allocations: 4 kB / 0.5773 GB, free: 13.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.755e-05/0.5083, allocations: 106.7 kB / 0.5774 GB, free: 13.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5083, allocations: 3.938 kB / 0.5775 GB, free: 13.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003873/0.5087, allocations: 67.98 kB / 0.5775 GB, free: 13.15 MB / 446.1 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) * 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.0003438/0.509, allocations: 152.2 kB / 0.5777 GB, free: 13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005062/0.5095, allocations: 374.6 kB / 0.578 GB, free: 12.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.5096, allocations: 0 / 0.578 GB, free: 12.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.5098, allocations: 139.3 kB / 0.5782 GB, free: 12.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.51, allocations: 8 kB / 0.5782 GB, free: 12.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00044/0.5104, allocations: 201.7 kB / 0.5784 GB, free: 12.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.5108, allocations: 0.6925 MB / 0.579 GB, free: 11.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.695e-06/0.5108, allocations: 0 / 0.579 GB, free: 11.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.087e-05/0.5108, allocations: 7.438 kB / 0.579 GB, free: 11.5 MB / 446.1 MB Notification: Performance of SimCode: time 6.52e-07/0.5108, allocations: 4 kB / 0.579 GB, free: 11.49 MB / 446.1 MB Notification: Performance of Templates: time 0.006013/0.5168, allocations: 2.041 MB / 0.581 GB, free: 9.457 MB / 446.1 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)