Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.WindowRadiation,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_10_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.001042/0.001042, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001066/0.001066, allocations: 191.9 kB / 16.25 MB, free: 6.633 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.171/1.171, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.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.23/2.23, allocations: 437 MB / 0.7101 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 71.88 kB / 0.8689 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5236/0.5248, allocations: 151.6 MB / 1.017 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.008771/0.5336, allocations: 8.18 MB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1504/0.6841, allocations: 157.3 MB / 1.178 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001446/0.6856, allocations: 31.81 kB / 1.179 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00476/0.6904, allocations: 1.806 MB / 1.18 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003083/0.6935, allocations: 1.179 MB / 1.181 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00298/0.6965, allocations: 1.308 MB / 1.183 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004926/0.7014, allocations: 5.446 MB / 1.188 GB, free: 2.855 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00146/0.7029, allocations: 1.124 MB / 1.189 GB, free: 1.684 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00233/0.7052, allocations: 1.741 MB / 1.191 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001763/0.707, allocations: 1.534 MB / 1.192 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0003574/0.7074, allocations: 276 kB / 1.193 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003281/0.7107, allocations: 2.337 MB / 1.195 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.002076/0.7128, allocations: 3.014 MB / 1.198 GB, free: 8.77 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002495/0.7153, allocations: 2.939 MB / 1.201 GB, free: 5.816 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.009334/0.7246, allocations: 10.72 MB / 1.211 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.7246, allocations: 0 / 1.211 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.858e-06/0.7247, allocations: 0 / 1.211 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.000137/0.7248, allocations: 3.938 kB / 1.211 GB, free: 11.07 MB / 0.9669 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.01667/0.7415, allocations: 8.262 MB / 1.219 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.7415, allocations: 8.031 kB / 1.219 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002716/0.7418, allocations: 231.8 kB / 1.219 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002278/0.7441, allocations: 0.5956 MB / 1.22 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6266/1.371, allocations: 276 MB / 1.49 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.139e-05/1.371, allocations: 134.9 kB / 1.49 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002047/1.371, allocations: 184 kB / 1.49 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002543/1.374, allocations: 1.972 MB / 1.492 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.936e-05/1.374, allocations: 0 / 1.492 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/1.374, allocations: 67.94 kB / 1.492 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/1.374, allocations: 36 kB / 1.492 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002488/1.376, allocations: 1.986 MB / 1.494 GB, free: 15.52 MB / 1.014 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.05632/1.433, allocations: 70.37 MB / 1.563 GB, free: 8.941 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003095/1.436, allocations: 1.801 MB / 1.564 GB, free: 7.141 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/1.437, allocations: 1.092 MB / 1.565 GB, free: 6.051 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.511e-05/1.437, allocations: 33.27 kB / 1.565 GB, free: 6.016 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001716/1.439, allocations: 1.199 MB / 1.567 GB, free: 4.797 MB / 1.076 GB Notification: Performance of pre-optimization done (n=117): time 2.925e-06/1.439, allocations: 0 / 1.567 GB, free: 4.797 MB / 1.076 GB Notification: Performance of matching and sorting (n=117): time 0.008266/1.447, allocations: 3.694 MB / 1.57 GB, free: 1.066 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002093/1.447, allocations: 346.5 kB / 1.57 GB, free: 0.6797 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.747/2.194, allocations: 315.9 MB / 1.879 GB, free: 294.8 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0003787/2.195, allocations: 65.7 kB / 1.879 GB, free: 294.8 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.002201/2.197, allocations: 2.22 MB / 1.881 GB, free: 292.7 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003398/2.197, allocations: 391.8 kB / 1.882 GB, free: 292.6 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000544/2.198, allocations: 458.2 kB / 1.882 GB, free: 292.1 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 3.525e-05/2.198, allocations: 310.1 kB / 1.882 GB, free: 291.8 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001641/2.2, allocations: 1.526 MB / 1.884 GB, free: 290.3 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001777/2.201, allocations: 1.83 MB / 1.886 GB, free: 288.4 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003087/2.205, allocations: 3.231 MB / 1.889 GB, free: 285.1 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/2.205, allocations: 0 / 1.889 GB, free: 285.1 MB / 1.217 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.006939/2.211, allocations: 4.284 MB / 1.893 GB, free: 280.8 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001169/2.212, allocations: 165.6 kB / 1.893 GB, free: 280.7 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/2.212, allocations: 10.62 kB / 1.893 GB, free: 280.7 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006052/2.212, allocations: 92.77 kB / 1.893 GB, free: 280.6 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/2.214, allocations: 393.3 kB / 1.894 GB, free: 280.2 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/2.215, allocations: 1.655 MB / 1.895 GB, free: 278.4 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003287/2.218, allocations: 0.6302 MB / 1.896 GB, free: 277.8 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001589/2.219, allocations: 91.22 kB / 1.896 GB, free: 277.7 MB / 1.217 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.002396/2.221, allocations: 2.17 MB / 1.898 GB, free: 275.5 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002603/2.224, allocations: 457.9 kB / 1.898 GB, free: 275.1 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004825/2.228, allocations: 3.382 MB / 1.902 GB, free: 271.7 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/2.228, allocations: 12 kB / 1.902 GB, free: 271.7 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/2.228, allocations: 0 / 1.902 GB, free: 271.7 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/2.228, allocations: 7.969 kB / 1.902 GB, free: 271.7 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004598/2.233, allocations: 4.086 MB / 1.906 GB, free: 267.6 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/2.233, allocations: 0 / 1.906 GB, free: 267.6 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006999/2.234, allocations: 191.7 kB / 1.906 GB, free: 267.4 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004281/2.234, allocations: 72.59 kB / 1.906 GB, free: 267.3 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/2.234, allocations: 39.97 kB / 1.906 GB, free: 267.3 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001406/2.236, allocations: 1.659 MB / 1.908 GB, free: 265.5 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/2.236, allocations: 7.781 kB / 1.908 GB, free: 265.5 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0052/2.241, allocations: 3.036 MB / 1.911 GB, free: 262.4 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002219/2.243, allocations: 1.773 MB / 1.912 GB, free: 260.6 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007784/2.244, allocations: 39.92 kB / 1.912 GB, free: 260.5 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002057/2.246, allocations: 419.8 kB / 1.913 GB, free: 260.1 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001921/2.246, allocations: 96.78 kB / 1.913 GB, free: 260 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/2.246, allocations: 67.95 kB / 1.913 GB, free: 260 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.15/2.396, allocations: 251.5 MB / 2.159 GB, free: 8.445 MB / 1.217 GB Notification: Performance of sort global known variables: time 5.91e-07/2.396, allocations: 4 kB / 2.159 GB, free: 8.441 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.004216/2.401, allocations: 1.405 MB / 2.16 GB, free: 7.109 MB / 1.217 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.007725/2.408, allocations: 4.448 MB / 2.164 GB, free: 2.91 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.3945/2.803, allocations: 4.855 MB / 2.169 GB, free: 446.7 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.279e-06/2.803, allocations: 1.281 kB / 2.169 GB, free: 446.7 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002382/2.805, allocations: 1.899 MB / 2.171 GB, free: 445.9 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003769/2.809, allocations: 0.601 MB / 2.172 GB, free: 445.6 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.734/4.543, allocations: 1.278 GB / 3.45 GB, free: 106.8 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002159/4.546, allocations: 3.011 MB / 3.452 GB, free: 103.8 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.003599/4.549, allocations: 1.694 MB / 3.454 GB, free: 102.2 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002797/4.552, allocations: 2.35 MB / 3.456 GB, free: 99.88 MB / 1.232 GB Notification: Performance of SimCode: time 6.11e-07/4.552, allocations: 0 / 3.456 GB, free: 99.88 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.368/8.92, allocations: 276.4 MB / 3.726 GB, free: 295.5 MB / 1.232 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001638/8.92, allocations: 302.2 kB / 3.727 GB, free: 295.1 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.768/15.69, allocations: 0 / 3.727 GB, free: 295.1 MB / 1.232 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1)