Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001392/0.001392, allocations: 108.6 kB / 16.4 MB, free: 6.387 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.001553/0.001553, allocations: 187.7 kB / 17.34 MB, free: 5.84 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.303/1.303, 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.379/2.379, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.91 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6783/0.6796, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.009462/0.6891, allocations: 8.239 MB / 1.175 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1598/0.8489, allocations: 159.5 MB / 1.331 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001462/0.8504, allocations: 39.81 kB / 1.331 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004827/0.8552, allocations: 2.007 MB / 1.333 GB, free: 9.379 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003275/0.8585, allocations: 1.291 MB / 1.334 GB, free: 8.086 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003331/0.8619, allocations: 1.444 MB / 1.336 GB, free: 6.648 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.005364/0.8672, allocations: 5.462 MB / 1.341 GB, free: 1.168 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001679/0.8689, allocations: 1.108 MB / 1.342 GB, free: 16 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002456/0.8714, allocations: 1.703 MB / 1.344 GB, free: 14.31 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002246/0.8737, allocations: 1.483 MB / 1.345 GB, free: 12.82 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0006364/0.8743, allocations: 276 kB / 1.346 GB, free: 12.55 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003877/0.8782, allocations: 2.368 MB / 1.348 GB, free: 10.18 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002559/0.8808, allocations: 2.84 MB / 1.351 GB, free: 7.336 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00184/0.8826, allocations: 1.403 MB / 1.352 GB, free: 5.926 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.006132/0.8888, allocations: 5.209 MB / 1.357 GB, free: 0.6992 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.8888, allocations: 0 / 1.357 GB, free: 0.6992 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.805e-06/0.8888, allocations: 0 / 1.357 GB, free: 0.6992 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.025e-05/0.8889, allocations: 3.938 kB / 1.357 GB, free: 0.6953 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: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.005491/0.8944, allocations: 3.485 MB / 1.361 GB, free: 13.13 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.8944, allocations: 8.922 kB / 1.361 GB, free: 13.12 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.8956, allocations: 378.9 kB / 1.361 GB, free: 12.75 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007189/0.9028, allocations: 7.458 MB / 1.368 GB, free: 5.219 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/0.9029, allocations: 134.9 kB / 1.368 GB, free: 5.086 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002572/0.9032, allocations: 192 kB / 1.369 GB, free: 4.898 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002961/0.9062, allocations: 1.96 MB / 1.37 GB, free: 2.859 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.216e-05/0.9062, allocations: 0 / 1.37 GB, free: 2.859 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/0.9063, allocations: 71.94 kB / 1.37 GB, free: 2.789 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.809e-05/0.9064, allocations: 36 kB / 1.371 GB, free: 2.754 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002912/0.9093, allocations: 1.986 MB / 1.372 GB, free: 0.7617 MB / 1.092 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.0123/0.9216, allocations: 10.6 MB / 1.383 GB, free: 5.93 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002681/0.9243, allocations: 1.79 MB / 1.385 GB, free: 4.141 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001337/0.9257, allocations: 1.078 MB / 1.386 GB, free: 3.059 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.765e-05/0.9258, allocations: 41.09 kB / 1.386 GB, free: 3.02 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001588/0.9274, allocations: 1.192 MB / 1.387 GB, free: 1.809 MB / 1.107 GB Notification: Performance of pre-optimization done (n=117): time 2.806e-06/0.9274, allocations: 0 / 1.387 GB, free: 1.809 MB / 1.107 GB Notification: Performance of matching and sorting (n=117): time 0.00621/0.9336, allocations: 3.472 MB / 1.39 GB, free: 14.3 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002157/0.9338, allocations: 346.5 kB / 1.391 GB, free: 13.91 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01369/0.9475, allocations: 11.58 MB / 1.402 GB, free: 2.293 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0004199/0.948, allocations: 69.7 kB / 1.402 GB, free: 2.219 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.00098/0.949, allocations: 0.9819 MB / 1.403 GB, free: 1.227 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004989/0.9495, allocations: 416.6 kB / 1.403 GB, free: 0.8164 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002596/0.9521, allocations: 2.724 MB / 1.406 GB, free: 14.08 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 8.792e-05/0.9522, allocations: 301.1 kB / 1.406 GB, free: 13.78 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01731/0.9695, allocations: 20.11 MB / 1.426 GB, free: 9.664 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01846/0.988, allocations: 20.7 MB / 1.446 GB, free: 4.914 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02123/1.009, allocations: 23.57 MB / 1.469 GB, free: 13.21 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.377e-05/1.009, allocations: 0 / 1.469 GB, free: 13.21 MB / 1.201 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.04156/1.051, allocations: 44.25 MB / 1.512 GB, free: 0.8125 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002272/1.051, allocations: 165.6 kB / 1.512 GB, free: 0.6445 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.374e-05/1.051, allocations: 7.938 kB / 1.512 GB, free: 0.6367 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006769/1.052, allocations: 92.89 kB / 1.513 GB, free: 0.543 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001823/1.054, allocations: 407.4 kB / 1.513 GB, free: 148 kB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/1.056, allocations: 1.641 MB / 1.515 GB, free: 14.36 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002152/1.058, allocations: 246.2 kB / 1.515 GB, free: 14.12 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004291/1.058, allocations: 111.9 kB / 1.515 GB, free: 14.01 MB / 1.248 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.002162/1.061, allocations: 1.544 MB / 1.516 GB, free: 12.45 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005723/1.061, allocations: 226.5 kB / 1.517 GB, free: 12.23 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005281/1.067, allocations: 2.937 MB / 1.519 GB, free: 9.27 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/1.067, allocations: 3.984 kB / 1.519 GB, free: 9.266 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/1.067, allocations: 0 / 1.519 GB, free: 9.266 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008981/1.067, allocations: 0.4953 MB / 1.52 GB, free: 8.75 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000425/1.068, allocations: 27.94 kB / 1.52 GB, free: 8.723 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/1.069, allocations: 79.92 kB / 1.52 GB, free: 8.645 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002303/1.069, allocations: 96.8 kB / 1.52 GB, free: 8.547 MB / 1.248 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004617/1.074, allocations: 2.93 MB / 1.523 GB, free: 5.59 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005817/1.08, allocations: 4.243 MB / 1.527 GB, free: 1.324 MB / 1.248 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001608/1.081, allocations: 1.402 MB / 1.529 GB, free: 15.92 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.006455/1.088, allocations: 7.269 MB / 1.536 GB, free: 8.637 MB / 1.264 GB Notification: Performance of Backend: time 4.31e-07/1.088, allocations: 0 / 1.536 GB, free: 8.637 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.5291/1.617, allocations: 26.85 MB / 1.562 GB, free: 389.7 MB / 1.279 GB Notification: Performance of SimCode: time 0.01254/1.63, allocations: 11.38 MB / 1.573 GB, free: 385.3 MB / 1.279 GB Notification: Performance of Templates: time 0.08283/1.712, allocations: 49.67 MB / 1.621 GB, free: 338.6 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1)