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.006893/0.006893, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.00129/0.00129, allocations: 191.3 kB / 16.67 MB, free: 5.93 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.552/1.552, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4772/0.4772, allocations: 95.47 MB / 365.4 MB, free: 12.15 MB / 318.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.00147/0.00147, allocations: 71.91 kB / 0.5037 GB, free: 11.81 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5208/0.5223, allocations: 69.09 MB / 0.5711 GB, free: 4.129 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.005552/0.5279, allocations: 3.386 MB / 0.5744 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002114/0.53, allocations: 0.8852 MB / 0.5753 GB, free: 15.83 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002532/0.5303, allocations: 7.938 kB / 0.5753 GB, free: 15.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002265/0.5306, allocations: 63.31 kB / 0.5754 GB, free: 15.76 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003808/0.531, allocations: 170.6 kB / 0.5755 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004707/0.5314, allocations: 179.7 kB / 0.5757 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006492/0.5321, allocations: 0.6391 MB / 0.5763 GB, free: 14.78 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004463/0.5325, allocations: 244.1 kB / 0.5765 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003056/0.5329, allocations: 243.2 kB / 0.5768 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004256/0.5333, allocations: 290.8 kB / 0.5771 GB, free: 14.01 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.353e-05/0.5334, allocations: 52 kB / 0.5771 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.204e-05/0.5335, allocations: 48 kB / 0.5772 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000171/0.5337, allocations: 131.5 kB / 0.5773 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002677/0.5339, allocations: 262.7 kB / 0.5775 GB, free: 13.53 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006186/0.5346, allocations: 0.5778 MB / 0.5781 GB, free: 12.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.5346, allocations: 0 / 0.5781 GB, free: 12.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5346, allocations: 0 / 0.5781 GB, free: 12.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.5346, allocations: 0 / 0.5781 GB, free: 12.95 MB / 446.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.001664/0.5363, allocations: 0.8224 MB / 0.5789 GB, free: 12.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.627e-05/0.5363, allocations: 15.98 kB / 0.5789 GB, free: 12.06 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.5365, allocations: 56.28 kB / 0.579 GB, free: 12.01 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005921/0.5371, allocations: 351.1 kB / 0.5793 GB, free: 11.63 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.78e-05/0.5371, allocations: 37.38 kB / 0.5793 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.907e-05/0.5372, allocations: 44.38 kB / 0.5794 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007722/0.538, allocations: 398.8 kB / 0.5798 GB, free: 11.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.538, allocations: 4 kB / 0.5798 GB, free: 11.15 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.529e-05/0.5381, allocations: 12 kB / 0.5798 GB, free: 11.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.5381, allocations: 16 kB / 0.5798 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006701/0.5388, allocations: 327.8 kB / 0.5801 GB, free: 10.8 MB / 446.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.002298/0.5411, allocations: 1.462 MB / 0.5815 GB, free: 9.242 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007349/0.5418, allocations: 391 kB / 0.5819 GB, free: 8.852 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003753/0.5422, allocations: 240.7 kB / 0.5821 GB, free: 8.613 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.126e-05/0.5423, allocations: 8 kB / 0.5821 GB, free: 8.605 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.5423, allocations: 38.34 kB / 0.5822 GB, free: 8.559 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 1.933e-06/0.5423, allocations: 0 / 0.5822 GB, free: 8.559 MB / 446.1 MB Notification: Performance of matching and sorting (n=41): time 0.007783/0.5501, allocations: 1.817 MB / 0.5839 GB, free: 6.711 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.5502, allocations: 59.34 kB / 0.584 GB, free: 6.641 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004229/0.5506, allocations: 361.5 kB / 0.5844 GB, free: 6.277 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.765e-05/0.5507, allocations: 33.7 kB / 0.5844 GB, free: 6.238 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.5508, allocations: 212.7 kB / 0.5846 GB, free: 6.023 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/0.551, allocations: 145.9 kB / 0.5847 GB, free: 5.879 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.5511, allocations: 65.7 kB / 0.5848 GB, free: 5.809 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.5513, allocations: 346.8 kB / 0.5851 GB, free: 5.461 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003008/0.5516, allocations: 144.8 kB / 0.5853 GB, free: 5.316 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003441/0.5519, allocations: 201.9 kB / 0.5854 GB, free: 5.098 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005983/0.5525, allocations: 325.3 kB / 0.5858 GB, free: 4.777 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.5525, allocations: 0 / 0.5858 GB, free: 4.777 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001954/0.5545, allocations: 0.7197 MB / 0.5865 GB, free: 4.047 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.5545, allocations: 4 kB / 0.5865 GB, free: 4.043 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.5546, allocations: 4 kB / 0.5865 GB, free: 4.039 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001699/0.5563, allocations: 414.5 kB / 0.5869 GB, free: 3.633 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.5564, allocations: 35.91 kB / 0.5869 GB, free: 3.598 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006299/0.5627, allocations: 4.081 MB / 0.5909 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005526/0.5633, allocations: 47.58 kB / 0.5909 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.714e-05/0.5634, allocations: 16 kB / 0.5909 GB, free: 15.33 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004534/0.5638, allocations: 248.1 kB / 0.5912 GB, free: 15.09 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003202/0.5642, allocations: 202.2 kB / 0.5914 GB, free: 14.87 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005897/0.5648, allocations: 317.4 kB / 0.5917 GB, free: 14.55 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.244e-06/0.5648, allocations: 0 / 0.5917 GB, free: 14.55 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.001825/0.5666, allocations: 0.704 MB / 0.5924 GB, free: 13.84 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.5666, allocations: 8 kB / 0.5924 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.5666, allocations: 0 / 0.5924 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00133/0.568, allocations: 396.6 kB / 0.5928 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.5681, allocations: 27.97 kB / 0.5928 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005457/0.5736, allocations: 3.948 MB / 0.5966 GB, free: 9.324 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005702/0.5742, allocations: 43.75 kB / 0.5967 GB, free: 9.281 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.5742, allocations: 8 kB / 0.5967 GB, free: 9.273 MB / 462.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 (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 {(5,27)} Notification: Performance of prepare postOptimizeDAE: time 0.0001688/0.5744, allocations: 204.9 kB / 0.5969 GB, free: 9.066 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.522e-05/0.5745, allocations: 43.44 kB / 0.5969 GB, free: 9.023 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001369/0.5746, allocations: 60.42 kB / 0.597 GB, free: 8.961 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.5746, allocations: 4 kB / 0.597 GB, free: 8.957 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.5746, allocations: 0 / 0.597 GB, free: 8.957 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.5746, allocations: 3.984 kB / 0.597 GB, free: 8.953 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005848/0.5752, allocations: 486.1 kB / 0.5974 GB, free: 8.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.5752, allocations: 0 / 0.5974 GB, free: 8.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.5754, allocations: 28.16 kB / 0.5975 GB, free: 8.402 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001281/0.5767, allocations: 373 kB / 0.5978 GB, free: 8.035 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.5767, allocations: 11.94 kB / 0.5978 GB, free: 8.023 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005635/0.5823, allocations: 3.94 MB / 0.6017 GB, free: 3.941 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.5824, allocations: 3.984 kB / 0.6017 GB, free: 3.938 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.5842, allocations: 0.7853 MB / 0.6025 GB, free: 3.133 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001849/0.5844, allocations: 152.3 kB / 0.6026 GB, free: 2.965 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.331e-05/0.5845, allocations: 8 kB / 0.6026 GB, free: 2.957 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002885/0.5847, allocations: 19.97 kB / 0.6026 GB, free: 2.938 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.5849, allocations: 35.94 kB / 0.6027 GB, free: 2.902 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.5849, allocations: 12 kB / 0.6027 GB, free: 2.891 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002937/0.5852, allocations: 251.2 kB / 0.6029 GB, free: 2.645 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5852, allocations: 0 / 0.6029 GB, free: 2.645 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001154/0.5864, allocations: 335.5 kB / 0.6032 GB, free: 2.316 MB / 462.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 (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.0001618/0.5865, allocations: 107.2 kB / 0.6033 GB, free: 2.203 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002511/0.589, allocations: 1.116 MB / 0.6044 GB, free: 1.059 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.5891, allocations: 0 / 0.6044 GB, free: 1.059 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.5902, allocations: 0.4976 MB / 0.6049 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007101/0.5909, allocations: 117.4 kB / 0.605 GB, free: 440 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.5924, allocations: 0.8013 MB / 0.6058 GB, free: 15.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004515/0.5929, allocations: 0.844 MB / 0.6066 GB, free: 14.73 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001689/0.5931, allocations: 39.22 kB / 0.6067 GB, free: 14.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.97e-05/0.5931, allocations: 19.44 kB / 0.6067 GB, free: 14.68 MB / 478.1 MB Notification: Performance of SimCode: time 4.81e-07/0.5931, allocations: 0 / 0.6067 GB, free: 14.68 MB / 478.1 MB Notification: Performance of Templates: time 0.02305/0.6162, allocations: 13.24 MB / 0.6196 GB, free: 1.57 MB / 478.1 MB make -j1 -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.makefile (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)