Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.AbsorbedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsIntSha_flow.1.|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaSha_flow.1|1.|winAbs.QAbsGlaSha_flow.2|1.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsIntSha_flow.1.|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaSha_flow.1|1.|winAbs.QAbsGlaSha_flow.2|1.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 105.9 kB / 16.41 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.001735/0.001735, allocations: 189.7 kB / 17.34 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.577/2.577, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 71.83 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9149/0.9164, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.009404/0.9259, allocations: 7.004 MB / 1.215 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1708/1.097, allocations: 155.6 MB / 1.367 GB, free: 10.37 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001489/1.098, allocations: 23.88 kB / 1.367 GB, free: 10.35 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.005369/1.104, allocations: 1.807 MB / 1.369 GB, free: 8.535 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003359/1.107, allocations: 0.8814 MB / 1.37 GB, free: 7.652 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003149/1.11, allocations: 1.029 MB / 1.371 GB, free: 6.629 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004343/1.115, allocations: 3.664 MB / 1.374 GB, free: 2.957 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001692/1.116, allocations: 0.929 MB / 1.375 GB, free: 1.98 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002056/1.118, allocations: 1.188 MB / 1.377 GB, free: 0.7891 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002061/1.12, allocations: 1.074 MB / 1.378 GB, free: 15.71 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0006396/1.121, allocations: 200 kB / 1.378 GB, free: 15.52 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004882/1.126, allocations: 2.239 MB / 1.38 GB, free: 13.27 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.00204/1.128, allocations: 1.365 MB / 1.381 GB, free: 11.91 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.002536/1.131, allocations: 1.022 MB / 1.382 GB, free: 10.88 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.00783/1.138, allocations: 4.012 MB / 1.386 GB, free: 6.855 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/1.138, allocations: 0 / 1.386 GB, free: 6.855 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.244e-06/1.138, allocations: 3.938 kB / 1.386 GB, free: 6.852 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.000107/1.139, allocations: 7.984 kB / 1.386 GB, free: 6.844 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.005976/1.145, allocations: 2.601 MB / 1.389 GB, free: 4.176 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/1.145, allocations: 12.03 kB / 1.389 GB, free: 4.164 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/1.146, allocations: 262.2 kB / 1.389 GB, free: 3.906 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004074/1.15, allocations: 3.024 MB / 1.392 GB, free: 0.8281 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/1.15, allocations: 110.4 kB / 1.392 GB, free: 0.7188 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003268/1.15, allocations: 152 kB / 1.392 GB, free: 0.5703 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002952/1.153, allocations: 1.538 MB / 1.394 GB, free: 14.97 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/1.153, allocations: 0 / 1.394 GB, free: 14.97 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/1.153, allocations: 48 kB / 1.394 GB, free: 14.93 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.529e-05/1.153, allocations: 28 kB / 1.394 GB, free: 14.9 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002607/1.156, allocations: 1.609 MB / 1.395 GB, free: 13.28 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009331/1.165, allocations: 5.745 MB / 1.401 GB, free: 7.359 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002329/1.168, allocations: 1.438 MB / 1.402 GB, free: 5.914 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001185/1.169, allocations: 0.8941 MB / 1.403 GB, free: 5.016 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.61e-05/1.169, allocations: 33.19 kB / 1.403 GB, free: 4.984 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001451/1.17, allocations: 0.9538 MB / 1.404 GB, free: 4.02 MB / 1.123 GB Notification: Performance of pre-optimization done (n=104): time 3.166e-06/1.17, allocations: 0 / 1.404 GB, free: 4.02 MB / 1.123 GB Notification: Performance of matching and sorting (n=104): time 0.004423/1.175, allocations: 2.668 MB / 1.407 GB, free: 1.332 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002117/1.175, allocations: 336.2 kB / 1.407 GB, free: 0.957 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005696/1.181, allocations: 4.377 MB / 1.411 GB, free: 12.57 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0002982/1.181, allocations: 61.69 kB / 1.411 GB, free: 12.5 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008269/1.182, allocations: 0.6852 MB / 1.412 GB, free: 11.8 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004377/1.182, allocations: 351 kB / 1.412 GB, free: 11.46 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001325/1.184, allocations: 1.071 MB / 1.414 GB, free: 10.38 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001134/1.184, allocations: 305.1 kB / 1.414 GB, free: 10.07 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006996/1.191, allocations: 7.043 MB / 1.421 GB, free: 3.031 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007387/1.198, allocations: 7.309 MB / 1.428 GB, free: 11.71 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009375/1.208, allocations: 8.999 MB / 1.437 GB, free: 2.664 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.359e-05/1.208, allocations: 0 / 1.437 GB, free: 2.664 MB / 1.154 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01761/1.225, allocations: 15.86 MB / 1.452 GB, free: 2.758 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001958/1.226, allocations: 149.6 kB / 1.452 GB, free: 2.605 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/1.226, allocations: 3.984 kB / 1.452 GB, free: 2.602 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.857e-05/1.226, allocations: 8 kB / 1.452 GB, free: 2.594 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/1.227, allocations: 327.5 kB / 1.453 GB, free: 2.273 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.128e-05/1.227, allocations: 11.94 kB / 1.453 GB, free: 2.262 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/1.229, allocations: 194 kB / 1.453 GB, free: 2.07 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002753/1.229, allocations: 79.95 kB / 1.453 GB, free: 1.992 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (205): * Single equations (assignments): 192 * Array equations: 12 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001377/1.23, allocations: 0.8448 MB / 1.454 GB, free: 1.133 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006006/1.231, allocations: 154.1 kB / 1.454 GB, free: 0.9805 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00427/1.235, allocations: 2.372 MB / 1.456 GB, free: 14.59 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/1.235, allocations: 15.94 kB / 1.456 GB, free: 14.57 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/1.235, allocations: 0 / 1.456 GB, free: 14.57 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/1.235, allocations: 3.984 kB / 1.456 GB, free: 14.57 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002168/1.237, allocations: 1.357 MB / 1.457 GB, free: 13.15 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/1.237, allocations: 8 kB / 1.457 GB, free: 13.14 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006777/1.238, allocations: 159.8 kB / 1.458 GB, free: 12.99 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-05/1.238, allocations: 7.984 kB / 1.458 GB, free: 12.98 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.441e-05/1.238, allocations: 31.98 kB / 1.458 GB, free: 12.95 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.356e-06/1.238, allocations: 4 kB / 1.458 GB, free: 12.95 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/1.238, allocations: 3.984 kB / 1.458 GB, free: 12.94 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003478/1.242, allocations: 2.252 MB / 1.46 GB, free: 10.66 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007142/1.242, allocations: 398.8 kB / 1.46 GB, free: 10.25 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003616/1.243, allocations: 27.91 kB / 1.46 GB, free: 10.22 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/1.244, allocations: 71.92 kB / 1.46 GB, free: 10.15 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000196/1.244, allocations: 80.88 kB / 1.46 GB, free: 10.07 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/1.244, allocations: 51.97 kB / 1.46 GB, free: 10.02 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.002889/1.247, allocations: 2.799 MB / 1.463 GB, free: 7.223 MB / 1.186 GB Notification: Performance of sort global known variables: time 3.31e-07/1.247, allocations: 0 / 1.463 GB, free: 7.223 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002641/1.25, allocations: 1.081 MB / 1.464 GB, free: 6.141 MB / 1.186 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 (103): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002893/1.253, allocations: 0.9451 MB / 1.465 GB, free: 5.375 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01041/1.263, allocations: 10.7 MB / 1.476 GB, free: 10.66 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/1.263, allocations: 4 kB / 1.476 GB, free: 10.66 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001887/1.265, allocations: 1.524 MB / 1.477 GB, free: 9.125 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002029/1.267, allocations: 362.1 kB / 1.477 GB, free: 8.789 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00705/1.274, allocations: 4.189 MB / 1.482 GB, free: 4.559 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001124/1.275, allocations: 1.372 MB / 1.483 GB, free: 3.156 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006051/1.276, allocations: 151.4 kB / 1.483 GB, free: 3.008 MB / 1.201 GB Notification: Performance of SimCode: time 1.152e-06/1.276, allocations: 4 kB / 1.483 GB, free: 3.004 MB / 1.201 GB Notification: Performance of Templates: time 0.05332/1.329, allocations: 35.06 MB / 1.517 GB, free: 440 kB / 1.232 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1)