Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",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.001506/0.001506, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001763/0.001763, allocations: 195 kB / 16.14 MB, free: 6.656 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.289/1.289, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.539/2.539, allocations: 461.9 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.3 kB / 0.8985 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2466, allocations: 157.4 MB / 1.052 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.008449/0.2551, allocations: 6.942 MB / 1.059 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1442/0.3993, allocations: 153.2 MB / 1.209 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001372/0.4007, allocations: 23.88 kB / 1.209 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004694/0.4055, allocations: 1.65 MB / 1.21 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002511/0.408, allocations: 0.7844 MB / 1.211 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002311/0.4103, allocations: 0.8522 MB / 1.212 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00285/0.4132, allocations: 2.642 MB / 1.214 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001409/0.4146, allocations: 0.9146 MB / 1.215 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001242/0.4159, allocations: 0.7937 MB / 1.216 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001312/0.4172, allocations: 0.8907 MB / 1.217 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003991/0.4176, allocations: 100 kB / 1.217 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003419/0.421, allocations: 2.052 MB / 1.219 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001068/0.4221, allocations: 1.13 MB / 1.22 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001781/0.4239, allocations: 1.278 MB / 1.221 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.006237/0.4302, allocations: 5.283 MB / 1.227 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.4302, allocations: 0 / 1.227 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.442e-06/0.4302, allocations: 0 / 1.227 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001034/0.4303, allocations: 0 / 1.227 GB, free: 4.957 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.008425/0.4387, allocations: 3.975 MB / 1.23 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.4388, allocations: 8.031 kB / 1.23 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002212/0.439, allocations: 190.3 kB / 1.231 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/0.4404, allocations: 353.3 kB / 1.231 GB, free: 376 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5079/0.9483, allocations: 87.61 MB / 1.317 GB, free: 151.4 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.906e-05/0.9484, allocations: 98.55 kB / 1.317 GB, free: 151.3 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/0.9485, allocations: 136 kB / 1.317 GB, free: 151.2 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/0.9503, allocations: 1.357 MB / 1.318 GB, free: 150 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.9503, allocations: 0 / 1.318 GB, free: 150 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.253e-05/0.9504, allocations: 60 kB / 1.318 GB, free: 149.9 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.9504, allocations: 28 kB / 1.318 GB, free: 149.9 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/0.9522, allocations: 1.501 MB / 1.32 GB, free: 148.5 MB / 0.9981 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.01309/0.9653, allocations: 23.89 MB / 1.343 GB, free: 124.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/0.967, allocations: 1.126 MB / 1.344 GB, free: 123.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005502/0.9675, allocations: 442 kB / 1.345 GB, free: 122.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.22e-05/0.9676, allocations: 41.09 kB / 1.345 GB, free: 122.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008183/0.9684, allocations: 0.6489 MB / 1.345 GB, free: 122.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=100): time 2.144e-06/0.9685, allocations: 7.938 kB / 1.345 GB, free: 122.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100): time 0.003682/0.9721, allocations: 1.733 MB / 1.347 GB, free: 120.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.9722, allocations: 192.9 kB / 1.347 GB, free: 120.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07309/1.045, allocations: 99.42 MB / 1.444 GB, free: 20.68 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002264/1.046, allocations: 51.23 kB / 1.444 GB, free: 20.62 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007006/1.046, allocations: 1.053 MB / 1.445 GB, free: 19.56 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000202/1.046, allocations: 328.2 kB / 1.446 GB, free: 19.23 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002936/1.047, allocations: 246.7 kB / 1.446 GB, free: 18.98 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.547e-05/1.047, allocations: 349.9 kB / 1.446 GB, free: 18.64 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007132/1.048, allocations: 494.4 kB / 1.447 GB, free: 18.16 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007797/1.048, allocations: 0.6207 MB / 1.447 GB, free: 17.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/1.05, allocations: 1.006 MB / 1.448 GB, free: 16.48 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/1.05, allocations: 4.688 kB / 1.448 GB, free: 16.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002785/1.052, allocations: 1.51 MB / 1.45 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/1.053, allocations: 4 kB / 1.45 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/1.053, allocations: 6.734 kB / 1.45 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005586/1.053, allocations: 85.11 kB / 1.45 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008605/1.054, allocations: 235.7 kB / 1.45 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001549/1.056, allocations: 1.54 MB / 1.451 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/1.057, allocations: 271.1 kB / 1.452 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.11e-05/1.057, allocations: 47.97 kB / 1.452 GB, free: 12.64 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (138): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * 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.0007947/1.058, allocations: 0.8155 MB / 1.453 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004326/1.058, allocations: 221.1 kB / 1.453 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002709/1.061, allocations: 1.617 MB / 1.454 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/1.061, allocations: 12 kB / 1.454 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/1.061, allocations: 0 / 1.454 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.487e-06/1.061, allocations: 11.97 kB / 1.454 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/1.063, allocations: 1.969 MB / 1.456 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/1.063, allocations: 0 / 1.456 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006802/1.063, allocations: 184.4 kB / 1.456 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004807/1.064, allocations: 84.77 kB / 1.457 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.11e-05/1.064, allocations: 27.98 kB / 1.457 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/1.065, allocations: 1.545 MB / 1.458 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.065, allocations: 8.094 kB / 1.458 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002285/1.067, allocations: 1.36 MB / 1.459 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008068/1.068, allocations: 0.7553 MB / 1.46 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003238/1.069, allocations: 28.81 kB / 1.46 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/1.07, allocations: 197.1 kB / 1.46 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/1.07, allocations: 88.86 kB / 1.46 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.251e-05/1.07, allocations: 43.98 kB / 1.461 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.06523/1.135, allocations: 79.4 MB / 1.538 GB, free: 4.016 MB / 1.076 GB Notification: Performance of sort global known variables: time 6.21e-07/1.135, allocations: 0 / 1.538 GB, free: 4.016 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002613/1.138, allocations: 1.015 MB / 1.539 GB, free: 3.078 MB / 1.076 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 (115): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005113/1.143, allocations: 2.771 MB / 1.542 GB, free: 0.5664 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002054/1.145, allocations: 1.238 MB / 1.543 GB, free: 15.32 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.145, allocations: 4 kB / 1.543 GB, free: 15.31 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/1.146, allocations: 0.6641 MB / 1.544 GB, free: 14.64 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/1.148, allocations: 397.3 kB / 1.544 GB, free: 14.25 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7036/1.851, allocations: 411.2 MB / 1.946 GB, free: 237 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009346/1.852, allocations: 1.724 MB / 1.947 GB, free: 235.3 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001789/1.854, allocations: 0.7646 MB / 1.948 GB, free: 234.6 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001245/1.855, allocations: 1.102 MB / 1.949 GB, free: 233.5 MB / 1.248 GB Notification: Performance of SimCode: time 5.81e-07/1.855, allocations: 7.453 kB / 1.949 GB, free: 233.5 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5102/2.366, allocations: 106.3 MB / 2.053 GB, free: 128.5 MB / 1.248 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001916/2.366, allocations: 313.3 kB / 2.053 GB, free: 128.1 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.533/5.899, allocations: 3.875 kB / 2.053 GB, free: 128.1 MB / 1.248 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1)