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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001308/0.001308, allocations: 108 kB / 15.61 MB, free: 148 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.00166/0.00166, allocations: 196.2 kB / 16.53 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.581/2.581, allocations: 461.9 MB / 0.7346 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 65.34 kB / 0.8992 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2504, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.009331/0.2597, allocations: 8.214 MB / 1.061 GB, free: 48 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1573/0.417, allocations: 159.5 MB / 1.217 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.4181, allocations: 39.81 kB / 1.217 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003776/0.4219, allocations: 1.995 MB / 1.219 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002225/0.4241, allocations: 1.269 MB / 1.22 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002588/0.4267, allocations: 1.439 MB / 1.221 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003996/0.4307, allocations: 5.427 MB / 1.227 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001368/0.4321, allocations: 1.124 MB / 1.228 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001774/0.4339, allocations: 1.679 MB / 1.229 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001531/0.4355, allocations: 1.496 MB / 1.231 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003623/0.4358, allocations: 276 kB / 1.231 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003017/0.4389, allocations: 2.317 MB / 1.233 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002097/0.441, allocations: 3.021 MB / 1.236 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002496/0.4435, allocations: 2.943 MB / 1.239 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.4807/0.9242, allocations: 10.7 MB / 1.25 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.9242, allocations: 1 kB / 1.25 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.9242, allocations: 1.594 kB / 1.25 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002182/0.9245, allocations: 0 / 1.25 GB, free: 15.83 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.01947/0.9439, allocations: 8.274 MB / 1.258 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.944, allocations: 9.578 kB / 1.258 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004819/0.9445, allocations: 221.6 kB / 1.258 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003023/0.9475, allocations: 0.5952 MB / 1.259 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2758/1.223, allocations: 280 MB / 1.532 GB, free: 1.852 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00019/1.224, allocations: 143.8 kB / 1.532 GB, free: 1.711 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007311/1.224, allocations: 188 kB / 1.532 GB, free: 1.527 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003785/1.228, allocations: 1.957 MB / 1.534 GB, free: 15.5 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.989e-05/1.228, allocations: 3.281 kB / 1.534 GB, free: 15.5 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001775/1.228, allocations: 63.98 kB / 1.534 GB, free: 15.44 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.547e-05/1.228, allocations: 37.06 kB / 1.534 GB, free: 15.41 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003229/1.232, allocations: 1.981 MB / 1.536 GB, free: 13.43 MB / 1.201 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.06327/1.295, allocations: 70.38 MB / 1.605 GB, free: 7.008 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003521/1.298, allocations: 1.777 MB / 1.607 GB, free: 5.242 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001531/1.3, allocations: 1.083 MB / 1.608 GB, free: 4.156 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/1.3, allocations: 40.36 kB / 1.608 GB, free: 4.129 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001752/1.302, allocations: 1.192 MB / 1.609 GB, free: 2.922 MB / 1.264 GB Notification: Performance of pre-optimization done (n=117): time 3.777e-06/1.302, allocations: 1.031 kB / 1.609 GB, free: 2.922 MB / 1.264 GB Notification: Performance of matching and sorting (n=117): time 0.00867/1.311, allocations: 3.708 MB / 1.613 GB, free: 15.19 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002022/1.311, allocations: 343.6 kB / 1.613 GB, free: 14.81 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8461/2.157, allocations: 315.9 MB / 1.921 GB, free: 488.4 MB / 1.42 GB Notification: Performance of collectPreVariables (initialization): time 0.0009182/2.158, allocations: 65.7 kB / 1.921 GB, free: 488.3 MB / 1.42 GB Notification: Performance of collectInitialEqns (initialization): time 0.004166/2.162, allocations: 2.232 MB / 1.924 GB, free: 486.3 MB / 1.42 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007404/2.163, allocations: 386.2 kB / 1.924 GB, free: 486.1 MB / 1.42 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001694/2.165, allocations: 464.4 kB / 1.924 GB, free: 485.7 MB / 1.42 GB Notification: Performance of setup shared object (initialization): time 5.247e-05/2.165, allocations: 301.7 kB / 1.925 GB, free: 485.4 MB / 1.42 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002226/2.167, allocations: 1.52 MB / 1.926 GB, free: 483.9 MB / 1.42 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00221/2.169, allocations: 1.844 MB / 1.928 GB, free: 482 MB / 1.42 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003619/2.173, allocations: 3.225 MB / 1.931 GB, free: 478.7 MB / 1.42 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/2.173, allocations: 4 kB / 1.931 GB, free: 478.7 MB / 1.42 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.009422/2.182, allocations: 4.282 MB / 1.935 GB, free: 474.4 MB / 1.42 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001419/2.182, allocations: 169.4 kB / 1.936 GB, free: 474.2 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/2.182, allocations: 4 kB / 1.936 GB, free: 474.2 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006237/2.183, allocations: 96.73 kB / 1.936 GB, free: 474.1 MB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/2.184, allocations: 388.5 kB / 1.936 GB, free: 473.7 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/2.186, allocations: 1.643 MB / 1.938 GB, free: 472 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004614/2.191, allocations: 0.6455 MB / 1.938 GB, free: 471.3 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002599/2.191, allocations: 83.97 kB / 1.938 GB, free: 471.2 MB / 1.42 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.0041/2.195, allocations: 2.162 MB / 1.94 GB, free: 469.1 MB / 1.42 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003145/2.198, allocations: 465.9 kB / 1.941 GB, free: 468.6 MB / 1.42 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005992/2.204, allocations: 3.372 MB / 1.944 GB, free: 465.2 MB / 1.42 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/2.204, allocations: 19.5 kB / 1.944 GB, free: 465.2 MB / 1.42 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/2.204, allocations: 0 / 1.944 GB, free: 465.2 MB / 1.42 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/2.204, allocations: 3.984 kB / 1.944 GB, free: 465.2 MB / 1.42 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007843/2.212, allocations: 4.087 MB / 1.948 GB, free: 461.1 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/2.212, allocations: 0 / 1.948 GB, free: 461.1 MB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007302/2.213, allocations: 187.7 kB / 1.948 GB, free: 460.9 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00044/2.214, allocations: 79.28 kB / 1.948 GB, free: 460.9 MB / 1.42 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001417/2.214, allocations: 39.97 kB / 1.948 GB, free: 460.8 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001599/2.215, allocations: 1.649 MB / 1.95 GB, free: 459 MB / 1.42 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/2.215, allocations: 7.453 kB / 1.95 GB, free: 459 MB / 1.42 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006323/2.222, allocations: 3.035 MB / 1.953 GB, free: 456 MB / 1.42 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003869/2.226, allocations: 1.775 MB / 1.955 GB, free: 454.2 MB / 1.42 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002272/2.228, allocations: 31.94 kB / 1.955 GB, free: 454.1 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003478/2.231, allocations: 418.5 kB / 1.955 GB, free: 453.7 MB / 1.42 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002464/2.232, allocations: 102.1 kB / 1.955 GB, free: 453.6 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001168/2.232, allocations: 55.97 kB / 1.955 GB, free: 453.6 MB / 1.42 GB Notification: Performance of sorting global known variables: time 0.1557/2.387, allocations: 251.5 MB / 2.201 GB, free: 202 MB / 1.42 GB Notification: Performance of sort global known variables: time 1.433e-06/2.387, allocations: 0 / 2.201 GB, free: 202 MB / 1.42 GB Notification: Performance of remove unused functions: time 0.005609/2.393, allocations: 1.404 MB / 2.202 GB, free: 200.7 MB / 1.42 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.01144/2.404, allocations: 4.454 MB / 2.207 GB, free: 196.5 MB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.006831/2.411, allocations: 4.856 MB / 2.211 GB, free: 191.7 MB / 1.42 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/2.411, allocations: 1.125 kB / 2.211 GB, free: 191.7 MB / 1.42 GB Notification: Performance of simCode: created simulation system equations: time 0.00189/2.413, allocations: 1.913 MB / 2.213 GB, free: 189.7 MB / 1.42 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005922/2.419, allocations: 0.6156 MB / 2.214 GB, free: 189.1 MB / 1.42 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.782/4.201, allocations: 1.277 GB / 3.491 GB, free: 160.9 MB / 1.42 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002633/4.204, allocations: 3.013 MB / 3.494 GB, free: 157.9 MB / 1.42 GB Notification: Performance of simCode: alias equations: time 0.003634/4.207, allocations: 1.692 MB / 3.496 GB, free: 156.4 MB / 1.42 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003281/4.211, allocations: 2.35 MB / 3.498 GB, free: 154.1 MB / 1.42 GB Notification: Performance of SimCode: time 9.12e-07/4.211, allocations: 2.656 kB / 3.498 GB, free: 154.1 MB / 1.42 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.665/5.875, allocations: 276.7 MB / 3.768 GB, free: 0.4938 GB / 1.42 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.58/24.46, allocations: 11.77 kB / 3.768 GB, free: 0.4937 GB / 1.42 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)