Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001398/0.001398, allocations: 192.7 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.821/2.821, allocations: 472.6 MB / 0.7448 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 70.23 kB / 0.9115 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3598, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.003103/0.363, allocations: 1.646 MB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001458/0.3645, allocations: 0.9034 MB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.025e-05/0.3646, allocations: 4 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002783/0.3648, allocations: 59.77 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004792/0.3653, allocations: 139.5 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.769e-05/0.3654, allocations: 15.92 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004516/0.3659, allocations: 350.4 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.366, allocations: 48.72 kB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002559/0.3663, allocations: 139.4 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002316/0.3665, allocations: 151.3 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.946e-05/0.3665, allocations: 16 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002981/0.3695, allocations: 0.5708 MB / 1.072 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.3697, allocations: 59.7 kB / 1.072 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.3698, allocations: 127.3 kB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01425/0.3841, allocations: 13.31 MB / 1.085 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3841, allocations: 0 / 1.085 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3841, allocations: 0 / 1.085 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.3842, allocations: 0 / 1.085 GB, free: 9.199 MB / 0.8419 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.001545/0.3857, allocations: 0.6576 MB / 1.085 GB, free: 8.492 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.3858, allocations: 8.031 kB / 1.085 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.713e-05/0.3858, allocations: 36.5 kB / 1.085 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004877/0.3863, allocations: 378.2 kB / 1.086 GB, free: 8.047 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.3864, allocations: 4.375 kB / 1.086 GB, free: 8.043 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.3864, allocations: 4.375 kB / 1.086 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.3866, allocations: 105.3 kB / 1.086 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.3866, allocations: 0 / 1.086 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.3866, allocations: 4 kB / 1.086 GB, free: 7.914 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3866, allocations: 3.938 kB / 1.086 GB, free: 7.91 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.3867, allocations: 67.86 kB / 1.086 GB, free: 7.844 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003938/0.3871, allocations: 352.1 kB / 1.086 GB, free: 7.441 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.3873, allocations: 102.4 kB / 1.086 GB, free: 7.305 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.001e-05/0.3874, allocations: 63.39 kB / 1.087 GB, free: 7.23 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.3874, allocations: 8 kB / 1.087 GB, free: 7.223 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.3874, allocations: 38.5 kB / 1.087 GB, free: 7.176 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3874, allocations: 0 / 1.087 GB, free: 7.176 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0003492/0.3878, allocations: 185.1 kB / 1.087 GB, free: 6.988 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.577e-05/0.3879, allocations: 137 kB / 1.087 GB, free: 6.824 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005669/0.3884, allocations: 0.4975 MB / 1.087 GB, free: 6.32 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.3885, allocations: 25.7 kB / 1.087 GB, free: 6.289 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.3886, allocations: 164.3 kB / 1.088 GB, free: 6.125 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.3886, allocations: 15.84 kB / 1.088 GB, free: 6.109 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.249e-05/0.3887, allocations: 53.59 kB / 1.088 GB, free: 6.051 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002416/0.389, allocations: 338.8 kB / 1.088 GB, free: 5.711 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000249/0.3892, allocations: 119.9 kB / 1.088 GB, free: 5.594 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.3894, allocations: 186.7 kB / 1.088 GB, free: 5.387 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003333/0.3898, allocations: 259.2 kB / 1.088 GB, free: 5.121 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3898, allocations: 0 / 1.088 GB, free: 5.121 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004393/0.3902, allocations: 329.1 kB / 1.089 GB, free: 4.793 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.3903, allocations: 15.92 kB / 1.089 GB, free: 4.777 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.3903, allocations: 4 kB / 1.089 GB, free: 4.773 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.3903, allocations: 0 / 1.089 GB, free: 4.773 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.3905, allocations: 19.98 kB / 1.089 GB, free: 4.754 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.3905, allocations: 3.938 kB / 1.089 GB, free: 4.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.3907, allocations: 23.83 kB / 1.089 GB, free: 4.727 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.3907, allocations: 7.938 kB / 1.089 GB, free: 4.719 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001642/0.3909, allocations: 177.8 kB / 1.089 GB, free: 4.535 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.644e-05/0.3909, allocations: 31.56 kB / 1.089 GB, free: 4.504 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004088/0.3913, allocations: 191.9 kB / 1.089 GB, free: 4.305 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.3913, allocations: 0 / 1.089 GB, free: 4.305 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.3914, allocations: 3.984 kB / 1.089 GB, free: 4.301 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3914, allocations: 4 kB / 1.089 GB, free: 4.297 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002668/0.3916, allocations: 293.4 kB / 1.09 GB, free: 3.961 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3917, allocations: 3.938 kB / 1.09 GB, free: 3.957 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.008e-05/0.3917, allocations: 16.12 kB / 1.09 GB, free: 3.941 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.3918, allocations: 3.938 kB / 1.09 GB, free: 3.938 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.3918, allocations: 11.98 kB / 1.09 GB, free: 3.926 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3918, allocations: 0 / 1.09 GB, free: 3.926 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3918, allocations: 3.938 kB / 1.09 GB, free: 3.922 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002909/0.3921, allocations: 191.2 kB / 1.09 GB, free: 3.707 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.3922, allocations: 128.7 kB / 1.09 GB, free: 3.562 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.063e-05/0.3923, allocations: 7.984 kB / 1.09 GB, free: 3.555 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.3924, allocations: 11.98 kB / 1.09 GB, free: 3.543 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/0.3925, allocations: 4 kB / 1.09 GB, free: 3.539 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.3925, allocations: 4 kB / 1.09 GB, free: 3.535 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004089/0.3929, allocations: 383 kB / 1.09 GB, free: 3.164 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.482e-06/0.3929, allocations: 0 / 1.09 GB, free: 3.164 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000588/0.3935, allocations: 99.94 kB / 1.09 GB, free: 3.066 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.005091/0.3986, allocations: 2.811 MB / 1.093 GB, free: 248 kB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004417/0.3991, allocations: 191.8 kB / 1.093 GB, free: 56 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.3991, allocations: 8 kB / 1.093 GB, free: 48 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.785e-05/0.3992, allocations: 43.91 kB / 1.093 GB, free: 4 kB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004693/0.3996, allocations: 59.64 kB / 1.093 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.4008, allocations: 0.6702 MB / 1.094 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/0.4013, allocations: 0.8182 MB / 1.095 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001513/0.4015, allocations: 42.3 kB / 1.095 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.273e-05/0.4016, allocations: 23.42 kB / 1.095 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of SimCode: time 1.813e-06/0.4016, allocations: 0 / 1.095 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of Templates: time 0.01341/0.415, allocations: 7.851 MB / 1.103 GB, free: 6.52 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & ./Buildings_1.6_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1)