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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004215/0.004215, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001025/0.001025, allocations: 195.5 kB / 16.67 MB, free: 5.52 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.204/1.204, allocations: 222.9 MB / 240.4 MB, free: 15.17 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.218/2.218, allocations: 437 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 67.83 kB / 1.018 GB, free: 9.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6694/0.6705, allocations: 151.6 MB / 1.166 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.007592/0.6782, allocations: 7.022 MB / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1419/0.8201, allocations: 155.6 MB / 1.325 GB, free: 0.5 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001161/0.8213, allocations: 23.88 kB / 1.325 GB, free: 488 kB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00393/0.8253, allocations: 1.813 MB / 1.327 GB, free: 14.65 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002596/0.8279, allocations: 0.879 MB / 1.328 GB, free: 13.77 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002242/0.8301, allocations: 1.032 MB / 1.329 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003278/0.8334, allocations: 3.668 MB / 1.332 GB, free: 9.07 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00114/0.8346, allocations: 0.9056 MB / 1.333 GB, free: 8.117 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00147/0.8361, allocations: 1.2 MB / 1.334 GB, free: 6.914 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001347/0.8374, allocations: 1.062 MB / 1.335 GB, free: 5.848 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000305/0.8377, allocations: 200 kB / 1.336 GB, free: 5.652 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00312/0.8409, allocations: 2.251 MB / 1.338 GB, free: 3.398 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001049/0.842, allocations: 1.415 MB / 1.339 GB, free: 1.98 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001474/0.8434, allocations: 1.508 MB / 1.341 GB, free: 476 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.006098/0.8495, allocations: 5.692 MB / 1.346 GB, free: 10.76 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.8496, allocations: 0 / 1.346 GB, free: 10.76 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.412e-06/0.8496, allocations: 0 / 1.346 GB, free: 10.76 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.281e-05/0.8496, allocations: 0 / 1.346 GB, free: 10.76 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.006657/0.8563, allocations: 4.201 MB / 1.35 GB, free: 6.484 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.8564, allocations: 8.922 kB / 1.35 GB, free: 6.477 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000203/0.8566, allocations: 194.2 kB / 1.35 GB, free: 6.277 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.8577, allocations: 349.1 kB / 1.351 GB, free: 5.934 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07401/0.9317, allocations: 87.71 MB / 1.436 GB, free: 14.13 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.9319, allocations: 118.4 kB / 1.437 GB, free: 14.01 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003744/0.9323, allocations: 156 kB / 1.437 GB, free: 13.86 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002862/0.9351, allocations: 1.538 MB / 1.438 GB, free: 12.26 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.9352, allocations: 0 / 1.438 GB, free: 12.26 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/0.9353, allocations: 59.98 kB / 1.438 GB, free: 12.2 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.251e-05/0.9353, allocations: 28 kB / 1.438 GB, free: 12.18 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002401/0.9377, allocations: 1.605 MB / 1.44 GB, free: 10.56 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02069/0.9584, allocations: 24.03 MB / 1.463 GB, free: 2.352 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002148/0.9606, allocations: 1.438 MB / 1.465 GB, free: 0.9102 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/0.9617, allocations: 0.8824 MB / 1.466 GB, free: 28 kB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.044e-05/0.9618, allocations: 37.03 kB / 1.466 GB, free: 15.98 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001235/0.963, allocations: 0.9536 MB / 1.467 GB, free: 15.02 MB / 1.201 GB Notification: Performance of pre-optimization done (n=104): time 3.075e-06/0.963, allocations: 0 / 1.467 GB, free: 15.02 MB / 1.201 GB Notification: Performance of matching and sorting (n=104): time 0.004391/0.9674, allocations: 2.758 MB / 1.469 GB, free: 12.25 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001784/0.9676, allocations: 326.5 kB / 1.47 GB, free: 11.88 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5752/1.543, allocations: 99.68 MB / 1.567 GB, free: 387.2 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0002503/1.543, allocations: 64.86 kB / 1.567 GB, free: 387.2 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008174/1.544, allocations: 1.098 MB / 1.568 GB, free: 386.5 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002166/1.544, allocations: 336.2 kB / 1.568 GB, free: 386.3 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004414/1.545, allocations: 364.7 kB / 1.569 GB, free: 386.2 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 3.576e-05/1.545, allocations: 307.2 kB / 1.569 GB, free: 385.9 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/1.546, allocations: 1.191 MB / 1.57 GB, free: 385.6 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001393/1.547, allocations: 1.418 MB / 1.572 GB, free: 385.1 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00252/1.55, allocations: 2.591 MB / 1.574 GB, free: 383 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/1.55, allocations: 0 / 1.574 GB, free: 383 MB / 1.279 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003907/1.554, allocations: 3.211 MB / 1.577 GB, free: 380.1 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001184/1.554, allocations: 153.4 kB / 1.577 GB, free: 380 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/1.554, allocations: 0 / 1.577 GB, free: 380 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/1.554, allocations: 12 kB / 1.577 GB, free: 380 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009857/1.555, allocations: 309.6 kB / 1.578 GB, free: 379.7 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/1.555, allocations: 12.7 kB / 1.578 GB, free: 379.7 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/1.556, allocations: 327.7 kB / 1.578 GB, free: 379.4 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/1.557, allocations: 76.02 kB / 1.578 GB, free: 379.3 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: 18 (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 (182): * Single equations (assignments): 181 * Array equations: 0 * 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.0009813/1.558, allocations: 1.039 MB / 1.579 GB, free: 378.4 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004348/1.558, allocations: 233 kB / 1.579 GB, free: 378.2 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002888/1.561, allocations: 2.519 MB / 1.582 GB, free: 376 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/1.561, allocations: 13.06 kB / 1.582 GB, free: 376 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.561, allocations: 6.969 kB / 1.582 GB, free: 376 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/1.561, allocations: 3.844 kB / 1.582 GB, free: 376 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/1.562, allocations: 2.011 MB / 1.584 GB, free: 374.3 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/1.562, allocations: 0 / 1.584 GB, free: 374.3 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005634/1.563, allocations: 163.7 kB / 1.584 GB, free: 374.2 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/1.563, allocations: 4 kB / 1.584 GB, free: 374.2 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.546e-05/1.563, allocations: 43.91 kB / 1.584 GB, free: 374.1 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/1.563, allocations: 3.969 kB / 1.584 GB, free: 374.1 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.563, allocations: 6.812 kB / 1.584 GB, free: 374.1 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002582/1.566, allocations: 2.325 MB / 1.586 GB, free: 371.8 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/1.567, allocations: 0.8019 MB / 1.587 GB, free: 371 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003006/1.567, allocations: 35.92 kB / 1.587 GB, free: 370.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/1.568, allocations: 179.1 kB / 1.587 GB, free: 370.7 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/1.568, allocations: 88.81 kB / 1.587 GB, free: 370.7 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.737e-05/1.568, allocations: 51.97 kB / 1.587 GB, free: 370.6 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.04448/1.613, allocations: 79.56 MB / 1.665 GB, free: 291 MB / 1.279 GB Notification: Performance of sort global known variables: time 5.01e-07/1.613, allocations: 7.844 kB / 1.665 GB, free: 291 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002735/1.616, allocations: 1.077 MB / 1.666 GB, free: 290 MB / 1.279 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.005917/1.622, allocations: 3.732 MB / 1.67 GB, free: 286.6 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.003167/1.625, allocations: 3.553 MB / 1.673 GB, free: 283 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.625, allocations: 0 / 1.673 GB, free: 283 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.001225/1.626, allocations: 1.528 MB / 1.675 GB, free: 281.5 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00215/1.628, allocations: 418 kB / 1.675 GB, free: 281.1 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2838/1.912, allocations: 412.7 MB / 2.078 GB, free: 11.94 MB / 1.42 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00165/1.914, allocations: 1.781 MB / 2.08 GB, free: 10.13 MB / 1.42 GB Notification: Performance of simCode: alias equations: time 0.001932/1.916, allocations: 0.7775 MB / 2.081 GB, free: 9.344 MB / 1.42 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001708/1.917, allocations: 1.147 MB / 2.082 GB, free: 8.195 MB / 1.42 GB Notification: Performance of SimCode: time 6.91e-07/1.917, allocations: 0 / 2.082 GB, free: 8.195 MB / 1.42 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6645/2.582, allocations: 112.2 MB / 2.191 GB, free: 472.5 MB / 1.436 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/13.58, allocations: 19.12 kB / 2.191 GB, free: 472.5 MB / 1.436 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1)