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.0009019/0.0009019, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001145/0.001146, allocations: 172.7 kB / 15.95 MB, free: 208 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.958/1.958, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.8217/0.8217, allocations: 95.62 MB / 366 MB, free: 10.35 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.0006016/0.0006017, allocations: 24 kB / 446.9 MB, free: 9.332 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4432/0.4439, allocations: 70.34 MB / 0.5051 GB, free: 16.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.0008904/0.4448, allocations: 300.9 kB / 0.5054 GB, free: 16.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001929/0.4468, allocations: 1.369 MB / 0.5067 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.797e-05/0.4468, allocations: 0 / 0.5067 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.188e-05/0.4469, allocations: 0 / 0.5067 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.782e-05/0.447, allocations: 7.984 kB / 0.5067 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000719/0.4477, allocations: 139.7 kB / 0.5068 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.153e-05/0.4478, allocations: 35.95 kB / 0.5069 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.496e-05/0.4479, allocations: 4 kB / 0.5069 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.282e-05/0.4479, allocations: 15.92 kB / 0.5069 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.734e-05/0.448, allocations: 35.84 kB / 0.5069 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.448, allocations: 0 / 0.5069 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003425/0.4484, allocations: 183.7 kB / 0.5071 GB, free: 14.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.464e-05/0.4485, allocations: 11.98 kB / 0.5071 GB, free: 14.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.747e-05/0.4485, allocations: 33.64 kB / 0.5072 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.4487, allocations: 121.8 kB / 0.5073 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4488, allocations: 4 kB / 0.5073 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4488, allocations: 0 / 0.5073 GB, free: 14.22 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.86e-06/0.4488, allocations: 0 / 0.5073 GB, free: 14.22 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.0004179/0.4492, allocations: 430.5 kB / 0.5077 GB, free: 13.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.4493, allocations: 11.98 kB / 0.5077 GB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.4493, allocations: 7.906 kB / 0.5077 GB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.4494, allocations: 174.9 kB / 0.5079 GB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.4495, allocations: 15.89 kB / 0.5079 GB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.4495, allocations: 4 kB / 0.5079 GB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.4497, allocations: 93.64 kB / 0.508 GB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.4498, allocations: 0 / 0.508 GB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.4498, allocations: 0 / 0.508 GB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.4498, allocations: 4 kB / 0.508 GB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.4499, allocations: 63.89 kB / 0.508 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001607/0.4501, allocations: 169.7 kB / 0.5082 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.4502, allocations: 78.53 kB / 0.5083 GB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.4504, allocations: 76.84 kB / 0.5084 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.4504, allocations: 0 / 0.5084 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.4504, allocations: 34.56 kB / 0.5084 GB, free: 12.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.4504, allocations: 0 / 0.5084 GB, free: 12.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004909/0.4509, allocations: 251.1 kB / 0.5086 GB, free: 12.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.451, allocations: 85.09 kB / 0.5087 GB, free: 12.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.4511, allocations: 144 kB / 0.5088 GB, free: 12.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.4511, allocations: 29.73 kB / 0.5089 GB, free: 12.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/0.4512, allocations: 100 kB / 0.509 GB, free: 12.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.4512, allocations: 7.844 kB / 0.509 GB, free: 12.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.296e-06/0.4513, allocations: 4 kB / 0.509 GB, free: 12.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.253e-05/0.4513, allocations: 318.8 kB / 0.5093 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.4515, allocations: 99.94 kB / 0.5094 GB, free: 11.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.4516, allocations: 107.9 kB / 0.5095 GB, free: 11.72 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001854/0.4518, allocations: 159.3 kB / 0.5096 GB, free: 11.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.4519, allocations: 0 / 0.5096 GB, free: 11.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004057/0.4523, allocations: 328.7 kB / 0.5099 GB, free: 11.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.706e-05/0.4523, allocations: 67.39 kB / 0.51 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.4524, allocations: 0 / 0.51 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.4524, allocations: 7.984 kB / 0.51 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.362e-06/0.4524, allocations: 0 / 0.51 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.4524, allocations: 0 / 0.51 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.4526, allocations: 7.906 kB / 0.51 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.4526, allocations: 8 kB / 0.51 GB, free: 11.11 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.987e-05/0.4528, allocations: 147.5 kB / 0.5102 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/0.4528, allocations: 15.89 kB / 0.5102 GB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.055e-05/0.4528, allocations: 16.23 kB / 0.5102 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.4528, allocations: 0 / 0.5102 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.4528, allocations: 0 / 0.5102 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.4529, allocations: 0 / 0.5102 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.453, allocations: 181.6 kB / 0.5104 GB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.453, allocations: 0 / 0.5104 GB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.393e-06/0.453, allocations: 144 / 0.5104 GB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.453, allocations: 3.938 kB / 0.5104 GB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.453, allocations: 15.88 kB / 0.5104 GB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.453, allocations: 0 / 0.5104 GB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.4531, allocations: 4 kB / 0.5104 GB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003228/0.4534, allocations: 230.6 kB / 0.5106 GB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.695e-05/0.4534, allocations: 85.02 kB / 0.5107 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.4535, allocations: 0 / 0.5107 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.57e-05/0.4535, allocations: 7.953 kB / 0.5107 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.314e-05/0.4536, allocations: 7.984 kB / 0.5107 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.4536, allocations: 4 kB / 0.5107 GB, free: 10.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.444e-05/0.4537, allocations: 111.3 kB / 0.5108 GB, free: 10.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4537, allocations: 0 / 0.5108 GB, free: 10.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004442/0.4542, allocations: 60 kB / 0.5109 GB, free: 10.13 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 (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.0003033/0.4545, allocations: 147.2 kB / 0.511 GB, free: 9.973 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004918/0.455, allocations: 366.7 kB / 0.5114 GB, free: 9.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.455, allocations: 0 / 0.5114 GB, free: 9.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.4552, allocations: 143.3 kB / 0.5115 GB, free: 9.438 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.4554, allocations: 10.31 kB / 0.5115 GB, free: 9.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004222/0.4558, allocations: 207.3 kB / 0.5117 GB, free: 9.199 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001673/0.456, allocations: 0.6926 MB / 0.5124 GB, free: 8.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.684e-06/0.456, allocations: 0 / 0.5124 GB, free: 8.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.145e-05/0.4561, allocations: 7.438 kB / 0.5124 GB, free: 8.473 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4561, allocations: 3.938 kB / 0.5124 GB, free: 8.469 MB / 382.1 MB Notification: Performance of Templates: time 0.005943/0.462, allocations: 1.875 MB / 0.5142 GB, free: 6.598 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: