Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001441/0.001441, allocations: 108 kB / 15.6 MB, free: 132 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.001621/0.001621, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.405/1.405, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.797/2.797, allocations: 472.6 MB / 0.7451 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 69.31 kB / 0.912 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3061, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.004436/0.3105, allocations: 3.295 MB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.312, allocations: 0.8544 MB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001921/0.3122, allocations: 8 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001875/0.3124, allocations: 59.31 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003122/0.3127, allocations: 178.5 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003938/0.3131, allocations: 175.7 kB / 1.073 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005308/0.3137, allocations: 0.6469 MB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003517/0.314, allocations: 240.1 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002893/0.3143, allocations: 259 kB / 1.074 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003352/0.3147, allocations: 298.8 kB / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.146e-05/0.3148, allocations: 52 kB / 1.074 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.585e-05/0.3149, allocations: 56 kB / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.315, allocations: 127.6 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002255/0.3152, allocations: 274.6 kB / 1.075 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004803/0.3157, allocations: 0.5686 MB / 1.075 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3157, allocations: 0 / 1.075 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3157, allocations: 3.938 kB / 1.075 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.3157, allocations: 0 / 1.075 GB, free: 3.285 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.001433/0.3172, allocations: 0.8262 MB / 1.076 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.3172, allocations: 8.031 kB / 1.076 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.3173, allocations: 68.27 kB / 1.076 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003956/0.3177, allocations: 339.2 kB / 1.076 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.3178, allocations: 33.38 kB / 1.076 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.036e-05/0.3178, allocations: 44.38 kB / 1.076 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006681/0.3185, allocations: 410.7 kB / 1.077 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.3185, allocations: 0 / 1.077 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.927e-05/0.3186, allocations: 16 kB / 1.077 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.3186, allocations: 12 kB / 1.077 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006313/0.3192, allocations: 331.8 kB / 1.077 GB, free: 1.137 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.002126/0.3214, allocations: 1.497 MB / 1.079 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000702/0.3221, allocations: 395 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003798/0.3225, allocations: 233.8 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.282e-05/0.3225, allocations: 8 kB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.3226, allocations: 38.5 kB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=41): time 1.613e-06/0.3226, allocations: 0 / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of matching and sorting (n=41): time 0.007982/0.3306, allocations: 1.824 MB / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.3306, allocations: 59.34 kB / 1.081 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003586/0.331, allocations: 353.7 kB / 1.081 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.331, allocations: 37.7 kB / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.3312, allocations: 212.6 kB / 1.082 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.3313, allocations: 138 kB / 1.082 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.3314, allocations: 65.7 kB / 1.082 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3316, allocations: 346.8 kB / 1.082 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003044/0.3319, allocations: 148.7 kB / 1.082 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003609/0.3323, allocations: 217.8 kB / 1.082 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005971/0.3329, allocations: 329.2 kB / 1.083 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3329, allocations: 0 / 1.083 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002147/0.3351, allocations: 0.7392 MB / 1.084 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.3351, allocations: 11.94 kB / 1.084 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3351, allocations: 0 / 1.084 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001854/0.337, allocations: 460.9 kB / 1.084 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.3371, allocations: 27.97 kB / 1.084 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006768/0.3439, allocations: 4.205 MB / 1.088 GB, free: 5.492 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004743/0.3444, allocations: 51.62 kB / 1.088 GB, free: 5.441 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.3444, allocations: 8 kB / 1.088 GB, free: 5.434 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004224/0.3449, allocations: 252.1 kB / 1.088 GB, free: 5.184 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003612/0.3452, allocations: 210.2 kB / 1.089 GB, free: 4.957 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006141/0.3459, allocations: 309.5 kB / 1.089 GB, free: 4.652 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.212e-06/0.3459, allocations: 3.938 kB / 1.089 GB, free: 4.648 MB / 0.8419 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.001955/0.3478, allocations: 0.7394 MB / 1.09 GB, free: 3.898 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.3478, allocations: 9.188 kB / 1.09 GB, free: 3.891 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-06/0.3479, allocations: 0 / 1.09 GB, free: 3.891 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001637/0.3495, allocations: 436.7 kB / 1.09 GB, free: 3.461 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.3496, allocations: 23.92 kB / 1.09 GB, free: 3.438 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005993/0.3556, allocations: 4.071 MB / 1.094 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005941/0.3562, allocations: 39.88 kB / 1.094 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.52e-05/0.3563, allocations: 12 kB / 1.094 GB, free: 15.18 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.0001766/0.3565, allocations: 196.2 kB / 1.094 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.574e-05/0.3566, allocations: 43.44 kB / 1.094 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.3567, allocations: 60.48 kB / 1.094 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3567, allocations: 4 kB / 1.094 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.3567, allocations: 0 / 1.094 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3567, allocations: 7.984 kB / 1.094 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005788/0.3573, allocations: 498.2 kB / 1.095 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3573, allocations: 4 kB / 1.095 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.3574, allocations: 27.92 kB / 1.095 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001625/0.3591, allocations: 404.4 kB / 1.095 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.874e-05/0.3591, allocations: 12 kB / 1.095 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005795/0.3649, allocations: 4.034 MB / 1.099 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.3649, allocations: 0 / 1.099 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/0.3669, allocations: 0.8084 MB / 1.1 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001562/0.3671, allocations: 148.5 kB / 1.1 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.92e-05/0.3671, allocations: 12 kB / 1.1 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003076/0.3674, allocations: 19.97 kB / 1.1 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.3676, allocations: 35.95 kB / 1.1 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.3676, allocations: 4 kB / 1.1 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002877/0.3679, allocations: 255.2 kB / 1.1 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3679, allocations: 0 / 1.1 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00104/0.3689, allocations: 339.4 kB / 1.101 GB, free: 8.062 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.0001802/0.3691, allocations: 115.1 kB / 1.101 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002652/0.3718, allocations: 1.18 MB / 1.102 GB, free: 6.734 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3718, allocations: 0 / 1.102 GB, free: 6.734 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.3728, allocations: 0.5128 MB / 1.103 GB, free: 6.207 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006115/0.3734, allocations: 117.4 kB / 1.103 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.375, allocations: 0.8248 MB / 1.103 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.3754, allocations: 0.8362 MB / 1.104 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001575/0.3755, allocations: 39.27 kB / 1.104 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.89e-05/0.3756, allocations: 23.44 kB / 1.104 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of SimCode: time 5.01e-07/0.3756, allocations: 0 / 1.104 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of Templates: time 0.02035/0.396, allocations: 13.38 MB / 1.117 GB, free: 7.066 MB / 0.8731 GB make -j1 -f Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.makefile (rm -f Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & ./Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1)