Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 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.HeatTransfer.Windows.BaseClasses.Examples.Shade,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001642/0.001642, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001992/0.001992, allocations: 194.1 kB / 16.25 MB, free: 6.621 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.353/1.353, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.702/2.702, allocations: 472.6 MB / 0.7448 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 63.41 kB / 0.9115 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3329, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade): time 0.004018/0.3369, allocations: 3.015 MB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.3382, allocations: 0.7791 MB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.3384, allocations: 4 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.3386, allocations: 35.64 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00029/0.3389, allocations: 127 kB / 1.072 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.3392, allocations: 131.9 kB / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004668/0.3397, allocations: 0.5067 MB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003147/0.34, allocations: 210.2 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002632/0.3403, allocations: 207.1 kB / 1.073 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002506/0.3405, allocations: 227 kB / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.127e-05/0.3406, allocations: 39.94 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.119e-05/0.3407, allocations: 36 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.286e-05/0.3408, allocations: 91.67 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001846/0.341, allocations: 226.8 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003756/0.3413, allocations: 430.6 kB / 1.074 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3414, allocations: 0 / 1.074 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3414, allocations: 0 / 1.074 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.3414, allocations: 0 / 1.074 GB, free: 4.734 MB / 0.8262 GB 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.001211/0.3426, allocations: 0.7405 MB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.3426, allocations: 12.03 kB / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.3428, allocations: 48.38 kB / 1.074 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004089/0.3432, allocations: 327.2 kB / 1.075 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.3432, allocations: 29.38 kB / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.083e-05/0.3433, allocations: 32.38 kB / 1.075 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006322/0.3439, allocations: 385.2 kB / 1.075 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.3439, allocations: 0 / 1.075 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.361e-05/0.344, allocations: 20 kB / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.344, allocations: 8 kB / 1.075 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000571/0.3446, allocations: 270.4 kB / 1.075 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.3463, allocations: 1.452 MB / 1.077 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005626/0.3469, allocations: 281.4 kB / 1.077 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003904/0.3473, allocations: 177.2 kB / 1.077 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.109e-05/0.3473, allocations: 16.11 kB / 1.077 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.3474, allocations: 38.73 kB / 1.077 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=27): time 1.473e-06/0.3474, allocations: 0 / 1.077 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.003077/0.3505, allocations: 0.8796 MB / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.3505, allocations: 51.41 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003571/0.3509, allocations: 361.7 kB / 1.079 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.3509, allocations: 29.7 kB / 1.079 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.3511, allocations: 216.2 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.335e-05/0.3511, allocations: 90.64 kB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.365e-05/0.3512, allocations: 57.92 kB / 1.079 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3514, allocations: 354.7 kB / 1.079 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.3516, allocations: 97.94 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002625/0.3519, allocations: 167.9 kB / 1.08 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004779/0.3523, allocations: 250.8 kB / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3524, allocations: 0 / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00117/0.3535, allocations: 497.4 kB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.3536, allocations: 5.562 kB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.3536, allocations: 4 kB / 1.08 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007918/0.3544, allocations: 196.7 kB / 1.08 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.3546, allocations: 35.97 kB / 1.08 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003526/0.3581, allocations: 2.67 MB / 1.083 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000349/0.3584, allocations: 47.58 kB / 1.083 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.3585, allocations: 12 kB / 1.083 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003132/0.3588, allocations: 204.6 kB / 1.083 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002548/0.3591, allocations: 171.3 kB / 1.083 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004393/0.3595, allocations: 253 kB / 1.084 GB, free: 9.828 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.362e-06/0.3595, allocations: 8.031 kB / 1.084 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.001137/0.3607, allocations: 485.8 kB / 1.084 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.3607, allocations: 12.14 kB / 1.084 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.3607, allocations: 7.938 kB / 1.084 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006427/0.3613, allocations: 180.6 kB / 1.084 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.3615, allocations: 35.97 kB / 1.084 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003098/0.3646, allocations: 2.578 MB / 1.087 GB, free: 6.391 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003578/0.365, allocations: 43.81 kB / 1.087 GB, free: 6.348 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.365, allocations: 8 kB / 1.087 GB, free: 6.34 MB / 0.8419 GB 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.0001237/0.3651, allocations: 198 kB / 1.087 GB, free: 6.141 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.366e-05/0.3652, allocations: 35.53 kB / 1.087 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.081e-05/0.3653, allocations: 48.16 kB / 1.087 GB, free: 6.055 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3653, allocations: 0 / 1.087 GB, free: 6.055 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3653, allocations: 4 kB / 1.087 GB, free: 6.051 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3653, allocations: 3.984 kB / 1.087 GB, free: 6.047 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004568/0.3658, allocations: 421.6 kB / 1.088 GB, free: 5.586 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3658, allocations: 3.938 kB / 1.088 GB, free: 5.582 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.3659, allocations: 23.92 kB / 1.088 GB, free: 5.559 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006354/0.3666, allocations: 177.9 kB / 1.088 GB, free: 5.383 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.3666, allocations: 4 kB / 1.088 GB, free: 5.379 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003056/0.3697, allocations: 2.588 MB / 1.09 GB, free: 2.652 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3697, allocations: 0 / 1.09 GB, free: 2.652 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.3708, allocations: 0.5277 MB / 1.091 GB, free: 2.105 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.3709, allocations: 132.6 kB / 1.091 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.51e-05/0.371, allocations: 7.938 kB / 1.091 GB, free: 1.949 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002709/0.3712, allocations: 23.88 kB / 1.091 GB, free: 1.926 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.845e-05/0.3713, allocations: 23.97 kB / 1.091 GB, free: 1.902 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.3713, allocations: 4 kB / 1.091 GB, free: 1.898 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002488/0.3716, allocations: 259.2 kB / 1.091 GB, free: 1.648 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3716, allocations: 4 kB / 1.091 GB, free: 1.645 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007214/0.3723, allocations: 259.7 kB / 1.092 GB, free: 1.391 MB / 0.8419 GB 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.0001413/0.3725, allocations: 103.2 kB / 1.092 GB, free: 1.281 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001449/0.3739, allocations: 0.7782 MB / 1.092 GB, free: 488 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.374, allocations: 0 / 1.092 GB, free: 488 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000507/0.3745, allocations: 334.8 kB / 1.093 GB, free: 140 kB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005463/0.375, allocations: 105.4 kB / 1.093 GB, free: 36 kB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.3764, allocations: 0.8031 MB / 1.094 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.3768, allocations: 0.8114 MB / 1.094 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001558/0.3769, allocations: 39.27 kB / 1.094 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.384e-05/0.377, allocations: 27.38 kB / 1.095 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.377, allocations: 0 / 1.095 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of Templates: time 0.01345/0.3904, allocations: 8.62 MB / 1.103 GB, free: 5.781 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.makefile (rm -f Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & ./Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1)