Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.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.HeatTransfer.Windows.BaseClasses.Examples.Shade,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001347, 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.001706/0.001706, allocations: 190.8 kB / 16.14 MB, free: 6.703 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.69/1.69, allocations: 205.1 MB / 222 MB, free: 5 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.6016/0.6016, allocations: 95.47 MB / 364.8 MB, free: 10.16 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.001393/0.001393, allocations: 67.91 kB / 444.7 MB, free: 10.13 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3453, allocations: 69.07 MB / 0.5017 GB, free: 17.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade): time 0.003767/0.3492, allocations: 3.007 MB / 0.5046 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.3502, allocations: 0.8187 MB / 0.5054 GB, free: 13.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.3504, allocations: 7.938 kB / 0.5054 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001752/0.3506, allocations: 39.62 kB / 0.5055 GB, free: 13.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.3508, allocations: 119.1 kB / 0.5056 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.3511, allocations: 143.8 kB / 0.5057 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000317/0.3515, allocations: 486.9 kB / 0.5062 GB, free: 13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002689/0.3517, allocations: 197.9 kB / 0.5064 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.3519, allocations: 175.2 kB / 0.5065 GB, free: 12.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.3521, allocations: 215 kB / 0.5068 GB, free: 12.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.211e-05/0.3522, allocations: 28 kB / 0.5068 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.122e-05/0.3522, allocations: 24 kB / 0.5068 GB, free: 12.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.342e-05/0.3523, allocations: 87.61 kB / 0.5069 GB, free: 12.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.3525, allocations: 206.8 kB / 0.5071 GB, free: 12.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002698/0.3527, allocations: 424.4 kB / 0.5075 GB, free: 11.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3528, allocations: 0 / 0.5075 GB, free: 11.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.3528, allocations: 0 / 0.5075 GB, free: 11.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.3528, allocations: 3.938 kB / 0.5075 GB, free: 11.66 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001061/0.3538, allocations: 0.7289 MB / 0.5082 GB, free: 10.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.3539, allocations: 15.98 kB / 0.5082 GB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.067e-05/0.354, allocations: 48.38 kB / 0.5083 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.3543, allocations: 327.2 kB / 0.5086 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.3543, allocations: 29.38 kB / 0.5086 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.668e-05/0.3544, allocations: 32.38 kB / 0.5086 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000508/0.3549, allocations: 385.2 kB / 0.509 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3549, allocations: 0 / 0.509 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.3549, allocations: 12 kB / 0.509 GB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.3549, allocations: 12 kB / 0.509 GB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004607/0.3554, allocations: 274.3 kB / 0.5093 GB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/0.3572, allocations: 1.448 MB / 0.5107 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005037/0.3577, allocations: 279.5 kB / 0.511 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003392/0.358, allocations: 189 kB / 0.5111 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.425e-05/0.3581, allocations: 4.234 kB / 0.5112 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.474e-05/0.3581, allocations: 42.73 kB / 0.5112 GB, free: 7.656 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.673e-06/0.3581, allocations: 0 / 0.5112 GB, free: 7.656 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.003126/0.3612, allocations: 0.8725 MB / 0.512 GB, free: 6.758 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/0.3613, allocations: 55.41 kB / 0.5121 GB, free: 6.691 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/0.3616, allocations: 373.6 kB / 0.5125 GB, free: 6.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.3616, allocations: 29.7 kB / 0.5125 GB, free: 6.285 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.772e-05/0.3617, allocations: 212.3 kB / 0.5127 GB, free: 6.074 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.053e-05/0.3618, allocations: 98.53 kB / 0.5128 GB, free: 5.977 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.143e-05/0.3619, allocations: 57.89 kB / 0.5128 GB, free: 5.914 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.28e-05/0.3619, allocations: 342.8 kB / 0.5132 GB, free: 5.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/0.3622, allocations: 105.9 kB / 0.5133 GB, free: 5.465 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/0.3624, allocations: 155.9 kB / 0.5134 GB, free: 5.289 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003875/0.3628, allocations: 265.5 kB / 0.5137 GB, free: 5.012 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3628, allocations: 0 / 0.5137 GB, free: 5.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001132/0.364, allocations: 498.1 kB / 0.5141 GB, free: 4.516 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.364, allocations: 6.656 kB / 0.5141 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.364, allocations: 4 kB / 0.5141 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007526/0.3648, allocations: 184.8 kB / 0.5143 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.365, allocations: 39.97 kB / 0.5144 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003113/0.3681, allocations: 2.452 MB / 0.5168 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004609/0.3686, allocations: 43.58 kB / 0.5168 GB, free: 1.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/0.3686, allocations: 12 kB / 0.5168 GB, free: 1.652 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004895/0.3691, allocations: 216.2 kB / 0.517 GB, free: 1.438 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002341/0.3694, allocations: 159.3 kB / 0.5172 GB, free: 1.258 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003734/0.3698, allocations: 257.1 kB / 0.5174 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.633e-06/0.3698, allocations: 0 / 0.5174 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.001058/0.3708, allocations: 493.7 kB / 0.5179 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.3709, allocations: 8 kB / 0.5179 GB, free: 500 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3709, allocations: 3.938 kB / 0.5179 GB, free: 496 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005918/0.3715, allocations: 184.8 kB / 0.5181 GB, free: 308 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.3716, allocations: 39.97 kB / 0.5181 GB, free: 268 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003089/0.3747, allocations: 2.391 MB / 0.5204 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003582/0.3751, allocations: 39.61 kB / 0.5205 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.3751, allocations: 15.94 kB / 0.5205 GB, free: 13.68 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0001505/0.3753, allocations: 188.3 kB / 0.5207 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.791e-05/0.3754, allocations: 43.59 kB / 0.5207 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.501e-05/0.3755, allocations: 56.08 kB / 0.5208 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.3755, allocations: 4 kB / 0.5208 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3755, allocations: 0 / 0.5208 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.3755, allocations: 0 / 0.5208 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004778/0.376, allocations: 413.6 kB / 0.5212 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.376, allocations: 0 / 0.5212 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.3761, allocations: 23.92 kB / 0.5212 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006489/0.3768, allocations: 176.7 kB / 0.5214 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.3768, allocations: 11.94 kB / 0.5214 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002934/0.3797, allocations: 2.363 MB / 0.5237 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3797, allocations: 0 / 0.5237 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.3809, allocations: 0.5355 MB / 0.5242 GB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.381, allocations: 136.5 kB / 0.5243 GB, free: 9.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.368e-05/0.3811, allocations: 15.92 kB / 0.5244 GB, free: 9.504 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.3813, allocations: 15.98 kB / 0.5244 GB, free: 9.488 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.179e-05/0.3814, allocations: 15.97 kB / 0.5244 GB, free: 9.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.3814, allocations: 12 kB / 0.5244 GB, free: 9.461 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002656/0.3817, allocations: 263.2 kB / 0.5246 GB, free: 9.207 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3817, allocations: 0 / 0.5246 GB, free: 9.207 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007625/0.3825, allocations: 251.6 kB / 0.5249 GB, free: 8.961 MB / 398.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001692/0.3827, allocations: 107.2 kB / 0.525 GB, free: 8.848 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001468/0.3841, allocations: 0.7745 MB / 0.5257 GB, free: 8.047 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3841, allocations: 320 / 0.5257 GB, free: 8.047 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005477/0.3847, allocations: 326.3 kB / 0.5261 GB, free: 7.715 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005906/0.3853, allocations: 89.45 kB / 0.5261 GB, free: 7.629 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.3866, allocations: 0.7963 MB / 0.5269 GB, free: 6.801 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.3869, allocations: 0.8114 MB / 0.5277 GB, free: 5.961 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001395/0.3871, allocations: 39.22 kB / 0.5277 GB, free: 5.926 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.209e-05/0.3871, allocations: 23.44 kB / 0.5278 GB, free: 5.906 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3871, allocations: 0 / 0.5278 GB, free: 5.906 MB / 398.1 MB Notification: Performance of Templates: time 0.01316/0.4003, allocations: 8.083 MB / 0.5357 GB, free: 13.91 MB / 414.1 MB make -j1 -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.makefile (rm -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & ./Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1)