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.001887/0.001887, allocations: 107.3 kB / 16.41 MB, free: 6.496 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.002317/0.002317, allocations: 187 kB / 17.34 MB, free: 5.762 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.471/2.471, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 67.88 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8628/0.8643, allocations: 157.4 MB / 1.208 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.009006/0.8734, allocations: 6.998 MB / 1.215 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1704/1.044, allocations: 155.6 MB / 1.367 GB, free: 10.47 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001868/1.046, allocations: 23.88 kB / 1.367 GB, free: 10.45 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.005775/1.052, allocations: 1.811 MB / 1.369 GB, free: 8.629 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003117/1.055, allocations: 0.8738 MB / 1.37 GB, free: 7.754 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002847/1.058, allocations: 1.033 MB / 1.371 GB, free: 6.727 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00445/1.062, allocations: 3.672 MB / 1.374 GB, free: 3.047 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001765/1.064, allocations: 0.9135 MB / 1.375 GB, free: 2.086 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002127/1.066, allocations: 1.196 MB / 1.377 GB, free: 0.8867 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002035/1.068, allocations: 1.074 MB / 1.378 GB, free: 15.81 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0007116/1.069, allocations: 200 kB / 1.378 GB, free: 15.61 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004272/1.073, allocations: 2.243 MB / 1.38 GB, free: 13.37 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001608/1.075, allocations: 1.357 MB / 1.381 GB, free: 12.01 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001973/1.077, allocations: 1.03 MB / 1.382 GB, free: 10.97 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.007022/1.084, allocations: 4.004 MB / 1.386 GB, free: 6.957 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/1.084, allocations: 4 kB / 1.386 GB, free: 6.953 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.523e-06/1.084, allocations: 4 kB / 1.386 GB, free: 6.949 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001176/1.084, allocations: 0 / 1.386 GB, free: 6.949 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.00627/1.09, allocations: 2.605 MB / 1.389 GB, free: 4.277 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/1.09, allocations: 12.03 kB / 1.389 GB, free: 4.266 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/1.091, allocations: 270.2 kB / 1.389 GB, free: 4 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004319/1.096, allocations: 3.016 MB / 1.392 GB, free: 0.9297 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/1.096, allocations: 114.4 kB / 1.392 GB, free: 0.8164 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003446/1.096, allocations: 152 kB / 1.392 GB, free: 0.668 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00305/1.099, allocations: 1.542 MB / 1.394 GB, free: 15.07 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.036e-05/1.099, allocations: 0 / 1.394 GB, free: 15.07 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/1.099, allocations: 52 kB / 1.394 GB, free: 15.02 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.603e-05/1.099, allocations: 28 kB / 1.394 GB, free: 14.99 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002616/1.102, allocations: 1.609 MB / 1.395 GB, free: 13.37 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009727/1.112, allocations: 5.734 MB / 1.401 GB, free: 7.461 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002273/1.114, allocations: 1.445 MB / 1.402 GB, free: 6.012 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/1.115, allocations: 0.8862 MB / 1.403 GB, free: 5.121 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-05/1.115, allocations: 33.17 kB / 1.403 GB, free: 5.09 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0014/1.117, allocations: 0.9538 MB / 1.404 GB, free: 4.125 MB / 1.123 GB Notification: Performance of pre-optimization done (n=104): time 5.47e-06/1.117, allocations: 3.984 kB / 1.404 GB, free: 4.121 MB / 1.123 GB Notification: Performance of matching and sorting (n=104): time 0.004332/1.121, allocations: 2.672 MB / 1.407 GB, free: 1.43 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002144/1.121, allocations: 332.2 kB / 1.407 GB, free: 1.059 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006285/1.128, allocations: 4.377 MB / 1.411 GB, free: 12.66 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0002194/1.128, allocations: 61.7 kB / 1.411 GB, free: 12.6 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007773/1.129, allocations: 0.6891 MB / 1.412 GB, free: 11.9 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003475/1.129, allocations: 355 kB / 1.412 GB, free: 11.55 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001266/1.13, allocations: 1.071 MB / 1.414 GB, free: 10.47 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 9.624e-05/1.13, allocations: 305.1 kB / 1.414 GB, free: 10.17 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006603/1.137, allocations: 7.043 MB / 1.421 GB, free: 3.125 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006938/1.144, allocations: 7.309 MB / 1.428 GB, free: 11.8 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009116/1.153, allocations: 8.999 MB / 1.437 GB, free: 2.758 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/1.153, allocations: 0 / 1.437 GB, free: 2.758 MB / 1.154 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01636/1.17, allocations: 15.86 MB / 1.452 GB, free: 2.852 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001646/1.17, allocations: 149.6 kB / 1.452 GB, free: 2.699 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/1.17, allocations: 4 kB / 1.452 GB, free: 2.695 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.421e-05/1.17, allocations: 8 kB / 1.452 GB, free: 2.688 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/1.171, allocations: 323.5 kB / 1.453 GB, free: 2.371 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.094e-05/1.171, allocations: 7.984 kB / 1.453 GB, free: 2.363 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/1.173, allocations: 198.1 kB / 1.453 GB, free: 2.168 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002524/1.173, allocations: 75.97 kB / 1.453 GB, free: 2.094 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.001281/1.174, allocations: 0.8487 MB / 1.454 GB, free: 1.23 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004288/1.175, allocations: 150.1 kB / 1.454 GB, free: 1.082 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003951/1.179, allocations: 2.376 MB / 1.456 GB, free: 14.68 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/1.179, allocations: 8 kB / 1.456 GB, free: 14.68 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/1.179, allocations: 4 kB / 1.456 GB, free: 14.67 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/1.179, allocations: 7.969 kB / 1.456 GB, free: 14.66 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001981/1.181, allocations: 1.361 MB / 1.457 GB, free: 13.25 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/1.181, allocations: 0 / 1.457 GB, free: 13.25 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006614/1.181, allocations: 159.7 kB / 1.458 GB, free: 13.09 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.49e-05/1.181, allocations: 4 kB / 1.458 GB, free: 13.09 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.649e-05/1.181, allocations: 39.97 kB / 1.458 GB, free: 13.05 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.263e-06/1.181, allocations: 4 kB / 1.458 GB, free: 13.04 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.181, allocations: 0 / 1.458 GB, free: 13.04 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003335/1.185, allocations: 2.24 MB / 1.46 GB, free: 10.77 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007868/1.186, allocations: 406.8 kB / 1.46 GB, free: 10.36 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002999/1.186, allocations: 27.91 kB / 1.46 GB, free: 10.33 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009311/1.187, allocations: 77.95 kB / 1.46 GB, free: 10.25 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001958/1.187, allocations: 80.89 kB / 1.46 GB, free: 10.17 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/1.187, allocations: 51.97 kB / 1.46 GB, free: 10.12 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.002783/1.19, allocations: 2.795 MB / 1.463 GB, free: 7.328 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.904e-06/1.19, allocations: 0 / 1.463 GB, free: 7.328 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002674/1.193, allocations: 1.085 MB / 1.464 GB, free: 6.242 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.002963/1.196, allocations: 0.9425 MB / 1.465 GB, free: 5.477 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.009933/1.206, allocations: 10.71 MB / 1.476 GB, free: 10.76 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.206, allocations: 0 / 1.476 GB, free: 10.76 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001778/1.207, allocations: 1.52 MB / 1.477 GB, free: 9.227 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001931/1.209, allocations: 353.9 kB / 1.477 GB, free: 8.895 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006827/1.216, allocations: 4.197 MB / 1.482 GB, free: 4.656 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/1.217, allocations: 1.381 MB / 1.483 GB, free: 3.246 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005621/1.218, allocations: 155.4 kB / 1.483 GB, free: 3.094 MB / 1.201 GB Notification: Performance of SimCode: time 8.12e-07/1.218, allocations: 0 / 1.483 GB, free: 3.094 MB / 1.201 GB Notification: Performance of Templates: time 0.057/1.275, allocations: 35.45 MB / 1.518 GB, free: 148 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)