Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_9_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.001217/0.001217, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.193/1.193, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.103/2.103, allocations: 390.2 MB / 0.6647 GB, free: 260 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 67.91 kB / 0.8126 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.488/0.4891, allocations: 140.4 MB / 0.9497 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.006458/0.4957, allocations: 6.987 MB / 0.9565 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1411/0.6368, allocations: 159.4 MB / 1.112 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001178/0.638, allocations: 39.81 kB / 1.112 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003899/0.642, allocations: 1.953 MB / 1.114 GB, free: 8.84 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002411/0.6444, allocations: 1.172 MB / 1.115 GB, free: 7.668 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002762/0.6472, allocations: 1.434 MB / 1.117 GB, free: 6.242 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004151/0.6513, allocations: 5.225 MB / 1.122 GB, free: 1.012 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001305/0.6526, allocations: 1.17 MB / 1.123 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00182/0.6545, allocations: 1.648 MB / 1.125 GB, free: 14.13 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001328/0.6558, allocations: 1.463 MB / 1.126 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003109/0.6561, allocations: 276 kB / 1.126 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003013/0.6591, allocations: 2.321 MB / 1.128 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001856/0.661, allocations: 3.018 MB / 1.131 GB, free: 7.043 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002331/0.6634, allocations: 2.896 MB / 1.134 GB, free: 4.133 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.007934/0.6713, allocations: 10.64 MB / 1.145 GB, free: 9.457 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.6713, allocations: 4 kB / 1.145 GB, free: 9.453 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6713, allocations: 0 / 1.145 GB, free: 9.453 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.374e-05/0.6714, allocations: 0 / 1.145 GB, free: 9.453 MB / 0.9044 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.01175/0.6832, allocations: 8.226 MB / 1.153 GB, free: 1.137 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.6832, allocations: 12.03 kB / 1.153 GB, free: 1.125 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002185/0.6834, allocations: 219.9 kB / 1.153 GB, free: 0.8984 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001796/0.6852, allocations: 0.5995 MB / 1.154 GB, free: 300 kB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5451/1.23, allocations: 276 MB / 1.423 GB, free: 120.1 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001726/1.231, allocations: 138.9 kB / 1.423 GB, free: 119.9 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000583/1.231, allocations: 184 kB / 1.423 GB, free: 119.8 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004358/1.236, allocations: 1.964 MB / 1.425 GB, free: 117.7 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.632e-05/1.236, allocations: 4 kB / 1.425 GB, free: 117.7 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002145/1.236, allocations: 64 kB / 1.425 GB, free: 117.7 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.094e-05/1.236, allocations: 36 kB / 1.425 GB, free: 117.6 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003099/1.239, allocations: 1.986 MB / 1.427 GB, free: 115.6 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03574/1.275, allocations: 69.9 MB / 1.496 GB, free: 45.62 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00222/1.277, allocations: 1.784 MB / 1.497 GB, free: 43.84 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009678/1.278, allocations: 1.086 MB / 1.498 GB, free: 42.75 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.182e-05/1.278, allocations: 37.09 kB / 1.498 GB, free: 42.71 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001195/1.279, allocations: 1.203 MB / 1.5 GB, free: 41.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=117): time 2.274e-06/1.279, allocations: 0 / 1.5 GB, free: 41.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=117): time 0.006284/1.286, allocations: 3.69 MB / 1.503 GB, free: 37.77 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/1.286, allocations: 342.5 kB / 1.503 GB, free: 37.38 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6337/1.919, allocations: 315.9 MB / 1.812 GB, free: 305.8 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.000378/1.92, allocations: 67.12 kB / 1.812 GB, free: 305.7 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.002021/1.922, allocations: 2.23 MB / 1.814 GB, free: 303.7 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002555/1.922, allocations: 379.4 kB / 1.815 GB, free: 303.5 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004851/1.923, allocations: 461.3 kB / 1.815 GB, free: 303.1 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 3.063e-05/1.923, allocations: 304.9 kB / 1.815 GB, free: 302.8 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/1.924, allocations: 1.523 MB / 1.817 GB, free: 301.2 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001589/1.926, allocations: 1.84 MB / 1.819 GB, free: 299.3 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002826/1.929, allocations: 3.225 MB / 1.822 GB, free: 296 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/1.929, allocations: 0 / 1.822 GB, free: 296 MB / 1.139 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.006285/1.935, allocations: 4.279 MB / 1.826 GB, free: 291.8 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001083/1.935, allocations: 165.6 kB / 1.826 GB, free: 291.7 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/1.935, allocations: 8 kB / 1.826 GB, free: 291.7 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005444/1.936, allocations: 93.45 kB / 1.826 GB, free: 291.6 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/1.937, allocations: 394.5 kB / 1.827 GB, free: 291.2 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/1.938, allocations: 1.644 MB / 1.828 GB, free: 289.4 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002953/1.941, allocations: 0.6281 MB / 1.829 GB, free: 288.8 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/1.941, allocations: 92.78 kB / 1.829 GB, free: 288.7 MB / 1.139 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.00201/1.943, allocations: 2.166 MB / 1.831 GB, free: 286.5 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001349/1.945, allocations: 457.9 kB / 1.831 GB, free: 286.1 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00409/1.949, allocations: 3.37 MB / 1.835 GB, free: 282.7 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/1.949, allocations: 12 kB / 1.835 GB, free: 282.7 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/1.949, allocations: 3.984 kB / 1.835 GB, free: 282.7 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/1.949, allocations: 6.859 kB / 1.835 GB, free: 282.7 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003122/1.952, allocations: 4.095 MB / 1.839 GB, free: 278.5 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/1.952, allocations: 4 kB / 1.839 GB, free: 278.5 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000637/1.953, allocations: 191.6 kB / 1.839 GB, free: 278.3 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003869/1.953, allocations: 68.17 kB / 1.839 GB, free: 278.3 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-05/1.953, allocations: 47.97 kB / 1.839 GB, free: 278.2 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001309/1.954, allocations: 1.649 MB / 1.841 GB, free: 276.4 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/1.954, allocations: 0 / 1.841 GB, free: 276.4 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004176/1.959, allocations: 3.039 MB / 1.844 GB, free: 273.4 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001863/1.961, allocations: 1.775 MB / 1.845 GB, free: 271.6 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006778/1.961, allocations: 31.94 kB / 1.845 GB, free: 271.5 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00192/1.963, allocations: 420.7 kB / 1.846 GB, free: 271.1 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001744/1.963, allocations: 88.88 kB / 1.846 GB, free: 271 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-05/1.963, allocations: 67.95 kB / 1.846 GB, free: 271 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.1342/2.098, allocations: 251.5 MB / 2.092 GB, free: 19.44 MB / 1.139 GB Notification: Performance of sort global known variables: time 5.21e-07/2.098, allocations: 2.078 kB / 2.092 GB, free: 19.44 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003541/2.101, allocations: 1.381 MB / 2.093 GB, free: 18.13 MB / 1.139 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.006677/2.108, allocations: 4.459 MB / 2.097 GB, free: 13.92 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.004939/2.113, allocations: 4.857 MB / 2.102 GB, free: 9.043 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/2.113, allocations: 0 / 2.102 GB, free: 9.043 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001582/2.114, allocations: 1.91 MB / 2.104 GB, free: 7.109 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003461/2.118, allocations: 0.5967 MB / 2.104 GB, free: 6.535 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.888/4.006, allocations: 1.277 GB / 3.382 GB, free: 42.89 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002096/4.008, allocations: 3.02 MB / 3.385 GB, free: 39.87 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.003315/4.011, allocations: 1.688 MB / 3.387 GB, free: 38.35 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002919/4.014, allocations: 2.349 MB / 3.389 GB, free: 36 MB / 1.154 GB Notification: Performance of SimCode: time 5.91e-07/4.014, allocations: 0 / 3.389 GB, free: 36 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.476/5.49, allocations: 276 MB / 3.658 GB, free: 208.8 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.43/18.92, allocations: 3.938 kB / 3.658 GB, free: 208.8 MB / 1.154 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1)