Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.WindowRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winRad.HDif|winRad.HDir|winRad.QTraDif_flow|winRad.QTraDir_flow|winRad.QAbsExtSha_flow|winRad.QAbsIntSha_flow|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.|winRad.QAbsGlaSha_flow.1.|winRad.QAbsGlaSha_flow.2.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winRad.HDif|winRad.HDir|winRad.QTraDif_flow|winRad.QTraDir_flow|winRad.QAbsExtSha_flow|winRad.QAbsIntSha_flow|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.|winRad.QAbsGlaSha_flow.1.|winRad.QAbsGlaSha_flow.2.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 108.2 kB / 16.42 MB, free: 6.516 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.001021/0.001021, allocations: 186.7 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.179/2.179, allocations: 390.3 MB / 0.6655 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 67.89 kB / 0.9516 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6904/0.6916, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.007273/0.6989, allocations: 7 MB / 1.095 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1742/0.8732, allocations: 159.4 MB / 1.251 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001398/0.8746, allocations: 35.81 kB / 1.251 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004514/0.8792, allocations: 1.97 MB / 1.253 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002669/0.8818, allocations: 1.201 MB / 1.254 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003119/0.885, allocations: 1.425 MB / 1.256 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004306/0.8893, allocations: 5.249 MB / 1.261 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001372/0.8907, allocations: 1.17 MB / 1.262 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001816/0.8925, allocations: 1.667 MB / 1.264 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001499/0.894, allocations: 1.463 MB / 1.265 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003522/0.8944, allocations: 280 kB / 1.265 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003571/0.898, allocations: 2.356 MB / 1.268 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002069/0.9, allocations: 2.836 MB / 1.27 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001131/0.9012, allocations: 1.36 MB / 1.272 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005208/0.9064, allocations: 5.107 MB / 1.277 GB, free: 13.18 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.9064, allocations: 8 kB / 1.277 GB, free: 13.17 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9064, allocations: 4 kB / 1.277 GB, free: 13.16 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.444e-05/0.9065, allocations: 0 / 1.277 GB, free: 13.16 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.00503/0.9115, allocations: 3.358 MB / 1.28 GB, free: 9.734 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.9115, allocations: 8.031 kB / 1.28 GB, free: 9.727 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.9127, allocations: 365.2 kB / 1.28 GB, free: 9.367 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007042/0.9198, allocations: 7.449 MB / 1.288 GB, free: 1.844 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.9199, allocations: 142.9 kB / 1.288 GB, free: 1.703 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002364/0.9201, allocations: 184 kB / 1.288 GB, free: 1.523 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002949/0.9231, allocations: 1.96 MB / 1.29 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/0.9231, allocations: 3.984 kB / 1.29 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/0.9233, allocations: 64 kB / 1.29 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.534e-05/0.9233, allocations: 40 kB / 1.29 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002954/0.9263, allocations: 1.978 MB / 1.292 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01144/0.9377, allocations: 10.11 MB / 1.302 GB, free: 3.168 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002611/0.9403, allocations: 1.776 MB / 1.303 GB, free: 1.383 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001304/0.9416, allocations: 1.093 MB / 1.304 GB, free: 292 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.038e-05/0.9417, allocations: 36.94 kB / 1.304 GB, free: 256 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001607/0.9434, allocations: 1.192 MB / 1.306 GB, free: 15.04 MB / 1.045 GB Notification: Performance of pre-optimization done (n=117): time 2.835e-06/0.9434, allocations: 0 / 1.306 GB, free: 15.04 MB / 1.045 GB Notification: Performance of matching and sorting (n=117): time 0.005983/0.9494, allocations: 3.455 MB / 1.309 GB, free: 11.55 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001946/0.9496, allocations: 342.5 kB / 1.309 GB, free: 11.16 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01264/0.9622, allocations: 11.59 MB / 1.321 GB, free: 15.54 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001888/0.9624, allocations: 65.7 kB / 1.321 GB, free: 15.47 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007857/0.9632, allocations: 0.9647 MB / 1.322 GB, free: 14.5 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003248/0.9635, allocations: 402.4 kB / 1.322 GB, free: 14.1 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002059/0.9656, allocations: 2.672 MB / 1.325 GB, free: 11.41 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.154e-05/0.9657, allocations: 305.1 kB / 1.325 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01692/0.9826, allocations: 20.11 MB / 1.345 GB, free: 6.988 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01926/1.002, allocations: 20.69 MB / 1.365 GB, free: 2.242 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02238/1.024, allocations: 23.57 MB / 1.388 GB, free: 10.54 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.506e-05/1.024, allocations: 0 / 1.388 GB, free: 10.54 MB / 1.123 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.04399/1.068, allocations: 44.23 MB / 1.431 GB, free: 14.17 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001992/1.069, allocations: 165.6 kB / 1.431 GB, free: 14 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/1.069, allocations: 4 kB / 1.431 GB, free: 14 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006309/1.069, allocations: 92.97 kB / 1.431 GB, free: 13.91 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001738/1.071, allocations: 411.4 kB / 1.432 GB, free: 13.5 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/1.073, allocations: 1.642 MB / 1.433 GB, free: 11.72 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/1.075, allocations: 239.9 kB / 1.433 GB, free: 11.48 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003132/1.076, allocations: 107.9 kB / 1.434 GB, free: 11.38 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (279): * Single equations (assignments): 241 * Array equations: 36 * Algorithm blocks: 1 * 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 {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001926/1.077, allocations: 1.544 MB / 1.435 GB, free: 9.816 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004819/1.078, allocations: 209.3 kB / 1.435 GB, free: 9.609 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00508/1.083, allocations: 2.937 MB / 1.438 GB, free: 6.652 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/1.083, allocations: 7.969 kB / 1.438 GB, free: 6.645 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/1.083, allocations: 0 / 1.438 GB, free: 6.645 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008448/1.084, allocations: 490 kB / 1.439 GB, free: 6.145 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003208/1.084, allocations: 43.83 kB / 1.439 GB, free: 6.102 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000957/1.085, allocations: 75.92 kB / 1.439 GB, free: 6.027 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002197/1.085, allocations: 96.81 kB / 1.439 GB, free: 5.934 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004502/1.09, allocations: 2.923 MB / 1.442 GB, free: 2.98 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005844/1.096, allocations: 4.234 MB / 1.446 GB, free: 14.72 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001649/1.097, allocations: 1.406 MB / 1.447 GB, free: 13.31 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.006648/1.104, allocations: 7.265 MB / 1.454 GB, free: 6.031 MB / 1.186 GB Notification: Performance of Backend: time 5.11e-07/1.104, allocations: 3.938 kB / 1.454 GB, free: 6.027 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.02579/1.13, allocations: 26.85 MB / 1.481 GB, free: 11.37 MB / 1.217 GB Notification: Performance of SimCode: time 0.01434/1.144, allocations: 11.2 MB / 1.491 GB, free: 112 kB / 1.217 GB Notification: Performance of Templates: time 0.09688/1.241, allocations: 48.88 MB / 1.539 GB, free: 15.44 MB / 1.279 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1)