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.0008979/0.000898, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009313/0.0009312, allocations: 196.6 kB / 16.14 MB, free: 6.711 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.169/1.169, allocations: 205.1 MB / 222 MB, free: 4.996 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.352/1.352, allocations: 251.6 MB / 0.5088 GB, free: 3.371 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.00113/0.00113, allocations: 63.91 kB / 0.6216 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.36, allocations: 104.7 MB / 0.7238 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001652/0.3617, allocations: 0.683 MB / 0.7245 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001544/0.3633, allocations: 1.474 MB / 0.7259 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.805e-05/0.3633, allocations: 0 / 0.7259 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.602e-05/0.3633, allocations: 0 / 0.7259 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.705e-05/0.3634, allocations: 3.938 kB / 0.7259 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004474/0.3638, allocations: 135.7 kB / 0.7261 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.588e-05/0.3639, allocations: 39.95 kB / 0.7261 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.362e-05/0.3639, allocations: 4 kB / 0.7261 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.444e-05/0.364, allocations: 23.92 kB / 0.7261 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.473e-05/0.364, allocations: 19.97 kB / 0.7261 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.3641, allocations: 4 kB / 0.7261 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002556/0.3643, allocations: 195.7 kB / 0.7263 GB, free: 10.56 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.926e-05/0.3644, allocations: 15.94 kB / 0.7263 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.833e-05/0.3644, allocations: 19.86 kB / 0.7264 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002491/0.3647, allocations: 189.5 kB / 0.7265 GB, free: 10.34 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3647, allocations: 0 / 0.7265 GB, free: 10.34 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.42e-07/0.3647, allocations: 0 / 0.7265 GB, free: 10.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.3647, allocations: 4 kB / 0.7265 GB, free: 10.34 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.0005017/0.3652, allocations: 442.6 kB / 0.727 GB, free: 9.844 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.3652, allocations: 8.031 kB / 0.727 GB, free: 9.836 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.623e-05/0.3653, allocations: 8.844 kB / 0.727 GB, free: 9.828 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.3654, allocations: 168.3 kB / 0.7271 GB, free: 9.625 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.3655, allocations: 4.375 kB / 0.7271 GB, free: 9.621 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.3655, allocations: 384 / 0.7271 GB, free: 9.621 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.3657, allocations: 105.9 kB / 0.7272 GB, free: 9.512 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.3657, allocations: 0 / 0.7272 GB, free: 9.512 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.3657, allocations: 8 kB / 0.7273 GB, free: 9.504 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3657, allocations: 3.938 kB / 0.7273 GB, free: 9.5 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.393e-05/0.3658, allocations: 63.95 kB / 0.7273 GB, free: 9.438 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000151/0.366, allocations: 169.6 kB / 0.7275 GB, free: 9.223 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.3661, allocations: 78.53 kB / 0.7276 GB, free: 9.137 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.733e-05/0.3662, allocations: 68.88 kB / 0.7276 GB, free: 9.066 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.3662, allocations: 8 kB / 0.7276 GB, free: 9.059 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.3662, allocations: 38.5 kB / 0.7277 GB, free: 9.012 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3662, allocations: 3.938 kB / 0.7277 GB, free: 9.008 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0003926/0.3666, allocations: 255.1 kB / 0.7279 GB, free: 8.746 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.3667, allocations: 77.11 kB / 0.728 GB, free: 8.652 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.3668, allocations: 143.5 kB / 0.7281 GB, free: 8.504 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.3669, allocations: 29.7 kB / 0.7282 GB, free: 8.469 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.919e-05/0.3669, allocations: 96.02 kB / 0.7282 GB, free: 8.371 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.367, allocations: 11.84 kB / 0.7283 GB, free: 8.359 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.068e-05/0.367, allocations: 33.75 kB / 0.7283 GB, free: 8.32 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.3671, allocations: 314.8 kB / 0.7286 GB, free: 8.004 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.3673, allocations: 103.9 kB / 0.7287 GB, free: 7.902 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.3674, allocations: 103.9 kB / 0.7288 GB, free: 7.801 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002775/0.3677, allocations: 285.7 kB / 0.7291 GB, free: 7.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3677, allocations: 0 / 0.7291 GB, free: 7.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003279/0.368, allocations: 316.8 kB / 0.7294 GB, free: 7.172 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.021e-05/0.3681, allocations: 71.39 kB / 0.7294 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3681, allocations: 0 / 0.7294 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.3681, allocations: 12.06 kB / 0.7294 GB, free: 7.078 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.064e-06/0.3681, allocations: 0 / 0.7294 GB, free: 7.078 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3681, allocations: 3.938 kB / 0.7294 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.3682, allocations: 11.89 kB / 0.7295 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.3683, allocations: 4 kB / 0.7295 GB, free: 7.059 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.355e-05/0.3684, allocations: 147.5 kB / 0.7296 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.743e-05/0.3684, allocations: 11.84 kB / 0.7296 GB, free: 6.887 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.451e-05/0.3684, allocations: 8.25 kB / 0.7296 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.3684, allocations: 0 / 0.7296 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3684, allocations: 8 kB / 0.7296 GB, free: 6.863 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.3684, allocations: 0 / 0.7296 GB, free: 6.863 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.416e-05/0.3685, allocations: 173.6 kB / 0.7298 GB, free: 6.645 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.3685, allocations: 0 / 0.7298 GB, free: 6.645 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.533e-06/0.3685, allocations: 3.938 kB / 0.7298 GB, free: 6.641 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.3685, allocations: 0 / 0.7298 GB, free: 6.641 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.3686, allocations: 0 / 0.7298 GB, free: 6.641 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.3686, allocations: 7.922 kB / 0.7298 GB, free: 6.633 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3686, allocations: 4 kB / 0.7298 GB, free: 6.629 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.3688, allocations: 226.7 kB / 0.73 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.333e-05/0.3688, allocations: 89.03 kB / 0.7301 GB, free: 6.277 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.3689, allocations: 0 / 0.7301 GB, free: 6.277 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.39e-05/0.3689, allocations: 4 kB / 0.7301 GB, free: 6.273 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.369, allocations: 8.125 kB / 0.7301 GB, free: 6.266 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.369, allocations: 4 kB / 0.7301 GB, free: 6.262 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.615e-05/0.369, allocations: 113.7 kB / 0.7302 GB, free: 6.152 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.369, allocations: 0 / 0.7302 GB, free: 6.152 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002465/0.3693, allocations: 63.94 kB / 0.7303 GB, free: 6.09 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 (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.0002403/0.3695, allocations: 163.2 kB / 0.7304 GB, free: 5.922 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003285/0.3699, allocations: 374.6 kB / 0.7308 GB, free: 5.531 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.3699, allocations: 0 / 0.7308 GB, free: 5.531 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.37, allocations: 135.3 kB / 0.7309 GB, free: 5.387 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.3702, allocations: 7.938 kB / 0.7309 GB, free: 5.379 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003027/0.3705, allocations: 230 kB / 0.7312 GB, free: 5.129 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.3707, allocations: 0.6965 MB / 0.7318 GB, free: 4.406 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.37e-06/0.3707, allocations: 0 / 0.7318 GB, free: 4.406 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.364e-06/0.3707, allocations: 7.438 kB / 0.7318 GB, free: 4.398 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.3707, allocations: 0 / 0.7318 GB, free: 4.398 MB / 0.545 GB Notification: Performance of Templates: time 0.003685/0.3744, allocations: 1.925 MB / 0.7337 GB, free: 2.48 MB / 0.545 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)