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.001142/0.001142, allocations: 105.1 kB / 15.98 MB, free: 6.355 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.001191/0.001191, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.483/1.483, allocations: 205.1 MB / 222.8 MB, free: 4.703 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.738/1.738, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001393/0.001393, allocations: 63.09 kB / 0.6716 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2496, allocations: 114.6 MB / 0.7835 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.004757/0.2544, allocations: 3.33 MB / 0.7868 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001566/0.256, allocations: 0.8929 MB / 0.7876 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001848/0.2562, allocations: 7.938 kB / 0.7876 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001989/0.2564, allocations: 43.62 kB / 0.7877 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004304/0.2569, allocations: 146.9 kB / 0.7878 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004012/0.2573, allocations: 159.8 kB / 0.788 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006047/0.2579, allocations: 0.6469 MB / 0.7886 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003775/0.2583, allocations: 236.1 kB / 0.7888 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00024/0.2585, allocations: 255.1 kB / 0.7891 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003466/0.2589, allocations: 294.8 kB / 0.7894 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.462e-05/0.2589, allocations: 52 kB / 0.7894 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.795e-05/0.259, allocations: 52 kB / 0.7895 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.2592, allocations: 127.6 kB / 0.7896 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002508/0.2594, allocations: 274.6 kB / 0.7898 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004254/0.2598, allocations: 427.2 kB / 0.7903 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.2599, allocations: 4 kB / 0.7903 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2599, allocations: 0 / 0.7903 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.2599, allocations: 0 / 0.7903 GB, free: 6.984 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.001504/0.2614, allocations: 0.8263 MB / 0.7911 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.2614, allocations: 11.97 kB / 0.7911 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.79e-05/0.2615, allocations: 56.28 kB / 0.7911 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004019/0.2619, allocations: 343.2 kB / 0.7915 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/0.262, allocations: 33.38 kB / 0.7915 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-05/0.2621, allocations: 44.31 kB / 0.7915 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007596/0.2628, allocations: 402.8 kB / 0.7919 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.2628, allocations: 0 / 0.7919 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.792e-05/0.2629, allocations: 24 kB / 0.7919 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.2629, allocations: 12 kB / 0.7919 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006672/0.2636, allocations: 335.8 kB / 0.7923 GB, free: 4.832 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.002616/0.2662, allocations: 1.497 MB / 0.7937 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007054/0.2669, allocations: 390.8 kB / 0.7941 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000367/0.2673, allocations: 232.8 kB / 0.7943 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.057e-05/0.2674, allocations: 11.98 kB / 0.7943 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.2674, allocations: 46.48 kB / 0.7944 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=41): time 1.382e-06/0.2674, allocations: 0 / 0.7944 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of matching and sorting (n=41): time 0.007597/0.275, allocations: 1.817 MB / 0.7962 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.2751, allocations: 63.28 kB / 0.7962 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004223/0.2755, allocations: 345.7 kB / 0.7965 GB, free: 288 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.758e-05/0.2756, allocations: 37.7 kB / 0.7966 GB, free: 244 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.2758, allocations: 216.6 kB / 0.7968 GB, free: 20 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/0.2759, allocations: 138.1 kB / 0.7969 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.276, allocations: 65.7 kB / 0.797 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.2762, allocations: 354.8 kB / 0.7973 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/0.2765, allocations: 140.8 kB / 0.7975 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004956/0.277, allocations: 213.8 kB / 0.7977 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005706/0.2776, allocations: 321.3 kB / 0.798 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2776, allocations: 0 / 0.798 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002185/0.2798, allocations: 0.7547 MB / 0.7987 GB, free: 14 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.2798, allocations: 11.94 kB / 0.7987 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2798, allocations: 0 / 0.7987 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001785/0.2816, allocations: 457 kB / 0.7992 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.2818, allocations: 27.97 kB / 0.7992 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006444/0.2882, allocations: 4.224 MB / 0.8033 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004799/0.2887, allocations: 43.64 kB / 0.8033 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/0.2888, allocations: 12 kB / 0.8034 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004224/0.2892, allocations: 248.1 kB / 0.8036 GB, free: 8.859 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003271/0.2895, allocations: 218.2 kB / 0.8038 GB, free: 8.625 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000555/0.2901, allocations: 316.7 kB / 0.8041 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.863e-06/0.2901, allocations: 0 / 0.8041 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.001916/0.292, allocations: 0.7359 MB / 0.8048 GB, free: 7.566 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.292, allocations: 4 kB / 0.8048 GB, free: 7.562 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-06/0.292, allocations: 0 / 0.8048 GB, free: 7.562 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001567/0.2936, allocations: 445.2 kB / 0.8052 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.2938, allocations: 23.92 kB / 0.8053 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005826/0.2996, allocations: 4.057 MB / 0.8092 GB, free: 2.902 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005726/0.3002, allocations: 47.72 kB / 0.8093 GB, free: 2.855 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.761e-05/0.3002, allocations: 12 kB / 0.8093 GB, free: 2.844 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.0001698/0.3004, allocations: 196.2 kB / 0.8095 GB, free: 2.645 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.256e-05/0.3005, allocations: 39.53 kB / 0.8095 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.3006, allocations: 60.47 kB / 0.8096 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.3006, allocations: 4 kB / 0.8096 GB, free: 2.543 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.3006, allocations: 8 kB / 0.8096 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3006, allocations: 3.938 kB / 0.8096 GB, free: 2.531 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005958/0.3012, allocations: 0.4902 MB / 0.8101 GB, free: 1.992 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.3012, allocations: 0 / 0.8101 GB, free: 1.992 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.3014, allocations: 24.16 kB / 0.8101 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001504/0.3029, allocations: 400.7 kB / 0.8105 GB, free: 1.574 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/0.3029, allocations: 12 kB / 0.8105 GB, free: 1.562 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005741/0.3087, allocations: 4.027 MB / 0.8144 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3087, allocations: 0 / 0.8144 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/0.3106, allocations: 0.8045 MB / 0.8152 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001751/0.3108, allocations: 148.5 kB / 0.8153 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.397e-05/0.3108, allocations: 15.98 kB / 0.8154 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003105/0.3111, allocations: 23.89 kB / 0.8154 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.3113, allocations: 35.94 kB / 0.8154 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.3113, allocations: 12 kB / 0.8154 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002602/0.3116, allocations: 251.2 kB / 0.8157 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3116, allocations: 0 / 0.8157 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001039/0.3126, allocations: 339.5 kB / 0.816 GB, free: 11.74 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.0001637/0.3128, allocations: 111.2 kB / 0.8161 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002711/0.3155, allocations: 1.199 MB / 0.8173 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3155, allocations: 0 / 0.8173 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.3165, allocations: 0.5013 MB / 0.8178 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006372/0.3172, allocations: 113.4 kB / 0.8179 GB, free: 9.766 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.3189, allocations: 1.018 MB / 0.8189 GB, free: 8.73 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004359/0.3193, allocations: 0.8479 MB / 0.8197 GB, free: 7.855 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.185e-05/0.3194, allocations: 23.44 kB / 0.8197 GB, free: 7.832 MB / 0.6387 GB Notification: Performance of SimCode: time 3.9e-07/0.3194, allocations: 0 / 0.8197 GB, free: 7.832 MB / 0.6387 GB Notification: Performance of Templates: time 0.01015/0.3296, allocations: 7.19 MB / 0.8267 GB, free: 0.6641 MB / 0.6387 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)