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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.000826/0.000826, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005092/0.005093, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.176/1.176, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.263/2.263, allocations: 437.8 MB / 0.7121 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000287/0.000287, allocations: 12 kB / 0.8729 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5529/0.5532, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.007212/0.5605, allocations: 6.54 MB / 1.03 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1457/0.7062, allocations: 151.1 MB / 1.177 GB, free: 1.582 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/0.7074, allocations: 19.88 kB / 1.177 GB, free: 1.562 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004354/0.7117, allocations: 1.659 MB / 1.179 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002346/0.7141, allocations: 0.785 MB / 1.18 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002005/0.7161, allocations: 0.8917 MB / 1.18 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003012/0.7191, allocations: 3.58 MB / 1.184 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.7202, allocations: 0.8751 MB / 1.185 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009353/0.7211, allocations: 0.9417 MB / 1.186 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009334/0.7221, allocations: 0.8751 MB / 1.187 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001291/0.7222, allocations: 52 kB / 1.187 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002646/0.7249, allocations: 1.974 MB / 1.189 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0009006/0.7258, allocations: 1.255 MB / 1.19 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000993/0.7268, allocations: 1.268 MB / 1.191 GB, free: 3.32 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00412/0.7309, allocations: 5.402 MB / 1.196 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.7309, allocations: 0 / 1.196 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7309, allocations: 0 / 1.196 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.171e-05/0.731, allocations: 0 / 1.196 GB, free: 13.9 MB / 0.9512 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.005163/0.7361, allocations: 3.481 MB / 1.2 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.7362, allocations: 8.031 kB / 1.2 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002039/0.7364, allocations: 190.2 kB / 1.2 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008641/0.7373, allocations: 361.1 kB / 1.2 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5233/1.261, allocations: 87.7 MB / 1.286 GB, free: 186.3 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/1.261, allocations: 110.4 kB / 1.286 GB, free: 186.2 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003331/1.261, allocations: 152 kB / 1.286 GB, free: 186 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002566/1.264, allocations: 1.541 MB / 1.288 GB, free: 184.4 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/1.264, allocations: 4 kB / 1.288 GB, free: 184.4 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/1.264, allocations: 52 kB / 1.288 GB, free: 184.4 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/1.264, allocations: 28 kB / 1.288 GB, free: 184.4 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002146/1.266, allocations: 1.628 MB / 1.289 GB, free: 182.7 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01676/1.283, allocations: 24.14 MB / 1.313 GB, free: 158.5 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001852/1.285, allocations: 1.445 MB / 1.314 GB, free: 157 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009112/1.286, allocations: 0.8902 MB / 1.315 GB, free: 156.1 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.175e-05/1.286, allocations: 32.72 kB / 1.315 GB, free: 156.1 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001122/1.287, allocations: 0.9702 MB / 1.316 GB, free: 155.1 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=104): time 3.136e-06/1.287, allocations: 0 / 1.316 GB, free: 155.1 MB / 0.9825 GB Notification: Performance of matching and sorting (n=104): time 0.003839/1.291, allocations: 2.757 MB / 1.319 GB, free: 152.4 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/1.291, allocations: 330.5 kB / 1.319 GB, free: 152 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07813/1.369, allocations: 99.69 MB / 1.416 GB, free: 52.26 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.000345/1.369, allocations: 57.7 kB / 1.416 GB, free: 52.2 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000997/1.37, allocations: 1.1 MB / 1.418 GB, free: 51.09 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003824/1.371, allocations: 338.6 kB / 1.418 GB, free: 50.77 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003032/1.371, allocations: 173.6 kB / 1.418 GB, free: 50.59 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 4.212e-05/1.371, allocations: 309 kB / 1.418 GB, free: 50.29 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001503/1.373, allocations: 1.195 MB / 1.42 GB, free: 49.09 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001533/1.374, allocations: 1.424 MB / 1.421 GB, free: 47.61 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002771/1.377, allocations: 2.6 MB / 1.423 GB, free: 44.96 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/1.377, allocations: 0 / 1.423 GB, free: 44.96 MB / 0.9825 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004039/1.381, allocations: 3.219 MB / 1.427 GB, free: 41.73 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001177/1.381, allocations: 153.3 kB / 1.427 GB, free: 41.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/1.381, allocations: 0 / 1.427 GB, free: 41.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/1.381, allocations: 12 kB / 1.427 GB, free: 41.56 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009925/1.382, allocations: 315.5 kB / 1.427 GB, free: 41.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-05/1.382, allocations: 11.98 kB / 1.427 GB, free: 41.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/1.384, allocations: 347.4 kB / 1.427 GB, free: 40.9 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/1.384, allocations: 67.97 kB / 1.427 GB, free: 40.84 MB / 0.9825 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.001137/1.385, allocations: 1.04 MB / 1.428 GB, free: 39.78 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005133/1.386, allocations: 232.9 kB / 1.429 GB, free: 39.55 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003156/1.389, allocations: 2.536 MB / 1.431 GB, free: 36.99 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/1.389, allocations: 12 kB / 1.431 GB, free: 36.98 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.389, allocations: 0 / 1.431 GB, free: 36.98 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/1.389, allocations: 7.922 kB / 1.431 GB, free: 36.97 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00178/1.391, allocations: 2.012 MB / 1.433 GB, free: 34.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/1.391, allocations: 4 kB / 1.433 GB, free: 34.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005793/1.391, allocations: 163.7 kB / 1.433 GB, free: 34.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/1.391, allocations: 4 kB / 1.433 GB, free: 34.77 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.415e-05/1.391, allocations: 31.97 kB / 1.433 GB, free: 34.74 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/1.391, allocations: 8 kB / 1.433 GB, free: 34.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.391, allocations: 3.938 kB / 1.433 GB, free: 34.73 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002614/1.394, allocations: 2.342 MB / 1.436 GB, free: 32.36 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000871/1.395, allocations: 0.8175 MB / 1.436 GB, free: 31.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003009/1.395, allocations: 24 kB / 1.436 GB, free: 31.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/1.396, allocations: 211.9 kB / 1.437 GB, free: 31.29 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/1.396, allocations: 80.89 kB / 1.437 GB, free: 31.21 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.123e-05/1.397, allocations: 55.91 kB / 1.437 GB, free: 31.16 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0614/1.458, allocations: 79.57 MB / 1.515 GB, free: 15.62 MB / 1.045 GB Notification: Performance of sort global known variables: time 3.8e-07/1.458, allocations: 0 / 1.515 GB, free: 15.62 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.003344/1.461, allocations: 1.079 MB / 1.516 GB, free: 14.61 MB / 1.045 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.007039/1.468, allocations: 3.744 MB / 1.519 GB, free: 11.09 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.004299/1.473, allocations: 3.563 MB / 1.523 GB, free: 7.512 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/1.473, allocations: 4 kB / 1.523 GB, free: 7.508 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001677/1.474, allocations: 1.524 MB / 1.524 GB, free: 5.973 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002395/1.477, allocations: 391.7 kB / 1.525 GB, free: 5.594 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8608/2.338, allocations: 417.4 MB / 1.932 GB, free: 231.7 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001099/2.339, allocations: 1.782 MB / 1.934 GB, free: 229.9 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001804/2.341, allocations: 0.7813 MB / 1.935 GB, free: 229.2 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001206/2.342, allocations: 1.147 MB / 1.936 GB, free: 228.1 MB / 1.217 GB Notification: Performance of SimCode: time 8.72e-07/2.342, allocations: 0 / 1.936 GB, free: 228.1 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.664/5.006, allocations: 93.3 MB / 2.027 GB, free: 136 MB / 1.217 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/5.006, allocations: 269.8 kB / 2.027 GB, free: 135.7 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.453/8.459, allocations: 2.953 kB / 2.027 GB, free: 135.7 MB / 1.217 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)