Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001327/0.001327, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.734/2.734, allocations: 472.6 MB / 0.7451 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 62.38 kB / 0.912 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3723, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.009437/0.3818, allocations: 8.198 MB / 1.076 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1713/0.5532, allocations: 159.5 MB / 1.232 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002737/0.556, allocations: 39.75 kB / 1.232 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.006215/0.5623, allocations: 1.996 MB / 1.234 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004261/0.5666, allocations: 1.271 MB / 1.235 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004456/0.571, allocations: 1.428 MB / 1.237 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006814/0.5779, allocations: 5.442 MB / 1.242 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002359/0.5803, allocations: 1.112 MB / 1.243 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003385/0.5837, allocations: 1.679 MB / 1.245 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003059/0.5867, allocations: 1.491 MB / 1.246 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001063/0.5878, allocations: 280 kB / 1.246 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005725/0.5936, allocations: 2.329 MB / 1.249 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.633/1.227, allocations: 2.832 MB / 1.251 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002996/1.23, allocations: 1.399 MB / 1.253 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0103/1.24, allocations: 5.101 MB / 1.258 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/1.24, allocations: 0 / 1.258 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.585e-06/1.24, allocations: 0.5625 kB / 1.258 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001545/1.24, allocations: 0 / 1.258 GB, free: 13.55 MB / 0.9981 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.009068/1.249, allocations: 3.388 MB / 1.261 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/1.249, allocations: 10.62 kB / 1.261 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001457/1.251, allocations: 357 kB / 1.261 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008844/1.26, allocations: 7.406 MB / 1.269 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/1.26, allocations: 144.7 kB / 1.269 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003354/1.26, allocations: 184.7 kB / 1.269 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003761/1.264, allocations: 1.962 MB / 1.271 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.039e-05/1.264, allocations: 3.188 kB / 1.271 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001563/1.264, allocations: 62.31 kB / 1.271 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.401e-05/1.264, allocations: 37.73 kB / 1.271 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003247/1.267, allocations: 1.982 MB / 1.273 GB, free: 11 MB / 0.9981 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.01522/1.283, allocations: 10.64 MB / 1.283 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002962/1.286, allocations: 1.783 MB / 1.285 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00134/1.287, allocations: 1.084 MB / 1.286 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-05/1.287, allocations: 38.72 kB / 1.286 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00166/1.289, allocations: 1.198 MB / 1.287 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=117): time 2.534e-06/1.289, allocations: 0 / 1.287 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of matching and sorting (n=117): time 0.007337/1.296, allocations: 3.458 MB / 1.291 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002012/1.296, allocations: 342.8 kB / 1.291 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0142/1.311, allocations: 11.58 MB / 1.302 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007013/1.311, allocations: 73.78 kB / 1.302 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001314/1.313, allocations: 0.9665 MB / 1.303 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006613/1.313, allocations: 398.8 kB / 1.304 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002757/1.316, allocations: 2.676 MB / 1.306 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.523e-05/1.316, allocations: 302.2 kB / 1.307 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01695/1.333, allocations: 20.11 MB / 1.326 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04722/1.38, allocations: 23.5 MB / 1.349 GB, free: 8.688 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02301/1.403, allocations: 23.56 MB / 1.372 GB, free: 1.074 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.507e-05/1.404, allocations: 4 kB / 1.372 GB, free: 1.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.04649/1.45, allocations: 44.23 MB / 1.415 GB, free: 4.867 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003351/1.45, allocations: 165.6 kB / 1.416 GB, free: 4.699 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.672e-05/1.45, allocations: 4.938 kB / 1.416 GB, free: 4.695 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006534/1.451, allocations: 87.73 kB / 1.416 GB, free: 4.609 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00215/1.453, allocations: 416 kB / 1.416 GB, free: 4.23 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002278/1.456, allocations: 1.641 MB / 1.418 GB, free: 2.469 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003023/1.459, allocations: 243.1 kB / 1.418 GB, free: 2.242 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005356/1.459, allocations: 110.7 kB / 1.418 GB, free: 2.137 MB / 1.076 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.002491/1.462, allocations: 1.549 MB / 1.42 GB, free: 0.6094 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006291/1.462, allocations: 206.2 kB / 1.42 GB, free: 416 kB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005342/1.468, allocations: 2.946 MB / 1.423 GB, free: 13.46 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/1.468, allocations: 8.906 kB / 1.423 GB, free: 13.46 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/1.468, allocations: 4 kB / 1.423 GB, free: 13.45 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/1.468, allocations: 8.781 kB / 1.423 GB, free: 13.45 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003143/1.471, allocations: 1.788 MB / 1.424 GB, free: 11.63 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/1.471, allocations: 4.469 kB / 1.424 GB, free: 11.63 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008409/1.472, allocations: 181.7 kB / 1.425 GB, free: 11.46 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004871/1.472, allocations: 72.62 kB / 1.425 GB, free: 11.39 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001426/1.472, allocations: 39.97 kB / 1.425 GB, free: 11.36 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001973/1.474, allocations: 1.661 MB / 1.426 GB, free: 9.574 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.474, allocations: 11.42 kB / 1.426 GB, free: 9.566 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005006/1.479, allocations: 2.775 MB / 1.429 GB, free: 6.77 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/1.481, allocations: 493.9 kB / 1.429 GB, free: 6.266 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003719/1.481, allocations: 36.83 kB / 1.429 GB, free: 6.23 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/1.482, allocations: 69.75 kB / 1.43 GB, free: 6.164 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002618/1.482, allocations: 97.64 kB / 1.43 GB, free: 6.066 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/1.482, allocations: 59.97 kB / 1.43 GB, free: 6.008 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.007222/1.49, allocations: 7.27 MB / 1.437 GB, free: 14.72 MB / 1.107 GB Notification: Performance of sort global known variables: time 8.01e-07/1.49, allocations: 0 / 1.437 GB, free: 14.72 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.004634/1.494, allocations: 1.385 MB / 1.438 GB, free: 13.35 MB / 1.107 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.003031/1.497, allocations: 0.9532 MB / 1.439 GB, free: 12.69 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.02682/1.524, allocations: 27.3 MB / 1.466 GB, free: 1.418 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 8.176e-06/1.524, allocations: 0.9688 kB / 1.466 GB, free: 1.418 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002843/1.527, allocations: 1.911 MB / 1.468 GB, free: 15.5 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002521/1.53, allocations: 448.8 kB / 1.468 GB, free: 15.09 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01568/1.545, allocations: 11.23 MB / 1.479 GB, free: 3.984 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002927/1.548, allocations: 3.007 MB / 1.482 GB, free: 0.9688 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.002067/1.55, allocations: 0.521 MB / 1.482 GB, free: 464 kB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005251/1.551, allocations: 195.4 kB / 1.483 GB, free: 272 kB / 1.139 GB Notification: Performance of SimCode: time 8.01e-07/1.551, allocations: 0 / 1.483 GB, free: 272 kB / 1.139 GB Notification: Performance of Templates: time 0.1031/1.654, allocations: 47.66 MB / 1.529 GB, free: 0.9805 MB / 1.186 GB make -j1 -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile (rm -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & ./Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1)