Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_11_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.004769/0.004769, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001351/0.001351, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.25/1.25, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.432/2.432, allocations: 469.8 MB / 0.7425 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 71.89 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6549/0.6566, allocations: 159.1 MB / 1.22 GB, free: 2.188 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.00921/0.6658, allocations: 8.196 MB / 1.228 GB, free: 9.953 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1639/0.8297, allocations: 159.5 MB / 1.384 GB, free: 9.805 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.8309, allocations: 39.81 kB / 1.384 GB, free: 9.766 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004047/0.835, allocations: 1.983 MB / 1.386 GB, free: 7.777 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002514/0.8375, allocations: 1.285 MB / 1.387 GB, free: 6.492 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002768/0.8403, allocations: 1.438 MB / 1.389 GB, free: 5.059 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.004788/0.8451, allocations: 5.446 MB / 1.394 GB, free: 15.6 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001391/0.8465, allocations: 1.116 MB / 1.395 GB, free: 14.43 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002057/0.8485, allocations: 1.695 MB / 1.397 GB, free: 12.73 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00173/0.8503, allocations: 1.495 MB / 1.398 GB, free: 11.23 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003622/0.8506, allocations: 276 kB / 1.398 GB, free: 10.96 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003475/0.8541, allocations: 2.356 MB / 1.401 GB, free: 8.605 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.002359/0.8565, allocations: 3.01 MB / 1.404 GB, free: 5.59 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.002708/0.8592, allocations: 2.939 MB / 1.407 GB, free: 2.637 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01005/0.8693, allocations: 10.85 MB / 1.417 GB, free: 7.754 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.8693, allocations: 0 / 1.417 GB, free: 7.754 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.293e-06/0.8693, allocations: 4 kB / 1.417 GB, free: 7.75 MB / 1.139 GB Notification: Performance of Transformations before backend: time 8.09e-05/0.8694, allocations: 0 / 1.417 GB, free: 7.75 MB / 1.139 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.01373/0.8831, allocations: 8.46 MB / 1.425 GB, free: 15.19 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.8832, allocations: 8.031 kB / 1.425 GB, free: 15.18 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002469/0.8834, allocations: 223.9 kB / 1.426 GB, free: 14.95 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001963/0.8854, allocations: 0.6221 MB / 1.426 GB, free: 14.33 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6629/1.548, allocations: 276.1 MB / 1.696 GB, free: 217.9 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.763e-05/1.548, allocations: 138.9 kB / 1.696 GB, free: 217.7 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/1.549, allocations: 184 kB / 1.696 GB, free: 217.6 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00218/1.551, allocations: 1.96 MB / 1.698 GB, free: 215.5 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.965e-05/1.551, allocations: 7 kB / 1.698 GB, free: 215.5 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/1.551, allocations: 64 kB / 1.698 GB, free: 215.5 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/1.551, allocations: 36 kB / 1.698 GB, free: 215.4 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002086/1.553, allocations: 1.996 MB / 1.7 GB, free: 213.4 MB / 1.279 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.03365/1.587, allocations: 70.34 MB / 1.769 GB, free: 142.8 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002211/1.589, allocations: 1.788 MB / 1.771 GB, free: 141.1 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009353/1.59, allocations: 1.085 MB / 1.772 GB, free: 140 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 7.098e-05/1.59, allocations: 33.03 kB / 1.772 GB, free: 139.9 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001176/1.591, allocations: 1.203 MB / 1.773 GB, free: 138.7 MB / 1.279 GB Notification: Performance of pre-optimization done (n=117): time 2.334e-06/1.591, allocations: 0 / 1.773 GB, free: 138.7 MB / 1.279 GB Notification: Performance of matching and sorting (n=117): time 0.006557/1.598, allocations: 3.713 MB / 1.776 GB, free: 135 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/1.598, allocations: 346.5 kB / 1.777 GB, free: 134.6 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2861/1.884, allocations: 315.9 MB / 2.085 GB, free: 10.6 MB / 1.467 GB Notification: Performance of collectPreVariables (initialization): time 0.0003623/1.884, allocations: 65.7 kB / 2.085 GB, free: 10.53 MB / 1.467 GB Notification: Performance of collectInitialEqns (initialization): time 0.002642/1.887, allocations: 2.241 MB / 2.088 GB, free: 8.285 MB / 1.467 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003888/1.887, allocations: 404.6 kB / 2.088 GB, free: 7.887 MB / 1.467 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006526/1.888, allocations: 459.4 kB / 2.088 GB, free: 7.434 MB / 1.467 GB Notification: Performance of setup shared object (initialization): time 0.0001093/1.888, allocations: 309.1 kB / 2.089 GB, free: 7.129 MB / 1.467 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002064/1.89, allocations: 1.527 MB / 2.09 GB, free: 5.602 MB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002282/1.893, allocations: 1.835 MB / 2.092 GB, free: 3.672 MB / 1.467 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004033/1.897, allocations: 3.224 MB / 2.095 GB, free: 368 kB / 1.467 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/1.897, allocations: 0 / 2.095 GB, free: 368 kB / 1.467 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.007824/1.904, allocations: 4.302 MB / 2.099 GB, free: 12.03 MB / 1.482 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001661/1.905, allocations: 171.6 kB / 2.099 GB, free: 11.86 MB / 1.482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/1.905, allocations: 6.438 kB / 2.1 GB, free: 11.86 MB / 1.482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005672/1.905, allocations: 89.09 kB / 2.1 GB, free: 11.77 MB / 1.482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/1.906, allocations: 403.2 kB / 2.1 GB, free: 11.38 MB / 1.482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001966/1.908, allocations: 1.642 MB / 2.102 GB, free: 9.586 MB / 1.482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00319/1.912, allocations: 0.6498 MB / 2.102 GB, free: 8.934 MB / 1.482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/1.912, allocations: 87.97 kB / 2.102 GB, free: 8.848 MB / 1.482 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.002808/1.915, allocations: 2.167 MB / 2.104 GB, free: 6.668 MB / 1.482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00153/1.916, allocations: 484.7 kB / 2.105 GB, free: 6.191 MB / 1.482 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005219/1.921, allocations: 3.37 MB / 2.108 GB, free: 2.805 MB / 1.482 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/1.921, allocations: 8 kB / 2.108 GB, free: 2.797 MB / 1.482 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/1.921, allocations: 4 kB / 2.108 GB, free: 2.793 MB / 1.482 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-05/1.921, allocations: 11.91 kB / 2.108 GB, free: 2.781 MB / 1.482 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004494/1.926, allocations: 4.092 MB / 2.112 GB, free: 14.64 MB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/1.926, allocations: 0 / 2.112 GB, free: 14.64 MB / 1.498 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007052/1.927, allocations: 183.7 kB / 2.112 GB, free: 14.46 MB / 1.498 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004209/1.927, allocations: 76.78 kB / 2.112 GB, free: 14.38 MB / 1.498 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.991e-05/1.927, allocations: 35.97 kB / 2.112 GB, free: 14.34 MB / 1.498 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001799/1.929, allocations: 1.665 MB / 2.114 GB, free: 12.53 MB / 1.498 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.929, allocations: 0 / 2.114 GB, free: 12.53 MB / 1.498 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005228/1.934, allocations: 3.065 MB / 2.117 GB, free: 9.438 MB / 1.498 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002516/1.937, allocations: 1.793 MB / 2.119 GB, free: 7.621 MB / 1.498 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006667/1.937, allocations: 28 kB / 2.119 GB, free: 7.594 MB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001971/1.939, allocations: 419.9 kB / 2.119 GB, free: 7.184 MB / 1.498 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002153/1.94, allocations: 88.88 kB / 2.119 GB, free: 7.098 MB / 1.498 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/1.94, allocations: 63.95 kB / 2.119 GB, free: 7.035 MB / 1.498 GB Notification: Performance of sorting global known variables: time 0.6023/2.542, allocations: 251.5 MB / 2.365 GB, free: 362.1 MB / 1.514 GB Notification: Performance of sort global known variables: time 6.71e-07/2.542, allocations: 1.312 kB / 2.365 GB, free: 362.1 MB / 1.514 GB Notification: Performance of remove unused functions: time 0.003789/2.546, allocations: 1.424 MB / 2.366 GB, free: 360.8 MB / 1.514 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.007082/2.553, allocations: 4.491 MB / 2.371 GB, free: 357 MB / 1.514 GB Notification: Performance of simCode: created initialization part: time 0.003752/2.557, allocations: 4.338 MB / 2.375 GB, free: 352.7 MB / 1.514 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/2.557, allocations: 0 / 2.375 GB, free: 352.7 MB / 1.514 GB Notification: Performance of simCode: created simulation system equations: time 0.00156/2.558, allocations: 1.904 MB / 2.377 GB, free: 350.7 MB / 1.514 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002733/2.561, allocations: 0.6062 MB / 2.378 GB, free: 350.2 MB / 1.514 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.668/4.229, allocations: 1.258 GB / 3.635 GB, free: 228.3 MB / 1.514 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002293/4.231, allocations: 3.011 MB / 3.638 GB, free: 225.3 MB / 1.514 GB Notification: Performance of simCode: alias equations: time 0.002955/4.234, allocations: 1.696 MB / 3.64 GB, free: 223.7 MB / 1.514 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002813/4.237, allocations: 2.35 MB / 3.642 GB, free: 221.3 MB / 1.514 GB Notification: Performance of SimCode: time 6.11e-07/4.237, allocations: 2.156 kB / 3.642 GB, free: 221.3 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.621/7.858, allocations: 273.4 MB / 3.909 GB, free: 0.5229 GB / 1.514 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.22/36.08, allocations: 16 kB / 3.909 GB, free: 0.5229 GB / 1.514 GB (rm -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1)