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.001159/0.001159, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001408/0.001408, allocations: 193.6 kB / 16.13 MB, free: 6.656 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.452/1.452, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.948/2.948, allocations: 472.6 MB / 0.7447 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 63.78 kB / 0.9113 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.3835, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.006381/0.39, allocations: 3.341 MB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002609/0.3926, allocations: 0.8525 MB / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007118/0.3934, allocations: 7.938 kB / 1.072 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003726/0.3938, allocations: 47.61 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006864/0.3945, allocations: 146.8 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005934/0.3951, allocations: 159.8 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006721/0.3958, allocations: 0.6118 MB / 1.073 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004283/0.3962, allocations: 223.4 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003416/0.3966, allocations: 247 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003683/0.3969, allocations: 286.8 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.018e-05/0.397, allocations: 39.94 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.476e-05/0.3971, allocations: 32 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.3973, allocations: 107.6 kB / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002767/0.3976, allocations: 262.6 kB / 1.074 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000537/0.3981, allocations: 0.5374 MB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.353e-06/0.3981, allocations: 3.984 kB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3981, allocations: 4 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.3981, allocations: 0 / 1.074 GB, free: 4 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.00172/0.3999, allocations: 0.8185 MB / 1.075 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.3999, allocations: 8.031 kB / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.4, allocations: 64.22 kB / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003999/0.4004, allocations: 347.1 kB / 1.075 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.4005, allocations: 33.38 kB / 1.075 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.119e-05/0.4005, allocations: 44.38 kB / 1.075 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007157/0.4013, allocations: 402.8 kB / 1.076 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.4013, allocations: 0 / 1.076 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.809e-05/0.4013, allocations: 19.98 kB / 1.076 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.4013, allocations: 15.98 kB / 1.076 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000649/0.402, allocations: 331.8 kB / 1.076 GB, free: 1.855 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.002202/0.4042, allocations: 1.489 MB / 1.078 GB, free: 268 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007211/0.4049, allocations: 401.3 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003797/0.4053, allocations: 237.3 kB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.027e-05/0.4054, allocations: 8 kB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.4054, allocations: 34.56 kB / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=41): time 1.463e-06/0.4054, allocations: 0 / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of matching and sorting (n=41): time 0.007583/0.413, allocations: 1.817 MB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.4131, allocations: 59.34 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004645/0.4135, allocations: 357.6 kB / 1.08 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.567e-05/0.4136, allocations: 37.7 kB / 1.081 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.4138, allocations: 220.6 kB / 1.081 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.4139, allocations: 141.9 kB / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.4141, allocations: 61.7 kB / 1.081 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.4142, allocations: 346.8 kB / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003142/0.4146, allocations: 148.7 kB / 1.081 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003544/0.4149, allocations: 217.8 kB / 1.082 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006023/0.4155, allocations: 325.2 kB / 1.082 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4155, allocations: 4 kB / 1.082 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002116/0.4177, allocations: 0.7392 MB / 1.083 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.4177, allocations: 11.94 kB / 1.083 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.4177, allocations: 0 / 1.083 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001908/0.4196, allocations: 456.9 kB / 1.083 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.4198, allocations: 27.97 kB / 1.083 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00645/0.4262, allocations: 3.854 MB / 1.087 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005038/0.4268, allocations: 47.73 kB / 1.087 GB, free: 6.527 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.029e-05/0.4268, allocations: 8 kB / 1.087 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004233/0.4272, allocations: 252.1 kB / 1.087 GB, free: 6.27 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003609/0.4276, allocations: 210.2 kB / 1.087 GB, free: 6.043 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000567/0.4282, allocations: 321.4 kB / 1.088 GB, free: 5.727 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-06/0.4282, allocations: 3.938 kB / 1.088 GB, free: 5.723 MB / 0.8419 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.002051/0.4303, allocations: 0.7278 MB / 1.088 GB, free: 4.984 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.4303, allocations: 4 kB / 1.088 GB, free: 4.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.4303, allocations: 7.922 kB / 1.088 GB, free: 4.973 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001681/0.432, allocations: 432.4 kB / 1.089 GB, free: 4.547 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.4321, allocations: 19.98 kB / 1.089 GB, free: 4.527 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005607/0.4377, allocations: 3.725 MB / 1.092 GB, free: 0.6562 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005415/0.4383, allocations: 43.72 kB / 1.093 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.4383, allocations: 16 kB / 1.093 GB, free: 0.5977 MB / 0.8419 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.0001594/0.4385, allocations: 192.3 kB / 1.093 GB, free: 412 kB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.508e-05/0.4386, allocations: 39.53 kB / 1.093 GB, free: 372 kB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.4387, allocations: 60.48 kB / 1.093 GB, free: 312 kB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.4387, allocations: 4 kB / 1.093 GB, free: 308 kB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.4387, allocations: 3.938 kB / 1.093 GB, free: 304 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.4387, allocations: 3.984 kB / 1.093 GB, free: 300 kB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006653/0.4394, allocations: 0.4903 MB / 1.093 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.862e-05/0.4394, allocations: 4 kB / 1.093 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.4396, allocations: 27.95 kB / 1.093 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001563/0.4411, allocations: 400.9 kB / 1.094 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.131e-05/0.4412, allocations: 8 kB / 1.094 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005955/0.4471, allocations: 3.679 MB / 1.097 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4472, allocations: 0 / 1.097 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002064/0.4492, allocations: 0.8068 MB / 1.098 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002072/0.4494, allocations: 152.4 kB / 1.098 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.172e-05/0.4495, allocations: 12 kB / 1.098 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003119/0.4498, allocations: 20.23 kB / 1.098 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.45, allocations: 39.88 kB / 1.098 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.498e-05/0.45, allocations: 16 kB / 1.098 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003587/0.4504, allocations: 251.2 kB / 1.099 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.284e-06/0.4504, allocations: 0 / 1.099 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001379/0.4518, allocations: 343.5 kB / 1.099 GB, free: 9.848 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.0002423/0.452, allocations: 107.2 kB / 1.099 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002983/0.455, allocations: 1.16 MB / 1.1 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.455, allocations: 0 / 1.1 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001111/0.4561, allocations: 0.5052 MB / 1.101 GB, free: 8.027 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006826/0.4568, allocations: 111.4 kB / 1.101 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.4588, allocations: 0.9812 MB / 1.102 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005525/0.4594, allocations: 0.8442 MB / 1.103 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002084/0.4596, allocations: 35.27 kB / 1.103 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.716e-05/0.4597, allocations: 27.44 kB / 1.103 GB, free: 5.98 MB / 0.8575 GB Notification: Performance of SimCode: time 3.31e-07/0.4597, allocations: 0 / 1.103 GB, free: 5.98 MB / 0.8575 GB Notification: Performance of Templates: time 0.02209/0.4818, allocations: 12.55 MB / 1.115 GB, free: 9.555 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)