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.0009198/0.0009198, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.008073/0.008073, allocations: 174.1 kB / 16.27 MB, free: 6.613 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.785/1.785, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6553/0.6553, allocations: 95.62 MB / 366.4 MB, free: 10.25 MB / 302.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.0005749/0.0005749, allocations: 23.98 kB / 447.5 MB, free: 8.973 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3932, allocations: 70.33 MB / 0.5057 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001002/0.3943, allocations: 308.9 kB / 0.506 GB, free: 16.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001835/0.3961, allocations: 1.435 MB / 0.5074 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.92e-05/0.3962, allocations: 0 / 0.5074 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.971e-05/0.3963, allocations: 7.984 kB / 0.5074 GB, free: 14.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.053e-05/0.3963, allocations: 7.938 kB / 0.5074 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005597/0.3969, allocations: 139.5 kB / 0.5075 GB, free: 14.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.336e-05/0.397, allocations: 35.95 kB / 0.5075 GB, free: 14.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.981e-05/0.397, allocations: 4 kB / 0.5076 GB, free: 14.4 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.521e-05/0.3971, allocations: 19.92 kB / 0.5076 GB, free: 14.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.418e-05/0.3972, allocations: 27.91 kB / 0.5076 GB, free: 14.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.3972, allocations: 8 kB / 0.5076 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002681/0.3975, allocations: 191.7 kB / 0.5078 GB, free: 14.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.068e-05/0.3975, allocations: 11.94 kB / 0.5078 GB, free: 14.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.954e-05/0.3976, allocations: 49.5 kB / 0.5078 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002384/0.3978, allocations: 185.6 kB / 0.508 GB, free: 13.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3978, allocations: 0 / 0.508 GB, free: 13.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.3978, allocations: 4 kB / 0.508 GB, free: 13.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.3979, allocations: 0 / 0.508 GB, free: 13.91 MB / 382.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.0003936/0.3983, allocations: 434.7 kB / 0.5084 GB, free: 13.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.3983, allocations: 15.98 kB / 0.5085 GB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.301e-05/0.3984, allocations: 8.844 kB / 0.5085 GB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.3985, allocations: 176.2 kB / 0.5086 GB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.3985, allocations: 3.938 kB / 0.5086 GB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.3985, allocations: 4 kB / 0.5086 GB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.3987, allocations: 97.58 kB / 0.5087 GB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.3987, allocations: 0 / 0.5087 GB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.3987, allocations: 4 kB / 0.5087 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.3988, allocations: 0 / 0.5087 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.636e-05/0.3988, allocations: 59.95 kB / 0.5088 GB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001495/0.399, allocations: 181.6 kB / 0.509 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.493e-05/0.3991, allocations: 78.53 kB / 0.509 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.74e-05/0.3992, allocations: 68.89 kB / 0.5091 GB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.217e-06/0.3992, allocations: 0 / 0.5091 GB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.3992, allocations: 30.56 kB / 0.5091 GB, free: 12.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.3992, allocations: 3.938 kB / 0.5091 GB, free: 12.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003513/0.3996, allocations: 259.1 kB / 0.5094 GB, free: 12.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.3996, allocations: 85.14 kB / 0.5095 GB, free: 12.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.3997, allocations: 147.8 kB / 0.5096 GB, free: 12.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.3998, allocations: 25.7 kB / 0.5096 GB, free: 12.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.449e-05/0.3998, allocations: 88.14 kB / 0.5097 GB, free: 11.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.3998, allocations: 23.69 kB / 0.5097 GB, free: 11.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.3999, allocations: 17.7 kB / 0.5098 GB, free: 11.9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.668e-05/0.4, allocations: 326.8 kB / 0.5101 GB, free: 11.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.808e-05/0.4001, allocations: 99.94 kB / 0.5102 GB, free: 11.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.798e-05/0.4002, allocations: 103.9 kB / 0.5103 GB, free: 11.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.4004, allocations: 277.8 kB / 0.5105 GB, free: 11.08 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4004, allocations: 0 / 0.5105 GB, free: 11.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002504/0.4006, allocations: 324.8 kB / 0.5108 GB, free: 10.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.504e-05/0.4007, allocations: 71.38 kB / 0.5109 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.4007, allocations: 4 kB / 0.5109 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.4007, allocations: 0 / 0.5109 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.253e-06/0.4007, allocations: 0 / 0.5109 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.4007, allocations: 0 / 0.5109 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.4009, allocations: 12.06 kB / 0.5109 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.4009, allocations: 0 / 0.5109 GB, free: 10.65 MB / 382.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 9.339e-05/0.401, allocations: 155.5 kB / 0.5111 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.575e-05/0.4011, allocations: 11.89 kB / 0.5111 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.794e-05/0.4011, allocations: 8.25 kB / 0.5111 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.4011, allocations: 0 / 0.5111 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4011, allocations: 144 / 0.5111 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.4011, allocations: 3.984 kB / 0.5111 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.912e-05/0.4012, allocations: 181.5 kB / 0.5113 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4012, allocations: 0 / 0.5113 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.4012, allocations: 7.938 kB / 0.5113 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.4012, allocations: 0 / 0.5113 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.4013, allocations: 4 kB / 0.5113 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.4013, allocations: 0 / 0.5113 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4013, allocations: 0 / 0.5113 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.4015, allocations: 230.6 kB / 0.5115 GB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.324e-05/0.4015, allocations: 85.02 kB / 0.5116 GB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.4015, allocations: 4 kB / 0.5116 GB, free: 9.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.464e-05/0.4016, allocations: 12.02 kB / 0.5116 GB, free: 9.848 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.088e-05/0.4017, allocations: 4 kB / 0.5116 GB, free: 9.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.4017, allocations: 0 / 0.5116 GB, free: 9.844 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.87e-05/0.4017, allocations: 113.3 kB / 0.5117 GB, free: 9.734 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.92e-07/0.4017, allocations: 0 / 0.5117 GB, free: 9.734 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.402, allocations: 67.92 kB / 0.5118 GB, free: 9.668 MB / 382.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.000242/0.4022, allocations: 147.2 kB / 0.5119 GB, free: 9.512 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003297/0.4026, allocations: 378.6 kB / 0.5123 GB, free: 9.117 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.4026, allocations: 0 / 0.5123 GB, free: 9.117 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.833e-05/0.4027, allocations: 135.4 kB / 0.5124 GB, free: 8.973 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.4029, allocations: 7.938 kB / 0.5124 GB, free: 8.965 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003188/0.4032, allocations: 215.3 kB / 0.5126 GB, free: 8.727 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001638/0.4034, allocations: 0.7006 MB / 0.5133 GB, free: 8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.235e-06/0.4034, allocations: 3.906 kB / 0.5133 GB, free: 7.996 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.796e-06/0.4034, allocations: 7.438 kB / 0.5133 GB, free: 7.988 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4034, allocations: 0 / 0.5133 GB, free: 7.988 MB / 382.1 MB Notification: Performance of Templates: time 0.004124/0.4075, allocations: 1.921 MB / 0.5152 GB, free: 6.074 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: