Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.761/2.761, allocations: 287.3 MB / 302.3 MB, free: 8.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002244/0.002244, allocations: 184.2 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.164/2.164, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001129/0.001129, allocations: 101.1 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000637/0.0006372, allocations: 14.16 kB / 0.8656 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2214, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.008292/0.2298, allocations: 5.702 MB / 0.9838 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.883/1.113, allocations: 132 MB / 1.113 GB, free: 1.371 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001746/1.115, allocations: 28.06 kB / 1.113 GB, free: 1.359 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.006453/1.121, allocations: 1.427 MB / 1.114 GB, free: 1.191 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.004231/1.125, allocations: 0.9602 MB / 1.115 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004801/1.13, allocations: 0.9913 MB / 1.116 GB, free: 1.082 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.005898/1.136, allocations: 2.612 MB / 1.119 GB, free: 0.9961 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001848/1.138, allocations: 0.8988 MB / 1.119 GB, free: 0.8086 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003873/1.142, allocations: 1.235 MB / 1.121 GB, free: 0.5664 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002885/1.145, allocations: 1.018 MB / 1.122 GB, free: 376 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0007207/1.146, allocations: 64.09 kB / 1.122 GB, free: 376 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005416/1.151, allocations: 1.711 MB / 1.123 GB, free: 352 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.003949/1.155, allocations: 2.836 MB / 1.126 GB, free: 180 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002131/1.157, allocations: 0.761 MB / 1.127 GB, free: 15.98 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01493/1.172, allocations: 8.795 MB / 1.135 GB, free: 12.34 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/1.172, allocations: 0 / 1.135 GB, free: 12.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.497e-06/1.172, allocations: 3.938 kB / 1.135 GB, free: 12.34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002792/1.173, allocations: 0 / 1.135 GB, free: 12.34 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 362 * Number of variables: 362 Notification: Performance of Generate backend data structure: time 0.02693/1.2, allocations: 6.598 MB / 1.142 GB, free: 8.77 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/1.2, allocations: 8.688 kB / 1.142 GB, free: 8.77 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005384/1.205, allocations: 0.6074 MB / 1.143 GB, free: 8.449 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3672/1.572, allocations: 255.5 MB / 1.392 GB, free: 12.95 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002013/1.573, allocations: 130.7 kB / 1.392 GB, free: 12.82 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007781/1.573, allocations: 176 kB / 1.392 GB, free: 12.64 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005257/1.579, allocations: 1.674 MB / 1.394 GB, free: 10.89 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.861e-05/1.579, allocations: 0 / 1.394 GB, free: 10.89 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002617/1.579, allocations: 56 kB / 1.394 GB, free: 10.84 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.951e-05/1.579, allocations: 39.98 kB / 1.394 GB, free: 10.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005214/1.584, allocations: 1.723 MB / 1.396 GB, free: 9.066 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8244/2.409, allocations: 69.58 MB / 1.464 GB, free: 365.5 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004259/2.413, allocations: 1.453 MB / 1.465 GB, free: 365 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001609/2.413, allocations: 35.81 kB / 1.465 GB, free: 365 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002428/2.416, allocations: 0.9273 MB / 1.466 GB, free: 364.6 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=105): time 6.012e-06/2.416, allocations: 0.5625 kB / 1.466 GB, free: 364.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=105): time 0.01248/2.428, allocations: 3.118 MB / 1.469 GB, free: 362 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002974/2.429, allocations: 337.3 kB / 1.469 GB, free: 361.6 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4255/2.854, allocations: 316 MB / 1.778 GB, free: 49.24 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0005947/2.855, allocations: 63.78 kB / 1.778 GB, free: 49.18 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.004407/2.859, allocations: 2.202 MB / 1.78 GB, free: 47.04 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006052/2.86, allocations: 354 kB / 1.781 GB, free: 46.7 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001932/2.86, allocations: 32 kB / 1.781 GB, free: 46.67 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001702/2.86, allocations: 394.8 kB / 1.781 GB, free: 46.29 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003006/2.863, allocations: 1.307 MB / 1.782 GB, free: 44.98 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003472/2.867, allocations: 1.61 MB / 1.784 GB, free: 43.29 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003721/2.871, allocations: 1.628 MB / 1.785 GB, free: 41.67 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/2.871, allocations: 0 / 1.785 GB, free: 41.67 MB / 0.9636 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01222/2.883, allocations: 3.825 MB / 1.789 GB, free: 37.84 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002259/2.883, allocations: 169.6 kB / 1.789 GB, free: 37.67 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/2.883, allocations: 5.516 kB / 1.789 GB, free: 37.67 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009616/2.884, allocations: 96.55 kB / 1.789 GB, free: 37.57 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002935/2.887, allocations: 375.4 kB / 1.79 GB, free: 37.21 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002608/2.89, allocations: 1.55 MB / 1.791 GB, free: 35.53 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006615/2.897, allocations: 0.6177 MB / 1.792 GB, free: 34.91 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006687/2.897, allocations: 83.97 kB / 1.792 GB, free: 34.83 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 212 * Array equations: 0 * Algorithm blocks: 1 * 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 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.005387/2.903, allocations: 2.147 MB / 1.794 GB, free: 32.67 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003392/2.906, allocations: 446.1 kB / 1.794 GB, free: 32.23 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008689/2.915, allocations: 2.908 MB / 1.797 GB, free: 29.33 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/2.915, allocations: 12 kB / 1.797 GB, free: 29.32 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/2.915, allocations: 0 / 1.797 GB, free: 29.32 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/2.915, allocations: 3.984 kB / 1.797 GB, free: 29.32 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02227/2.937, allocations: 7.62 MB / 1.805 GB, free: 21.65 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/2.937, allocations: 0 / 1.805 GB, free: 21.65 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001507/2.939, allocations: 175.8 kB / 1.805 GB, free: 21.48 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008895/2.94, allocations: 84.77 kB / 1.805 GB, free: 21.39 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002916/2.94, allocations: 47.72 kB / 1.805 GB, free: 21.35 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002428/2.942, allocations: 1.56 MB / 1.807 GB, free: 19.65 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/2.942, allocations: 0 / 1.807 GB, free: 19.65 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009254/2.952, allocations: 2.614 MB / 1.809 GB, free: 17 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006099/2.958, allocations: 1.763 MB / 1.811 GB, free: 15.21 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003401/2.961, allocations: 23.95 kB / 1.811 GB, free: 15.19 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006323/2.968, allocations: 419.9 kB / 1.811 GB, free: 14.78 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004952/2.968, allocations: 76.89 kB / 1.811 GB, free: 14.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001838/2.968, allocations: 52.67 kB / 1.811 GB, free: 14.65 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 1.012/3.981, allocations: 251.6 MB / 2.057 GB, free: 160.5 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.163e-06/3.981, allocations: 2.078 kB / 2.057 GB, free: 160.5 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.007942/3.989, allocations: 1.335 MB / 2.058 GB, free: 159.3 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003876/3.993, allocations: 0.894 MB / 2.059 GB, free: 158.8 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.008048/4.001, allocations: 3.851 MB / 2.063 GB, free: 154.9 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/4.001, allocations: 0 / 2.063 GB, free: 154.9 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.003314/4.004, allocations: 1.675 MB / 2.065 GB, free: 153.2 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005505/4.01, allocations: 0.5326 MB / 2.065 GB, free: 152.7 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02759/4.038, allocations: 10.97 MB / 2.076 GB, free: 141.8 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007419/4.045, allocations: 3.063 MB / 2.079 GB, free: 138.7 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.007785/4.053, allocations: 1.668 MB / 2.08 GB, free: 137 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004849/4.058, allocations: 0.6631 MB / 2.081 GB, free: 136.4 MB / 0.9636 GB Notification: Performance of SimCode: time 1.282e-06/4.058, allocations: 0 / 2.081 GB, free: 136.4 MB / 0.9636 GB Notification: Performance of Templates: time 1.096/5.154, allocations: 164.8 MB / 2.242 GB, free: 315.7 MB / 0.9636 GB make -j1 -f Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile (rm -f Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & ./Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1)