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.001036/0.001036, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.007497/0.007497, allocations: 172 kB / 16.26 MB, free: 6.613 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.341/1.341, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.628/2.628, allocations: 443.4 MB / 0.7176 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004426/0.0004427, allocations: 13.75 kB / 0.8797 GB, free: 41.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2682, allocations: 155.2 MB / 1.031 GB, free: 4.199 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01103/0.2793, allocations: 7.676 MB / 1.039 GB, free: 12.48 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.1557/0.435, allocations: 152.1 MB / 1.187 GB, free: 3.848 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001402/0.4364, allocations: 31.81 kB / 1.187 GB, free: 3.816 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004584/0.441, allocations: 1.814 MB / 1.189 GB, free: 1.996 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00326/0.4443, allocations: 1.155 MB / 1.19 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003011/0.4473, allocations: 1.253 MB / 1.191 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.005338/0.4527, allocations: 5.41 MB / 1.197 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001476/0.4542, allocations: 1.063 MB / 1.198 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00221/0.4564, allocations: 1.296 MB / 1.199 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001936/0.4584, allocations: 1.264 MB / 1.2 GB, free: 6.492 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002499/0.4586, allocations: 68 kB / 1.2 GB, free: 6.426 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003336/0.462, allocations: 2.028 MB / 1.202 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.002224/0.4642, allocations: 2.783 MB / 1.205 GB, free: 1.605 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002636/0.4668, allocations: 2.429 MB / 1.207 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.01042/0.4773, allocations: 10.35 MB / 1.217 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.4773, allocations: 4 kB / 1.217 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.026e-06/0.4773, allocations: 0 / 1.217 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001977/0.4775, allocations: 0 / 1.217 GB, free: 4.773 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.01485/0.4924, allocations: 6.717 MB / 1.224 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.4924, allocations: 12.03 kB / 1.224 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004988/0.4929, allocations: 219.9 kB / 1.224 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002651/0.4956, allocations: 0.6073 MB / 1.225 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6349/1.13, allocations: 276 MB / 1.494 GB, free: 6.012 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/1.131, allocations: 138.9 kB / 1.494 GB, free: 5.875 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002634/1.131, allocations: 188 kB / 1.495 GB, free: 5.691 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003054/1.134, allocations: 1.964 MB / 1.497 GB, free: 3.648 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.436e-05/1.134, allocations: 4 kB / 1.497 GB, free: 3.645 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/1.134, allocations: 66.08 kB / 1.497 GB, free: 3.582 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.807e-05/1.134, allocations: 36 kB / 1.497 GB, free: 3.547 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002877/1.137, allocations: 1.994 MB / 1.499 GB, free: 1.547 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.0575/1.195, allocations: 70.46 MB / 1.567 GB, free: 10.88 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002919/1.198, allocations: 1.802 MB / 1.569 GB, free: 9.066 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001325/1.199, allocations: 1.091 MB / 1.57 GB, free: 7.973 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.827e-05/1.199, allocations: 38.11 kB / 1.57 GB, free: 7.941 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001602/1.201, allocations: 1.203 MB / 1.571 GB, free: 6.715 MB / 1.092 GB Notification: Performance of pre-optimization done (n=117): time 2.585e-06/1.201, allocations: 0 / 1.571 GB, free: 6.715 MB / 1.092 GB Notification: Performance of matching and sorting (n=117): time 0.007756/1.208, allocations: 3.714 MB / 1.575 GB, free: 2.969 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002069/1.209, allocations: 350.3 kB / 1.575 GB, free: 2.582 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7713/1.98, allocations: 315.9 MB / 1.884 GB, free: 303.4 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0003371/1.98, allocations: 65.7 kB / 1.884 GB, free: 303.3 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001747/1.982, allocations: 2.225 MB / 1.886 GB, free: 301.3 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002379/1.982, allocations: 384.3 kB / 1.887 GB, free: 301.1 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002128/1.982, allocations: 217.6 kB / 1.887 GB, free: 300.9 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 3.122e-05/1.982, allocations: 307 kB / 1.887 GB, free: 300.6 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001561/1.984, allocations: 1.527 MB / 1.889 GB, free: 299.1 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001616/1.986, allocations: 1.838 MB / 1.89 GB, free: 297.2 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002896/1.989, allocations: 3.242 MB / 1.894 GB, free: 293.9 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/1.989, allocations: 0 / 1.894 GB, free: 293.9 MB / 1.232 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.00555/1.994, allocations: 4.288 MB / 1.898 GB, free: 289.7 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001112/1.994, allocations: 165.6 kB / 1.898 GB, free: 289.5 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/1.994, allocations: 8 kB / 1.898 GB, free: 289.5 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000521/1.995, allocations: 87.69 kB / 1.898 GB, free: 289.4 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/1.996, allocations: 403.1 kB / 1.898 GB, free: 289.1 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09407/2.09, allocations: 1.535 MB / 1.9 GB, free: 287.4 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004372/2.094, allocations: 0.6528 MB / 1.9 GB, free: 286.7 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004259/2.095, allocations: 95.25 kB / 1.901 GB, free: 286.6 MB / 1.232 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.002828/2.098, allocations: 2.165 MB / 1.903 GB, free: 284.5 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001576/2.099, allocations: 457.9 kB / 1.903 GB, free: 284 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004561/2.104, allocations: 3.377 MB / 1.906 GB, free: 280.6 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/2.104, allocations: 19.66 kB / 1.906 GB, free: 280.6 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/2.104, allocations: 0 / 1.906 GB, free: 280.6 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/2.104, allocations: 11.97 kB / 1.906 GB, free: 280.6 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003635/2.108, allocations: 4.094 MB / 1.91 GB, free: 276.5 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/2.108, allocations: 5.078 kB / 1.91 GB, free: 276.5 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000657/2.108, allocations: 183.7 kB / 1.911 GB, free: 276.3 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004741/2.109, allocations: 85.58 kB / 1.911 GB, free: 276.2 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.886e-05/2.109, allocations: 39.97 kB / 1.911 GB, free: 276.2 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001315/2.11, allocations: 1.554 MB / 1.912 GB, free: 274.5 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/2.11, allocations: 0 / 1.912 GB, free: 274.5 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003955/2.114, allocations: 3.04 MB / 1.915 GB, free: 271.4 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001895/2.116, allocations: 1.794 MB / 1.917 GB, free: 269.6 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006096/2.117, allocations: 28 kB / 1.917 GB, free: 269.6 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001964/2.119, allocations: 445.9 kB / 1.917 GB, free: 269.1 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/2.119, allocations: 100.8 kB / 1.918 GB, free: 269 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.246e-05/2.119, allocations: 56.75 kB / 1.918 GB, free: 269 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.1512/2.27, allocations: 251.5 MB / 2.163 GB, free: 17.45 MB / 1.232 GB Notification: Performance of sort global known variables: time 4.41e-07/2.27, allocations: 1.641 kB / 2.163 GB, free: 17.45 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.004176/2.274, allocations: 1.419 MB / 2.165 GB, free: 16.11 MB / 1.232 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.007274/2.282, allocations: 4.455 MB / 2.169 GB, free: 11.91 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.004229/2.286, allocations: 4.342 MB / 2.173 GB, free: 7.543 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/2.286, allocations: 0.5469 kB / 2.173 GB, free: 7.543 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001743/2.288, allocations: 1.912 MB / 2.175 GB, free: 5.602 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003936/2.292, allocations: 0.5846 MB / 2.176 GB, free: 5.023 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.24/4.532, allocations: 1.278 GB / 3.454 GB, free: 134.9 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002178/4.534, allocations: 3.015 MB / 3.457 GB, free: 131.9 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.003416/4.537, allocations: 1.695 MB / 3.458 GB, free: 130.4 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003039/4.54, allocations: 2.346 MB / 3.461 GB, free: 128 MB / 1.248 GB Notification: Performance of SimCode: time 7.21e-07/4.54, allocations: 0 / 3.461 GB, free: 128 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.228/6.768, allocations: 219.9 MB / 3.675 GB, free: 375.7 MB / 1.248 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/6.768, allocations: 305.8 kB / 3.676 GB, free: 375.3 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.919/11.69, allocations: 0 / 3.676 GB, free: 375.3 MB / 1.248 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)