Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.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.GlassLayer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001189, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 194.3 kB / 16.53 MB, free: 6.699 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.401/1.401, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.794/2.794, allocations: 472.6 MB / 0.7451 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002453/0.002453, allocations: 66.02 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3406, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.004888/0.3455, allocations: 3.286 MB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001448/0.3469, allocations: 0.8524 MB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001674/0.3471, allocations: 8 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001787/0.3473, allocations: 67.23 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003181/0.3476, allocations: 170.5 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004348/0.3481, allocations: 183.7 kB / 1.073 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005626/0.3487, allocations: 0.643 MB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003701/0.349, allocations: 240.1 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003234/0.3494, allocations: 267 kB / 1.074 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003368/0.3497, allocations: 294.8 kB / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.547e-05/0.3498, allocations: 52 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.358e-05/0.3499, allocations: 52 kB / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.35, allocations: 123.6 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003037/0.3504, allocations: 282.5 kB / 1.075 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007106/0.3511, allocations: 0.5647 MB / 1.075 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3511, allocations: 4 kB / 1.075 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3511, allocations: 0 / 1.075 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.3511, allocations: 4 kB / 1.075 GB, free: 3.328 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001452/0.3526, allocations: 0.8184 MB / 1.076 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.3526, allocations: 12.03 kB / 1.076 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002282/0.3528, allocations: 56.28 kB / 1.076 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004075/0.3533, allocations: 355.1 kB / 1.076 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.193e-05/0.3533, allocations: 37.38 kB / 1.076 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.864e-05/0.3534, allocations: 40.38 kB / 1.076 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000736/0.3541, allocations: 398.8 kB / 1.077 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.3541, allocations: 0 / 1.077 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.016e-05/0.3542, allocations: 20 kB / 1.077 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.3542, allocations: 8 kB / 1.077 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007046/0.3549, allocations: 335.8 kB / 1.077 GB, free: 1.188 MB / 0.8262 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002247/0.3572, allocations: 1.501 MB / 1.079 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007461/0.3579, allocations: 395.5 kB / 1.079 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000439/0.3584, allocations: 237.7 kB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.817e-05/0.3584, allocations: 4 kB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.3585, allocations: 38.56 kB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=41): time 2.935e-06/0.3585, allocations: 4 kB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of matching and sorting (n=41): time 0.008185/0.3667, allocations: 1.816 MB / 1.081 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.3667, allocations: 63.34 kB / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003996/0.3671, allocations: 345.7 kB / 1.081 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.3672, allocations: 37.7 kB / 1.081 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.3673, allocations: 216.6 kB / 1.082 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.3675, allocations: 134 kB / 1.082 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.3676, allocations: 69.69 kB / 1.082 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3678, allocations: 346.8 kB / 1.082 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003096/0.3681, allocations: 148.8 kB / 1.082 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003614/0.3685, allocations: 213.8 kB / 1.082 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006377/0.3691, allocations: 329.2 kB / 1.083 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3691, allocations: 0 / 1.083 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002191/0.3713, allocations: 0.747 MB / 1.084 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3714, allocations: 7.938 kB / 1.084 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.3714, allocations: 0 / 1.084 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001865/0.3732, allocations: 460.9 kB / 1.084 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.3734, allocations: 23.98 kB / 1.084 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007003/0.3804, allocations: 4.21 MB / 1.088 GB, free: 5.535 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005198/0.3809, allocations: 43.64 kB / 1.088 GB, free: 5.492 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/0.381, allocations: 16 kB / 1.088 GB, free: 5.477 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004396/0.3814, allocations: 249.8 kB / 1.088 GB, free: 5.23 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003457/0.3818, allocations: 210.2 kB / 1.089 GB, free: 5.004 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005865/0.3824, allocations: 317.5 kB / 1.089 GB, free: 4.691 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.3824, allocations: 7.875 kB / 1.089 GB, free: 4.684 MB / 0.8419 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.002004/0.3844, allocations: 0.7277 MB / 1.09 GB, free: 3.945 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001167/0.3845, allocations: 9.406 kB / 1.09 GB, free: 3.938 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-06/0.3845, allocations: 0 / 1.09 GB, free: 3.938 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001579/0.3861, allocations: 436.7 kB / 1.09 GB, free: 3.508 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.3863, allocations: 27.92 kB / 1.09 GB, free: 3.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005982/0.3923, allocations: 4.063 MB / 1.094 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005372/0.3929, allocations: 40.12 kB / 1.094 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.3929, allocations: 8 kB / 1.094 GB, free: 15.23 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (12): * Single equations (assignments): 11 * 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 {(6,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0001629/0.3931, allocations: 204.2 kB / 1.094 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.975e-05/0.3932, allocations: 43.44 kB / 1.094 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.3933, allocations: 60.47 kB / 1.094 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.3933, allocations: 8 kB / 1.094 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3933, allocations: 0 / 1.094 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.3933, allocations: 7.922 kB / 1.094 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007492/0.3941, allocations: 498 kB / 1.095 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.3941, allocations: 4 kB / 1.095 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.3942, allocations: 23.97 kB / 1.095 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001541/0.3958, allocations: 400.5 kB / 1.095 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.3958, allocations: 8 kB / 1.095 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006182/0.402, allocations: 4.042 MB / 1.099 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.402, allocations: 0 / 1.099 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001924/0.404, allocations: 0.8084 MB / 1.1 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.4041, allocations: 148.5 kB / 1.1 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.781e-05/0.4042, allocations: 8 kB / 1.1 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003012/0.4045, allocations: 15.98 kB / 1.1 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.864e-05/0.4046, allocations: 35.94 kB / 1.1 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.4046, allocations: 12 kB / 1.1 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002519/0.4049, allocations: 251.2 kB / 1.1 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4049, allocations: 4 kB / 1.1 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009799/0.4059, allocations: 343.4 kB / 1.101 GB, free: 8.105 MB / 0.8575 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 (10): * Single equations (assignments): 9 * 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 {(6,26)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001535/0.4061, allocations: 107.1 kB / 1.101 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00256/0.4086, allocations: 1.187 MB / 1.102 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4086, allocations: 0 / 1.102 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.4097, allocations: 0.513 MB / 1.103 GB, free: 6.25 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006169/0.4103, allocations: 117.3 kB / 1.103 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.412, allocations: 0.8227 MB / 1.103 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004463/0.4124, allocations: 0.844 MB / 1.104 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001554/0.4126, allocations: 35.27 kB / 1.104 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.332e-05/0.4127, allocations: 23.44 kB / 1.104 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of SimCode: time 4.31e-07/0.4127, allocations: 0 / 1.104 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of Templates: time 0.02008/0.4327, allocations: 13.37 MB / 1.117 GB, free: 7.121 MB / 0.8731 GB make -j1 -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.makefile (rm -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & ./Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1)