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.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.WindowRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",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.0009027/0.0009026, 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.00589/0.00589, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.332/1.332, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.566/2.566, allocations: 462.7 MB / 0.7364 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00034/0.00034, allocations: 14.95 kB / 0.9029 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2835, allocations: 159.6 MB / 1.059 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.008277/0.2918, allocations: 7.667 MB / 1.066 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1576/0.4494, allocations: 152.1 MB / 1.215 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001508/0.451, allocations: 27.81 kB / 1.215 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004795/0.4558, allocations: 1.822 MB / 1.217 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003183/0.459, allocations: 1.169 MB / 1.218 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003016/0.462, allocations: 1.24 MB / 1.219 GB, free: 244 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00524/0.4673, allocations: 5.406 MB / 1.224 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001633/0.4689, allocations: 1.079 MB / 1.225 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002183/0.4711, allocations: 1.296 MB / 1.227 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001999/0.4731, allocations: 1.26 MB / 1.228 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000459/0.4736, allocations: 68 kB / 1.228 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003472/0.4771, allocations: 2.024 MB / 1.23 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002393/0.4795, allocations: 2.779 MB / 1.233 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.003312/0.4828, allocations: 2.418 MB / 1.235 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01001/0.4928, allocations: 10.34 MB / 1.245 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4929, allocations: 0 / 1.245 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4929, allocations: 3.938 kB / 1.245 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002112/0.4931, allocations: 4 kB / 1.245 GB, free: 5.43 MB / 0.9981 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.4456/0.9387, allocations: 6.718 MB / 1.252 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.9387, allocations: 9.719 kB / 1.252 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000511/0.9392, allocations: 228.1 kB / 1.252 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002612/0.9419, allocations: 0.6101 MB / 1.252 GB, free: 181 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1958/1.138, allocations: 276 MB / 1.522 GB, free: 0.8398 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/1.138, allocations: 134.9 kB / 1.522 GB, free: 0.707 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002558/1.138, allocations: 188 kB / 1.522 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002925/1.141, allocations: 1.968 MB / 1.524 GB, free: 14.48 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.956e-05/1.141, allocations: 7.875 kB / 1.524 GB, free: 14.47 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001328/1.141, allocations: 64 kB / 1.524 GB, free: 14.41 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.624e-05/1.141, allocations: 36 kB / 1.524 GB, free: 14.37 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00277/1.144, allocations: 1.986 MB / 1.526 GB, free: 12.38 MB / 1.076 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.05644/1.2, allocations: 70.48 MB / 1.595 GB, free: 5.691 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002828/1.203, allocations: 1.788 MB / 1.597 GB, free: 3.895 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001283/1.205, allocations: 1.085 MB / 1.598 GB, free: 2.809 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.544e-05/1.205, allocations: 37.02 kB / 1.598 GB, free: 2.773 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001554/1.206, allocations: 1.208 MB / 1.599 GB, free: 1.547 MB / 1.139 GB Notification: Performance of pre-optimization done (n=117): time 2.214e-06/1.206, allocations: 0 / 1.599 GB, free: 1.547 MB / 1.139 GB Notification: Performance of matching and sorting (n=117): time 0.007348/1.214, allocations: 3.706 MB / 1.603 GB, free: 13.8 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002069/1.214, allocations: 350.5 kB / 1.603 GB, free: 13.41 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7522/1.966, allocations: 315.9 MB / 1.911 GB, free: 291.8 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0004096/1.967, allocations: 69.69 kB / 1.912 GB, free: 291.7 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.002374/1.969, allocations: 2.222 MB / 1.914 GB, free: 289.7 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004497/1.969, allocations: 385.7 kB / 1.914 GB, free: 289.6 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002507/1.97, allocations: 221.6 kB / 1.914 GB, free: 289.3 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 4.511e-05/1.97, allocations: 301.7 kB / 1.915 GB, free: 289.1 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/1.971, allocations: 1.527 MB / 1.916 GB, free: 287.5 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001856/1.973, allocations: 1.844 MB / 1.918 GB, free: 285.6 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003387/1.977, allocations: 3.234 MB / 1.921 GB, free: 282.3 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/1.977, allocations: 4 kB / 1.921 GB, free: 282.3 MB / 1.264 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.006951/1.984, allocations: 4.287 MB / 1.925 GB, free: 278 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 0.000136/1.984, allocations: 173.6 kB / 1.925 GB, free: 277.9 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/1.984, allocations: 4 kB / 1.925 GB, free: 277.9 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005945/1.985, allocations: 102 kB / 1.925 GB, free: 277.8 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/1.986, allocations: 392 kB / 1.926 GB, free: 277.4 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001675/1.988, allocations: 1.541 MB / 1.927 GB, free: 275.7 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003567/1.991, allocations: 0.6473 MB / 1.928 GB, free: 275.1 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/1.991, allocations: 87.97 kB / 1.928 GB, free: 275 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (230): * Single equations (assignments): 228 * Array equations: 0 * 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.002633/1.994, allocations: 2.169 MB / 1.93 GB, free: 272.8 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001458/1.995, allocations: 465.9 kB / 1.931 GB, free: 272.4 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004835/2, allocations: 3.38 MB / 1.934 GB, free: 269 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/2, allocations: 15.94 kB / 1.934 GB, free: 269 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/2, allocations: 3.938 kB / 1.934 GB, free: 269 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/2, allocations: 3.984 kB / 1.934 GB, free: 269 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00426/2.005, allocations: 4.102 MB / 1.938 GB, free: 264.8 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/2.005, allocations: 0.8125 kB / 1.938 GB, free: 264.8 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000716/2.005, allocations: 187.8 kB / 1.938 GB, free: 264.7 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005062/2.006, allocations: 85.52 kB / 1.938 GB, free: 264.6 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.753e-05/2.006, allocations: 43.97 kB / 1.938 GB, free: 264.5 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001444/2.007, allocations: 1.545 MB / 1.94 GB, free: 262.8 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/2.007, allocations: 0 / 1.94 GB, free: 262.8 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004845/2.012, allocations: 3.044 MB / 1.943 GB, free: 259.8 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002687/2.015, allocations: 1.79 MB / 1.945 GB, free: 257.9 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001182/2.016, allocations: 28 kB / 1.945 GB, free: 257.9 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002437/2.019, allocations: 443.8 kB / 1.945 GB, free: 257.5 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002117/2.019, allocations: 93.64 kB / 1.945 GB, free: 257.4 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/2.019, allocations: 64.09 kB / 1.945 GB, free: 257.3 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.1549/2.174, allocations: 251.5 MB / 2.191 GB, free: 5.789 MB / 1.264 GB Notification: Performance of sort global known variables: time 5.61e-07/2.174, allocations: 0 / 2.191 GB, free: 5.789 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.004512/2.178, allocations: 1.408 MB / 2.192 GB, free: 4.457 MB / 1.264 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 (117): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 1 * 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.007053/2.185, allocations: 4.456 MB / 2.196 GB, free: 296 kB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.005099/2.191, allocations: 4.332 MB / 2.201 GB, free: 11.93 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/2.191, allocations: 1.891 kB / 2.201 GB, free: 11.93 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002153/2.193, allocations: 1.911 MB / 2.203 GB, free: 10 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003635/2.196, allocations: 0.5873 MB / 2.203 GB, free: 9.422 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.266/4.462, allocations: 1.278 GB / 3.481 GB, free: 179.5 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002158/4.464, allocations: 3.014 MB / 3.484 GB, free: 176.4 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.004169/4.469, allocations: 1.684 MB / 3.486 GB, free: 174.9 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004916/4.473, allocations: 2.346 MB / 3.488 GB, free: 172.6 MB / 1.279 GB Notification: Performance of SimCode: time 1.292e-06/4.473, allocations: 3.469 kB / 3.488 GB, free: 172.6 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.022/9.495, allocations: 220 MB / 3.703 GB, free: 437.5 MB / 1.279 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002184/9.496, allocations: 313.5 kB / 3.703 GB, free: 437.1 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.639/14.14, allocations: 0 / 3.703 GB, free: 437.1 MB / 1.279 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1)