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.005409/0.005414, allocations: 101.3 kB / 15.73 MB, free: 6.047 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.001268/0.001268, allocations: 188.6 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.204/1.204, 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 7.0.3-maint.7.0.x/package.mo): time 1.275/1.275, allocations: 251.7 MB / 0.5094 GB, free: 444 kB / 430.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.001338/0.001338, allocations: 71.89 kB / 0.7258 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4785/0.4799, allocations: 104.7 MB / 0.8281 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001597/0.4815, allocations: 0.6225 MB / 0.8287 GB, free: 1.992 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.001644/0.4832, allocations: 1.424 MB / 0.8301 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.403e-05/0.4832, allocations: 0 / 0.8301 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 4.247e-05/0.4833, allocations: 0 / 0.8301 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 4.01e-05/0.4833, allocations: 11.92 kB / 0.8301 GB, free: 0.5469 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005774/0.4839, allocations: 175.6 kB / 0.8303 GB, free: 384 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 9.707e-05/0.484, allocations: 47.95 kB / 0.8303 GB, free: 336 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 3.232e-05/0.4841, allocations: 7.516 kB / 0.8303 GB, free: 332 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 3.049e-05/0.4841, allocations: 15.92 kB / 0.8303 GB, free: 316 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 5.391e-05/0.4842, allocations: 31.95 kB / 0.8304 GB, free: 284 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.4842, allocations: 0 / 0.8304 GB, free: 284 kB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000296/0.4845, allocations: 207.7 kB / 0.8306 GB, free: 76 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 3.837e-05/0.4845, allocations: 11.94 kB / 0.8306 GB, free: 64 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 3.717e-05/0.4846, allocations: 27.84 kB / 0.8306 GB, free: 36 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0002542/0.4848, allocations: 187.6 kB / 0.8308 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.4848, allocations: 3.984 kB / 0.8308 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4848, allocations: 0 / 0.8308 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.4849, allocations: 0 / 0.8308 GB, free: 15.85 MB / 0.6387 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.0004053/0.4853, allocations: 440.9 kB / 0.8312 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.4853, allocations: 8.031 kB / 0.8312 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.4853, allocations: 8.844 kB / 0.8312 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.4855, allocations: 172.2 kB / 0.8314 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.4855, allocations: 384 / 0.8314 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.4855, allocations: 4.375 kB / 0.8314 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.4857, allocations: 105.7 kB / 0.8315 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.962e-06/0.4857, allocations: 3.938 kB / 0.8315 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-06/0.4857, allocations: 0 / 0.8315 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.4857, allocations: 4 kB / 0.8315 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.976e-05/0.4858, allocations: 63.94 kB / 0.8315 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001461/0.4859, allocations: 165.7 kB / 0.8317 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.4861, allocations: 82.53 kB / 0.8318 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.379e-05/0.4861, allocations: 68.89 kB / 0.8318 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.789e-06/0.4862, allocations: 3.984 kB / 0.8319 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.4862, allocations: 50.42 kB / 0.8319 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.4862, allocations: 0 / 0.8319 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4): time 0.0003427/0.4865, allocations: 251.2 kB / 0.8321 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.4866, allocations: 77.11 kB / 0.8322 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.4867, allocations: 145.2 kB / 0.8324 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.4867, allocations: 25.7 kB / 0.8324 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.72e-05/0.4868, allocations: 96.08 kB / 0.8325 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.4868, allocations: 15.83 kB / 0.8325 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/0.4869, allocations: 25.72 kB / 0.8325 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.453e-05/0.487, allocations: 318.8 kB / 0.8328 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.4871, allocations: 99.94 kB / 0.8329 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.4872, allocations: 107.9 kB / 0.833 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/0.4874, allocations: 281.8 kB / 0.8333 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4874, allocations: 3.938 kB / 0.8333 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000315/0.4878, allocations: 324.8 kB / 0.8336 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.775e-05/0.4878, allocations: 67.39 kB / 0.8337 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.4878, allocations: 0 / 0.8337 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.4878, allocations: 0 / 0.8337 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.294e-06/0.4879, allocations: 4 kB / 0.8337 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.4879, allocations: 0 / 0.8337 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.488, allocations: 19.78 kB / 0.8337 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.488, allocations: 7.984 kB / 0.8337 GB, free: 12.57 MB / 0.6387 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 0.0001025/0.4881, allocations: 148.6 kB / 0.8338 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.684e-05/0.4881, allocations: 15.88 kB / 0.8338 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.307e-05/0.4882, allocations: 4.25 kB / 0.8338 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.4882, allocations: 0 / 0.8338 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.4882, allocations: 0 / 0.8338 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4882, allocations: 4 kB / 0.8339 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/0.4883, allocations: 177.6 kB / 0.834 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4883, allocations: 7.938 kB / 0.834 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.774e-06/0.4883, allocations: 4 kB / 0.834 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.4883, allocations: 0 / 0.834 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.4883, allocations: 0 / 0.834 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4883, allocations: 0 / 0.834 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4883, allocations: 7.938 kB / 0.834 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.4886, allocations: 230.6 kB / 0.8343 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.945e-05/0.4886, allocations: 88.95 kB / 0.8343 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.4886, allocations: 0 / 0.8343 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.597e-05/0.4887, allocations: 7.984 kB / 0.8344 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/0.4887, allocations: 4 kB / 0.8344 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.4888, allocations: 3.984 kB / 0.8344 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.798e-05/0.4888, allocations: 111.3 kB / 0.8345 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4888, allocations: 0 / 0.8345 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002513/0.4891, allocations: 63.98 kB / 0.8345 GB, free: 11.6 MB / 0.6387 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.0002343/0.4893, allocations: 147.2 kB / 0.8347 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000358/0.4897, allocations: 382.6 kB / 0.835 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.4897, allocations: 0 / 0.835 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.4898, allocations: 135.3 kB / 0.8352 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.49, allocations: 8.062 kB / 0.8352 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003012/0.4903, allocations: 213.5 kB / 0.8354 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.4905, allocations: 0.6885 MB / 0.836 GB, free: 9.941 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 7.184e-06/0.4905, allocations: 7.938 kB / 0.8361 GB, free: 9.934 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.556e-06/0.4905, allocations: 7.438 kB / 0.8361 GB, free: 9.926 MB / 0.6387 GB Notification: Performance of SimCode: time 2e-07/0.4905, allocations: 0 / 0.8361 GB, free: 9.926 MB / 0.6387 GB Notification: Performance of Templates: time 0.004065/0.4946, allocations: 2.042 MB / 0.8381 GB, free: 7.891 MB / 0.6387 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)