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.001659/0.001659, allocations: 104.4 kB / 16.27 MB, free: 6.418 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.001812/0.001812, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.348/1.348, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.196/2.196, allocations: 390.3 MB / 0.6653 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001352, allocations: 65.11 kB / 0.8132 GB, free: 33.05 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2838, allocations: 140.4 MB / 0.9503 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.009307/0.2931, allocations: 6.983 MB / 0.9571 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7514/1.044, allocations: 159.4 MB / 1.113 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002737/1.047, allocations: 38.78 kB / 1.113 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.007533/1.055, allocations: 1.963 MB / 1.115 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003765/1.059, allocations: 1.173 MB / 1.116 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004173/1.063, allocations: 1.433 MB / 1.117 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.006568/1.07, allocations: 5.219 MB / 1.122 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002079/1.072, allocations: 1.179 MB / 1.123 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003907/1.076, allocations: 1.642 MB / 1.125 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005145/1.081, allocations: 1.464 MB / 1.127 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001515/1.082, allocations: 278.6 kB / 1.127 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006472/1.089, allocations: 2.319 MB / 1.129 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.00439/1.093, allocations: 2.834 MB / 1.132 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.003263/1.097, allocations: 1.361 MB / 1.133 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.009507/1.106, allocations: 5.041 MB / 1.138 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/1.106, allocations: 2.391 kB / 1.138 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.664e-06/1.106, allocations: 0 / 1.138 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001459/1.106, allocations: 0 / 1.138 GB, free: 1.047 MB / 0.8575 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.009571/1.116, allocations: 3.355 MB / 1.141 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/1.116, allocations: 13.03 kB / 1.141 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001674/1.118, allocations: 362.2 kB / 1.142 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01142/1.129, allocations: 7.4 MB / 1.149 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001921/1.129, allocations: 138.5 kB / 1.149 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007731/1.13, allocations: 188.2 kB / 1.149 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004163/1.134, allocations: 1.963 MB / 1.151 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.177e-05/1.134, allocations: 3.938 kB / 1.151 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001585/1.134, allocations: 61.88 kB / 1.151 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.316e-05/1.135, allocations: 35.75 kB / 1.151 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003129/1.138, allocations: 1.987 MB / 1.153 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01474/1.152, allocations: 10.18 MB / 1.163 GB, free: 5.531 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003107/1.156, allocations: 1.781 MB / 1.165 GB, free: 4.711 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001376/1.157, allocations: 1.079 MB / 1.166 GB, free: 4.227 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.462e-05/1.157, allocations: 39.12 kB / 1.166 GB, free: 4.215 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001656/1.159, allocations: 1.204 MB / 1.167 GB, free: 3.621 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=117): time 2.986e-06/1.159, allocations: 0 / 1.167 GB, free: 3.621 MB / 0.8731 GB Notification: Performance of matching and sorting (n=117): time 0.006691/1.165, allocations: 3.451 MB / 1.171 GB, free: 2.16 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002379/1.166, allocations: 342.4 kB / 1.171 GB, free: 1.859 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01491/1.181, allocations: 11.58 MB / 1.182 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0006666/1.181, allocations: 65.7 kB / 1.182 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001652/1.183, allocations: 0.9605 MB / 1.183 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007595/1.184, allocations: 402.6 kB / 1.184 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004786/1.189, allocations: 2.678 MB / 1.186 GB, free: 8.051 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001104/1.189, allocations: 301.1 kB / 1.186 GB, free: 7.754 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02207/1.211, allocations: 20.1 MB / 1.206 GB, free: 3.645 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02132/1.232, allocations: 20.7 MB / 1.226 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02425/1.257, allocations: 23.56 MB / 1.249 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-05/1.257, allocations: 64 / 1.249 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.05132/1.308, allocations: 44.24 MB / 1.292 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003047/1.308, allocations: 168 kB / 1.293 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.704e-05/1.308, allocations: 4.312 kB / 1.293 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006717/1.309, allocations: 92.77 kB / 1.293 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002/1.311, allocations: 411.4 kB / 1.293 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002199/1.313, allocations: 1.639 MB / 1.295 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002846/1.316, allocations: 233.8 kB / 1.295 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00076/1.317, allocations: 111.2 kB / 1.295 GB, free: 8.223 MB / 0.9981 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.003049/1.32, allocations: 1.546 MB / 1.297 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008066/1.321, allocations: 213.2 kB / 1.297 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005794/1.327, allocations: 2.94 MB / 1.3 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.301e-05/1.327, allocations: 12 kB / 1.3 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/1.327, allocations: 0 / 1.3 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.207e-05/1.327, allocations: 3.984 kB / 1.3 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00351/1.33, allocations: 1.804 MB / 1.301 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/1.33, allocations: 0 / 1.301 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008251/1.331, allocations: 183.7 kB / 1.302 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004811/1.332, allocations: 80.72 kB / 1.302 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001571/1.332, allocations: 39.97 kB / 1.302 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001963/1.334, allocations: 1.65 MB / 1.303 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.334, allocations: 0 / 1.303 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005087/1.339, allocations: 2.776 MB / 1.306 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001226/1.34, allocations: 497.9 kB / 1.307 GB, free: 12.24 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006203/1.341, allocations: 28 kB / 1.307 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/1.342, allocations: 79.92 kB / 1.307 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002497/1.342, allocations: 92.86 kB / 1.307 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/1.342, allocations: 63.97 kB / 1.307 GB, free: 11.98 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.007352/1.35, allocations: 7.261 MB / 1.314 GB, free: 4.703 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.01e-07/1.35, allocations: 0 / 1.314 GB, free: 4.703 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004726/1.354, allocations: 1.363 MB / 1.315 GB, free: 3.344 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003588/1.358, allocations: 0.9621 MB / 1.316 GB, free: 2.598 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.02687/1.385, allocations: 27.29 MB / 1.343 GB, free: 7.273 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 8.757e-06/1.385, allocations: 0 / 1.343 GB, free: 7.273 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002996/1.388, allocations: 1.916 MB / 1.345 GB, free: 5.332 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002912/1.391, allocations: 427.4 kB / 1.345 GB, free: 4.934 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01285/1.404, allocations: 6.883 MB / 1.352 GB, free: 14.02 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002109/1.406, allocations: 1.714 MB / 1.353 GB, free: 12.29 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001064/1.407, allocations: 211.3 kB / 1.354 GB, free: 12.08 MB / 1.061 GB Notification: Performance of SimCode: time 1.092e-06/1.407, allocations: 3.938 kB / 1.354 GB, free: 12.07 MB / 1.061 GB Notification: Performance of Templates: time 0.09878/1.506, allocations: 63.52 MB / 1.416 GB, free: 13.65 MB / 1.123 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)