Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001225/0.001225, 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.001316/0.001316, allocations: 195 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.1 MB / 222.4 MB, free: 4.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.707/1.707, allocations: 292.3 MB / 0.5489 GB, free: 12.86 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 69.16 kB / 0.6715 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2118, allocations: 114.6 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.004319/0.2162, allocations: 3.285 MB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001392/0.2176, allocations: 0.8889 MB / 0.7874 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001744/0.2178, allocations: 4 kB / 0.7875 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001822/0.218, allocations: 71.23 kB / 0.7875 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003129/0.2183, allocations: 166.6 kB / 0.7877 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003846/0.2187, allocations: 187.7 kB / 0.7879 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005483/0.2192, allocations: 0.6508 MB / 0.7885 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003448/0.2196, allocations: 232.2 kB / 0.7887 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002371/0.2198, allocations: 251.2 kB / 0.789 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003551/0.2202, allocations: 294.8 kB / 0.7892 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.714e-05/0.2203, allocations: 56 kB / 0.7893 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.2204, allocations: 52 kB / 0.7893 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.2205, allocations: 127.5 kB / 0.7895 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002419/0.2208, allocations: 274.6 kB / 0.7897 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004876/0.2213, allocations: 0.5608 MB / 0.7903 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2213, allocations: 0 / 0.7903 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.996e-06/0.2213, allocations: 3.984 kB / 0.7903 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.2213, allocations: 0 / 0.7903 GB, free: 6.355 MB / 0.6075 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.00145/0.2228, allocations: 0.8302 MB / 0.7911 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.2228, allocations: 12.03 kB / 0.7911 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.954e-05/0.2229, allocations: 56.28 kB / 0.7912 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003912/0.2233, allocations: 343.2 kB / 0.7915 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.806e-05/0.2234, allocations: 37.38 kB / 0.7915 GB, free: 5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.74e-05/0.2234, allocations: 40.38 kB / 0.7916 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006784/0.2241, allocations: 402.8 kB / 0.7919 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.2241, allocations: 0 / 0.7919 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.137e-05/0.2242, allocations: 23.98 kB / 0.792 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.2242, allocations: 8 kB / 0.792 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000636/0.2248, allocations: 331.8 kB / 0.7923 GB, free: 4.207 MB / 0.6075 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.002223/0.2271, allocations: 1.505 MB / 0.7938 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007237/0.2278, allocations: 394.8 kB / 0.7941 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003879/0.2282, allocations: 236.8 kB / 0.7944 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.684e-05/0.2282, allocations: 4 kB / 0.7944 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.2283, allocations: 38.56 kB / 0.7944 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=41): time 1.733e-06/0.2283, allocations: 0 / 0.7944 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of matching and sorting (n=41): time 0.007942/0.2362, allocations: 1.822 MB / 0.7962 GB, free: 72 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.2363, allocations: 59.34 kB / 0.7962 GB, free: 0 / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003855/0.2367, allocations: 349.7 kB / 0.7966 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.818e-05/0.2367, allocations: 37.7 kB / 0.7966 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.2369, allocations: 220.6 kB / 0.7968 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.237, allocations: 134 kB / 0.7969 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.2371, allocations: 65.7 kB / 0.797 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.2372, allocations: 346.8 kB / 0.7973 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003009/0.2376, allocations: 144.8 kB / 0.7975 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003663/0.2379, allocations: 221.8 kB / 0.7977 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005944/0.2385, allocations: 321.2 kB / 0.798 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2385, allocations: 0 / 0.798 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002118/0.2407, allocations: 0.7508 MB / 0.7987 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.2407, allocations: 10.44 kB / 0.7987 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.2407, allocations: 0 / 0.7987 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001859/0.2426, allocations: 466 kB / 0.7992 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.2427, allocations: 27.97 kB / 0.7992 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006415/0.2492, allocations: 4.206 MB / 0.8033 GB, free: 8.547 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004741/0.2496, allocations: 43.64 kB / 0.8034 GB, free: 8.504 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.2497, allocations: 12 kB / 0.8034 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003892/0.2501, allocations: 248.7 kB / 0.8036 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003151/0.2504, allocations: 210.2 kB / 0.8038 GB, free: 8.02 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005445/0.251, allocations: 316.7 kB / 0.8041 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.645e-06/0.251, allocations: 0 / 0.8041 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.001947/0.2529, allocations: 0.7398 MB / 0.8048 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.2529, allocations: 4 kB / 0.8048 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.253, allocations: 0 / 0.8048 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001729/0.2547, allocations: 433.2 kB / 0.8052 GB, free: 6.527 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.2549, allocations: 31.92 kB / 0.8053 GB, free: 6.496 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006564/0.2614, allocations: 4.063 MB / 0.8092 GB, free: 2.293 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006249/0.2621, allocations: 51.84 kB / 0.8093 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.424e-05/0.2621, allocations: 15.94 kB / 0.8093 GB, free: 2.227 MB / 0.6231 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.0001719/0.2623, allocations: 204.2 kB / 0.8095 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.036e-05/0.2624, allocations: 39.53 kB / 0.8095 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001245/0.2625, allocations: 56.48 kB / 0.8096 GB, free: 1.926 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.2626, allocations: 8 kB / 0.8096 GB, free: 1.918 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2626, allocations: 0 / 0.8096 GB, free: 1.918 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2626, allocations: 0 / 0.8096 GB, free: 1.918 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000629/0.2632, allocations: 0.4941 MB / 0.8101 GB, free: 1.375 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2632, allocations: 4 kB / 0.8101 GB, free: 1.371 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.2633, allocations: 19.98 kB / 0.8101 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001541/0.2649, allocations: 396.7 kB / 0.8105 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.721e-05/0.2649, allocations: 8 kB / 0.8105 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005727/0.2707, allocations: 4.034 MB / 0.8144 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2707, allocations: 0 / 0.8144 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/0.2726, allocations: 0.8032 MB / 0.8152 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/0.2728, allocations: 144.5 kB / 0.8154 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.172e-05/0.2729, allocations: 8 kB / 0.8154 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003163/0.2732, allocations: 19.98 kB / 0.8154 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.944e-05/0.2733, allocations: 35.94 kB / 0.8154 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.2733, allocations: 12 kB / 0.8154 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002526/0.2736, allocations: 251.2 kB / 0.8157 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2736, allocations: 0 / 0.8157 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009878/0.2746, allocations: 343.4 kB / 0.816 GB, free: 11.14 MB / 0.6387 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.000136/0.2747, allocations: 114.4 kB / 0.8161 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002634/0.2774, allocations: 1.188 MB / 0.8173 GB, free: 9.805 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.2774, allocations: 4 kB / 0.8173 GB, free: 9.801 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.2784, allocations: 0.5127 MB / 0.8178 GB, free: 9.273 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000589/0.279, allocations: 112.3 kB / 0.8179 GB, free: 9.164 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.2805, allocations: 0.8182 MB / 0.8187 GB, free: 8.324 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/0.2809, allocations: 0.8439 MB / 0.8195 GB, free: 7.453 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001393/0.2811, allocations: 35.27 kB / 0.8195 GB, free: 7.418 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.205e-05/0.2811, allocations: 31.44 kB / 0.8196 GB, free: 7.387 MB / 0.6387 GB Notification: Performance of SimCode: time 2.8e-07/0.2811, allocations: 0 / 0.8196 GB, free: 7.387 MB / 0.6387 GB Notification: Performance of Templates: time 0.01951/0.3006, allocations: 13.37 MB / 0.8326 GB, free: 10.14 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.makefile (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & ./Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1)