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 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.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.0009043/0.0009044, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.0009613/0.0009613, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.5731/0.5731, allocations: 95.58 MB / 366 MB, free: 10.39 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.000561/0.0005613, allocations: 16 kB / 446.8 MB, free: 9.398 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2843, allocations: 70.34 MB / 0.505 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.002463/0.2868, allocations: 2.721 MB / 0.5077 GB, free: 13.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.2881, allocations: 0.9049 MB / 0.5085 GB, free: 12.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002917/0.2884, allocations: 7.938 kB / 0.5086 GB, free: 12.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001669/0.2886, allocations: 43.62 kB / 0.5086 GB, free: 12.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003551/0.2889, allocations: 167.5 kB / 0.5088 GB, free: 12.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003825/0.2893, allocations: 147.5 kB / 0.5089 GB, free: 12.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004791/0.2898, allocations: 424.1 kB / 0.5093 GB, free: 12.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000258/0.2901, allocations: 179.4 kB / 0.5095 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002182/0.2903, allocations: 199.3 kB / 0.5097 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002802/0.2906, allocations: 231 kB / 0.5099 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.064e-05/0.2907, allocations: 23.94 kB / 0.5099 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.292e-05/0.2908, allocations: 24 kB / 0.5099 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.572e-05/0.2908, allocations: 87.64 kB / 0.51 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.723e-05/0.2909, allocations: 109.5 kB / 0.5101 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.2912, allocations: 408.8 kB / 0.5105 GB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.2912, allocations: 4 kB / 0.5105 GB, free: 10.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2912, allocations: 3.984 kB / 0.5105 GB, free: 10.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.566e-05/0.2912, allocations: 0 / 0.5105 GB, free: 10.85 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001139/0.2923, allocations: 0.7404 MB / 0.5112 GB, free: 10.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.761e-05/0.2924, allocations: 11.98 kB / 0.5112 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.2925, allocations: 59.44 kB / 0.5113 GB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.2928, allocations: 338 kB / 0.5116 GB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.2929, allocations: 40.94 kB / 0.5117 GB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.669e-05/0.2929, allocations: 44 kB / 0.5117 GB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005697/0.2935, allocations: 390.5 kB / 0.5121 GB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.2935, allocations: 0 / 0.5121 GB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.031e-05/0.2936, allocations: 16 kB / 0.5121 GB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.2936, allocations: 12 kB / 0.5121 GB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005283/0.2941, allocations: 343.8 kB / 0.5124 GB, free: 8.781 MB / 382.1 MB 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.001865/0.296, allocations: 1.493 MB / 0.5139 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005779/0.2966, allocations: 387.2 kB / 0.5143 GB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.587e-05/0.2966, allocations: 8 kB / 0.5143 GB, free: 6.793 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.497e-05/0.2966, allocations: 30.56 kB / 0.5143 GB, free: 6.754 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 1.423e-06/0.2967, allocations: 0 / 0.5143 GB, free: 6.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.00672/0.3034, allocations: 1.804 MB / 0.5161 GB, free: 4.922 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.18e-05/0.3034, allocations: 55.41 kB / 0.5161 GB, free: 4.855 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.3037, allocations: 345.7 kB / 0.5164 GB, free: 4.508 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.3037, allocations: 41.7 kB / 0.5165 GB, free: 4.461 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.594e-05/0.3038, allocations: 212.6 kB / 0.5167 GB, free: 4.246 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.272e-05/0.3039, allocations: 141.9 kB / 0.5168 GB, free: 4.105 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.871e-05/0.3039, allocations: 8 kB / 0.5168 GB, free: 4.098 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.482e-05/0.304, allocations: 346.8 kB / 0.5172 GB, free: 3.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.3042, allocations: 135.9 kB / 0.5173 GB, free: 3.617 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/0.3045, allocations: 201.9 kB / 0.5175 GB, free: 3.398 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.3048, allocations: 160.6 kB / 0.5176 GB, free: 3.242 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3048, allocations: 0 / 0.5176 GB, free: 3.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001583/0.3064, allocations: 0.7081 MB / 0.5183 GB, free: 2.523 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.863e-05/0.3064, allocations: 102.8 kB / 0.5184 GB, free: 2.418 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.3064, allocations: 0 / 0.5184 GB, free: 2.418 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001367/0.3078, allocations: 408.9 kB / 0.5188 GB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.3079, allocations: 31.97 kB / 0.5188 GB, free: 1.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00538/0.3133, allocations: 3.852 MB / 0.5226 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004494/0.3138, allocations: 51.64 kB / 0.5227 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.3138, allocations: 8 kB / 0.5227 GB, free: 13.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.957e-06/0.3138, allocations: 4 kB / 0.5227 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001658/0.3155, allocations: 0.6525 MB / 0.5233 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.3155, allocations: 0 / 0.5233 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001296/0.3168, allocations: 393.3 kB / 0.5237 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.317, allocations: 27.94 kB / 0.5237 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005146/0.3221, allocations: 3.709 MB / 0.5273 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004252/0.3226, allocations: 47.72 kB / 0.5274 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.3226, allocations: 12 kB / 0.5274 GB, free: 8.973 MB / 398.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 27} Notification: Performance of prepare postOptimizeDAE: time 0.0002168/0.3228, allocations: 232.2 kB / 0.5276 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.944e-05/0.3229, allocations: 47.55 kB / 0.5276 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.384e-05/0.323, allocations: 56.48 kB / 0.5277 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.323, allocations: 8 kB / 0.5277 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.323, allocations: 0 / 0.5277 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.323, allocations: 4 kB / 0.5277 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005897/0.3236, allocations: 0.4902 MB / 0.5282 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3236, allocations: 0 / 0.5282 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.3238, allocations: 23.98 kB / 0.5282 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00126/0.325, allocations: 372.8 kB / 0.5286 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.558e-05/0.3251, allocations: 4 kB / 0.5286 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005234/0.3303, allocations: 3.711 MB / 0.5322 GB, free: 3.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.3303, allocations: 3.984 kB / 0.5322 GB, free: 3.836 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.332, allocations: 0.7916 MB / 0.533 GB, free: 3.023 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/0.3322, allocations: 144.5 kB / 0.5331 GB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.276e-05/0.3322, allocations: 8 kB / 0.5331 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003032/0.3325, allocations: 31.88 kB / 0.5332 GB, free: 2.824 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.428e-05/0.3326, allocations: 31.95 kB / 0.5332 GB, free: 2.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.3327, allocations: 12 kB / 0.5332 GB, free: 2.781 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002523/0.3329, allocations: 247.2 kB / 0.5334 GB, free: 2.543 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3329, allocations: 0 / 0.5334 GB, free: 2.543 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009776/0.3339, allocations: 335.5 kB / 0.5337 GB, free: 2.215 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001415/0.3341, allocations: 107.2 kB / 0.5339 GB, free: 2.102 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002226/0.3363, allocations: 1.104 MB / 0.5349 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3363, allocations: 0 / 0.5349 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009616/0.3373, allocations: 0.4979 MB / 0.5354 GB, free: 472 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005188/0.3378, allocations: 113.2 kB / 0.5355 GB, free: 360 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.3394, allocations: 0.9723 MB / 0.5365 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005017/0.3399, allocations: 0.8515 MB / 0.5373 GB, free: 14.47 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001741/0.3401, allocations: 31.28 kB / 0.5373 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.097e-05/0.3402, allocations: 23.44 kB / 0.5374 GB, free: 14.42 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3402, allocations: 4 kB / 0.5374 GB, free: 14.42 MB / 414.1 MB Notification: Performance of Templates: time 0.01966/0.3598, allocations: 11.68 MB / 0.5488 GB, free: 2.852 MB / 414.1 MB make -j1 -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: