Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_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.001456/0.001455, allocations: 107 kB / 16.4 MB, free: 6.379 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.001707/0.001707, allocations: 185.5 kB / 17.33 MB, free: 5.844 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.509/2.509, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 67.91 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.879/0.8806, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.009183/0.8898, allocations: 7.036 MB / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1785/1.068, allocations: 155.6 MB / 1.326 GB, free: 0.582 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001726/1.07, allocations: 27.88 kB / 1.326 GB, free: 0.5547 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.005541/1.076, allocations: 1.826 MB / 1.328 GB, free: 14.72 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003596/1.079, allocations: 0.8967 MB / 1.329 GB, free: 13.82 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003149/1.083, allocations: 1.033 MB / 1.33 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.004836/1.087, allocations: 3.668 MB / 1.333 GB, free: 9.121 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00182/1.089, allocations: 0.9251 MB / 1.334 GB, free: 8.148 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002216/1.091, allocations: 1.192 MB / 1.335 GB, free: 6.953 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002365/1.094, allocations: 1.059 MB / 1.336 GB, free: 5.891 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0009651/1.095, allocations: 207.9 kB / 1.337 GB, free: 5.688 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005183/1.1, allocations: 2.251 MB / 1.339 GB, free: 3.434 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001758/1.102, allocations: 1.365 MB / 1.34 GB, free: 2.066 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002084/1.104, allocations: 1.026 MB / 1.341 GB, free: 1.035 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.008083/1.112, allocations: 4.029 MB / 1.345 GB, free: 12.99 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.112, allocations: 0 / 1.345 GB, free: 12.99 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.655e-06/1.112, allocations: 4 kB / 1.345 GB, free: 12.99 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001243/1.112, allocations: 0 / 1.345 GB, free: 12.99 MB / 1.076 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.006835/1.119, allocations: 2.687 MB / 1.348 GB, free: 10.23 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/1.119, allocations: 12.91 kB / 1.348 GB, free: 10.22 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/1.12, allocations: 279.4 kB / 1.348 GB, free: 9.945 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004467/1.125, allocations: 3.029 MB / 1.351 GB, free: 6.863 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/1.125, allocations: 114.4 kB / 1.351 GB, free: 6.75 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003594/1.125, allocations: 148 kB / 1.351 GB, free: 6.605 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003097/1.128, allocations: 1.542 MB / 1.353 GB, free: 5.004 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.228e-05/1.128, allocations: 7.938 kB / 1.353 GB, free: 4.996 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/1.129, allocations: 48 kB / 1.353 GB, free: 4.949 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.728e-05/1.129, allocations: 28 kB / 1.353 GB, free: 4.922 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002695/1.131, allocations: 1.605 MB / 1.354 GB, free: 3.309 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009373/1.141, allocations: 5.752 MB / 1.36 GB, free: 13.38 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002285/1.143, allocations: 1.435 MB / 1.361 GB, free: 11.94 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/1.144, allocations: 0.8863 MB / 1.362 GB, free: 11.05 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.092e-05/1.144, allocations: 36.94 kB / 1.362 GB, free: 11.02 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001449/1.146, allocations: 0.9537 MB / 1.363 GB, free: 10.05 MB / 1.092 GB Notification: Performance of pre-optimization done (n=104): time 3.276e-06/1.146, allocations: 0 / 1.363 GB, free: 10.05 MB / 1.092 GB Notification: Performance of matching and sorting (n=104): time 0.00449/1.15, allocations: 2.677 MB / 1.366 GB, free: 7.359 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002202/1.15, allocations: 332.2 kB / 1.366 GB, free: 6.984 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005482/1.156, allocations: 4.377 MB / 1.37 GB, free: 2.594 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002387/1.156, allocations: 61.7 kB / 1.371 GB, free: 2.527 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008039/1.157, allocations: 0.7059 MB / 1.371 GB, free: 1.812 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003758/1.157, allocations: 364.9 kB / 1.372 GB, free: 1.453 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001248/1.159, allocations: 1.084 MB / 1.373 GB, free: 372 kB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001039/1.159, allocations: 305.1 kB / 1.373 GB, free: 64 kB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006804/1.166, allocations: 7.039 MB / 1.38 GB, free: 9.02 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006906/1.173, allocations: 7.317 MB / 1.387 GB, free: 1.691 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01129/1.184, allocations: 8.999 MB / 1.396 GB, free: 8.648 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.291e-05/1.184, allocations: 0 / 1.396 GB, free: 8.648 MB / 1.123 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01724/1.201, allocations: 15.87 MB / 1.411 GB, free: 8.723 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001863/1.201, allocations: 153.6 kB / 1.411 GB, free: 8.566 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.051e-05/1.201, allocations: 0 / 1.411 GB, free: 8.566 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.792e-05/1.201, allocations: 8 kB / 1.411 GB, free: 8.559 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/1.203, allocations: 323.5 kB / 1.412 GB, free: 8.242 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.338e-05/1.203, allocations: 8 kB / 1.412 GB, free: 8.234 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/1.204, allocations: 202.6 kB / 1.412 GB, free: 8.035 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002816/1.205, allocations: 79.95 kB / 1.412 GB, free: 7.957 MB / 1.139 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.001419/1.206, allocations: 0.8478 MB / 1.413 GB, free: 7.098 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004959/1.207, allocations: 155 kB / 1.413 GB, free: 6.945 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004182/1.211, allocations: 2.383 MB / 1.415 GB, free: 4.543 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/1.211, allocations: 12 kB / 1.415 GB, free: 4.531 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/1.211, allocations: 0 / 1.415 GB, free: 4.531 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/1.211, allocations: 3.984 kB / 1.415 GB, free: 4.527 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002145/1.213, allocations: 1.357 MB / 1.417 GB, free: 3.117 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/1.213, allocations: 0 / 1.417 GB, free: 3.117 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006967/1.214, allocations: 159.8 kB / 1.417 GB, free: 2.961 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.541e-05/1.214, allocations: 8 kB / 1.417 GB, free: 2.953 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-05/1.214, allocations: 35.97 kB / 1.417 GB, free: 2.918 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/1.214, allocations: 0 / 1.417 GB, free: 2.918 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/1.214, allocations: 8 kB / 1.417 GB, free: 2.91 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003524/1.217, allocations: 2.257 MB / 1.419 GB, free: 0.625 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007376/1.218, allocations: 407.6 kB / 1.419 GB, free: 212 kB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003381/1.219, allocations: 32 kB / 1.419 GB, free: 180 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009564/1.22, allocations: 67.92 kB / 1.419 GB, free: 112 kB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001991/1.22, allocations: 80.89 kB / 1.42 GB, free: 32 kB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/1.22, allocations: 52.02 kB / 1.42 GB, free: 15.98 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002897/1.223, allocations: 2.799 MB / 1.422 GB, free: 13.18 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.21e-07/1.223, allocations: 0 / 1.422 GB, free: 13.18 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002632/1.225, allocations: 1.095 MB / 1.423 GB, free: 12.09 MB / 1.154 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.003278/1.229, allocations: 0.9648 MB / 1.424 GB, free: 11.28 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01084/1.24, allocations: 10.71 MB / 1.435 GB, free: 0.5625 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/1.24, allocations: 4 kB / 1.435 GB, free: 0.5586 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.00207/1.242, allocations: 1.52 MB / 1.436 GB, free: 15.02 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00237/1.244, allocations: 352.7 kB / 1.437 GB, free: 14.69 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008019/1.252, allocations: 4.259 MB / 1.441 GB, free: 10.39 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001457/1.254, allocations: 1.372 MB / 1.442 GB, free: 8.988 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005822/1.254, allocations: 167.3 kB / 1.442 GB, free: 8.824 MB / 1.17 GB Notification: Performance of SimCode: time 1.192e-06/1.254, allocations: 0 / 1.442 GB, free: 8.824 MB / 1.17 GB Notification: Performance of Templates: time 0.05831/1.313, allocations: 35.18 MB / 1.477 GB, free: 6.082 MB / 1.201 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1)