Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.00144/0.00144, allocations: 108.2 kB / 16.41 MB, free: 6.457 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.001615/0.001615, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.587/2.587, allocations: 469.4 MB / 0.7428 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 63.89 kB / 1.066 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6881/0.6894, allocations: 159.1 MB / 1.221 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.008944/0.6984, allocations: 8.208 MB / 1.229 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1579/0.8563, allocations: 159.5 MB / 1.385 GB, free: 9.988 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002082/0.8584, allocations: 39.75 kB / 1.385 GB, free: 9.949 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.006285/0.8648, allocations: 2.005 MB / 1.387 GB, free: 7.938 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004161/0.869, allocations: 1.292 MB / 1.388 GB, free: 6.645 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003808/0.8728, allocations: 1.445 MB / 1.389 GB, free: 5.203 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.005482/0.8783, allocations: 5.457 MB / 1.395 GB, free: 15.74 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002003/0.8803, allocations: 1.104 MB / 1.396 GB, free: 14.59 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002983/0.8833, allocations: 1.707 MB / 1.397 GB, free: 12.88 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00281/0.8861, allocations: 1.495 MB / 1.399 GB, free: 11.38 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0007903/0.8869, allocations: 276 kB / 1.399 GB, free: 11.11 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004784/0.8917, allocations: 2.356 MB / 1.401 GB, free: 8.746 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.003011/0.8947, allocations: 2.844 MB / 1.404 GB, free: 5.898 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.00239/0.8972, allocations: 1.399 MB / 1.406 GB, free: 4.492 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.007862/0.905, allocations: 5.173 MB / 1.411 GB, free: 15.3 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.905, allocations: 0 / 1.411 GB, free: 15.3 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9051, allocations: 0 / 1.411 GB, free: 15.3 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001016/0.9052, allocations: 0 / 1.411 GB, free: 15.3 MB / 1.139 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.008177/0.9133, allocations: 3.389 MB / 1.414 GB, free: 11.84 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.9134, allocations: 8.625 kB / 1.414 GB, free: 11.83 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001714/0.9151, allocations: 361.3 kB / 1.414 GB, free: 11.48 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01059/0.9257, allocations: 7.449 MB / 1.422 GB, free: 3.953 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000201/0.926, allocations: 138.9 kB / 1.422 GB, free: 3.816 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006271/0.9266, allocations: 192 kB / 1.422 GB, free: 3.629 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004862/0.9315, allocations: 1.956 MB / 1.424 GB, free: 1.594 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.787e-05/0.9316, allocations: 0 / 1.424 GB, free: 1.594 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002212/0.9318, allocations: 64 kB / 1.424 GB, free: 1.531 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-05/0.9318, allocations: 39.98 kB / 1.424 GB, free: 1.492 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003947/0.9358, allocations: 1.99 MB / 1.426 GB, free: 15.5 MB / 1.154 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.01695/0.9528, allocations: 10.58 MB / 1.436 GB, free: 4.688 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003713/0.9565, allocations: 1.788 MB / 1.438 GB, free: 2.898 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002048/0.9586, allocations: 1.082 MB / 1.439 GB, free: 1.816 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.9587, allocations: 41.09 kB / 1.439 GB, free: 1.773 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002237/0.961, allocations: 1.192 MB / 1.44 GB, free: 0.5664 MB / 1.154 GB Notification: Performance of pre-optimization done (n=117): time 5.099e-06/0.961, allocations: 0 / 1.44 GB, free: 0.5664 MB / 1.154 GB Notification: Performance of matching and sorting (n=117): time 0.008125/0.9691, allocations: 3.459 MB / 1.444 GB, free: 13.07 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000279/0.9695, allocations: 342.5 kB / 1.444 GB, free: 12.68 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01703/0.9865, allocations: 11.59 MB / 1.455 GB, free: 1.062 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0004709/0.987, allocations: 69.7 kB / 1.455 GB, free: 0.9883 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001235/0.9883, allocations: 0.9608 MB / 1.456 GB, free: 16 kB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006338/0.9889, allocations: 402.6 kB / 1.457 GB, free: 15.61 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003177/0.9921, allocations: 2.672 MB / 1.459 GB, free: 12.92 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.9922, allocations: 301.1 kB / 1.46 GB, free: 12.62 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02176/1.014, allocations: 20.11 MB / 1.479 GB, free: 8.5 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02234/1.036, allocations: 20.7 MB / 1.499 GB, free: 3.75 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02665/1.063, allocations: 23.57 MB / 1.522 GB, free: 12.05 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-05/1.063, allocations: 4 kB / 1.522 GB, free: 12.05 MB / 1.248 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.7661/1.829, allocations: 44.22 MB / 1.566 GB, free: 335.8 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004052/1.83, allocations: 166.4 kB / 1.566 GB, free: 335.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.067e-05/1.83, allocations: 3.812 kB / 1.566 GB, free: 335.8 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000851/1.831, allocations: 93.67 kB / 1.566 GB, free: 335.8 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002608/1.833, allocations: 411 kB / 1.566 GB, free: 335.8 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002589/1.836, allocations: 1.633 MB / 1.568 GB, free: 334.4 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002747/1.839, allocations: 242.9 kB / 1.568 GB, free: 334.4 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004132/1.839, allocations: 110.2 kB / 1.568 GB, free: 334.4 MB / 1.279 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.003212/1.842, allocations: 1.543 MB / 1.57 GB, free: 334.2 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005823/1.843, allocations: 215 kB / 1.57 GB, free: 334.2 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00632/1.849, allocations: 2.935 MB / 1.573 GB, free: 333.3 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.011e-05/1.849, allocations: 9.438 kB / 1.573 GB, free: 333.3 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/1.849, allocations: 0 / 1.573 GB, free: 333.3 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008778/1.85, allocations: 496 kB / 1.573 GB, free: 333.1 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003039/1.85, allocations: 34.14 kB / 1.573 GB, free: 333.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000951/1.851, allocations: 76.12 kB / 1.573 GB, free: 333.1 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002255/1.852, allocations: 100.7 kB / 1.573 GB, free: 333.1 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004351/1.856, allocations: 2.925 MB / 1.576 GB, free: 332.1 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005452/1.861, allocations: 4.237 MB / 1.58 GB, free: 330.8 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00133/1.863, allocations: 1.402 MB / 1.582 GB, free: 330.2 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.004929/1.868, allocations: 7.266 MB / 1.589 GB, free: 328.2 MB / 1.279 GB Notification: Performance of Backend: time 4.91e-07/1.868, allocations: 3.562 kB / 1.589 GB, free: 328.2 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01928/1.887, allocations: 26.85 MB / 1.615 GB, free: 302.9 MB / 1.279 GB Notification: Performance of SimCode: time 0.01135/1.898, allocations: 11.21 MB / 1.626 GB, free: 292.5 MB / 1.279 GB Notification: Performance of Templates: time 0.0838/1.982, allocations: 49.58 MB / 1.674 GB, free: 243.5 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1)