Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.TransmittedRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",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.001261/0.001261, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00129/0.00129, allocations: 193.1 kB / 16.14 MB, free: 6.711 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.23/1.23, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.253/2.253, allocations: 390.2 MB / 0.6643 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 67.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5182/0.5195, allocations: 140.4 MB / 0.949 GB, free: 9.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.005334/0.5249, allocations: 5.717 MB / 0.9546 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1392/0.6641, allocations: 153.1 MB / 1.104 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009108/0.6651, allocations: 19.88 kB / 1.104 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003315/0.6684, allocations: 1.62 MB / 1.106 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001541/0.6699, allocations: 0.6945 MB / 1.106 GB, free: 364 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001735/0.6717, allocations: 0.8485 MB / 1.107 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001717/0.6734, allocations: 2.435 MB / 1.11 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009739/0.6744, allocations: 0.9529 MB / 1.111 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006967/0.6751, allocations: 0.7509 MB / 1.111 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007518/0.6758, allocations: 0.8691 MB / 1.112 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001598/0.676, allocations: 96 kB / 1.112 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002407/0.6784, allocations: 2.052 MB / 1.114 GB, free: 8.305 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0007495/0.6792, allocations: 1.134 MB / 1.115 GB, free: 7.168 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000952/0.6802, allocations: 1.227 MB / 1.117 GB, free: 5.934 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003952/0.6841, allocations: 5.216 MB / 1.122 GB, free: 0.7031 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.6841, allocations: 0 / 1.122 GB, free: 0.7031 MB / 0.8731 GB Notification: Performance of FrontEnd: time 4.318e-06/0.6841, allocations: 4 kB / 1.122 GB, free: 0.6992 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.113e-05/0.6842, allocations: 3.938 kB / 1.122 GB, free: 0.6953 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.005724/0.6899, allocations: 3.932 MB / 1.125 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.6899, allocations: 8.031 kB / 1.126 GB, free: 12.69 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001955/0.6901, allocations: 198.2 kB / 1.126 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/0.6913, allocations: 353.3 kB / 1.126 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07136/0.7627, allocations: 87.61 MB / 1.212 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.442e-05/0.7628, allocations: 102.5 kB / 1.212 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002424/0.7631, allocations: 135.9 kB / 1.212 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002422/0.7655, allocations: 1.364 MB / 1.213 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.7655, allocations: 0 / 1.213 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/0.7656, allocations: 55.98 kB / 1.213 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.42e-05/0.7657, allocations: 32 kB / 1.213 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002256/0.7679, allocations: 1.5 MB / 1.215 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01861/0.7866, allocations: 23.44 MB / 1.238 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001875/0.7885, allocations: 1.116 MB / 1.239 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006519/0.7891, allocations: 437.4 kB / 1.239 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.281e-05/0.7892, allocations: 49.02 kB / 1.239 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009845/0.7902, allocations: 0.649 MB / 1.24 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=100): time 2.144e-06/0.7902, allocations: 0 / 1.24 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100): time 0.00401/0.7942, allocations: 1.741 MB / 1.241 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.313e-05/0.7943, allocations: 192.9 kB / 1.242 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4028/1.197, allocations: 99.41 MB / 1.339 GB, free: 211.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002208/1.197, allocations: 45.7 kB / 1.339 GB, free: 211.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007114/1.198, allocations: 1.066 MB / 1.34 GB, free: 210.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/1.198, allocations: 325 kB / 1.34 GB, free: 210 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002797/1.199, allocations: 238.8 kB / 1.34 GB, free: 209.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.291e-05/1.199, allocations: 353.3 kB / 1.341 GB, free: 209.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006772/1.199, allocations: 490.4 kB / 1.341 GB, free: 208.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007313/1.2, allocations: 0.6283 MB / 1.342 GB, free: 208.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/1.201, allocations: 1.009 MB / 1.343 GB, free: 207.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/1.201, allocations: 4 kB / 1.343 GB, free: 207.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002662/1.204, allocations: 1.509 MB / 1.344 GB, free: 205.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/1.204, allocations: 4 kB / 1.344 GB, free: 205.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/1.204, allocations: 0 / 1.344 GB, free: 205.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005586/1.205, allocations: 87.11 kB / 1.344 GB, free: 205.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008446/1.205, allocations: 238.2 kB / 1.345 GB, free: 205.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00152/1.207, allocations: 1.508 MB / 1.346 GB, free: 203.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/1.208, allocations: 281.8 kB / 1.346 GB, free: 203.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.917e-05/1.208, allocations: 53.69 kB / 1.346 GB, free: 203.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (138): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * 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.0007359/1.209, allocations: 0.8076 MB / 1.347 GB, free: 202.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003957/1.209, allocations: 220.3 kB / 1.347 GB, free: 202.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002612/1.212, allocations: 1.623 MB / 1.349 GB, free: 200.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/1.212, allocations: 11.94 kB / 1.349 GB, free: 200.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/1.212, allocations: 4 kB / 1.349 GB, free: 200.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.198e-06/1.212, allocations: 7.969 kB / 1.349 GB, free: 200.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/1.214, allocations: 1.963 MB / 1.351 GB, free: 198.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/1.214, allocations: 0 / 1.351 GB, free: 198.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006661/1.214, allocations: 187.8 kB / 1.351 GB, free: 198.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000475/1.215, allocations: 84.73 kB / 1.351 GB, free: 198.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.93e-05/1.215, allocations: 27.98 kB / 1.351 GB, free: 198.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001308/1.216, allocations: 1.552 MB / 1.353 GB, free: 196.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/1.216, allocations: 0 / 1.353 GB, free: 196.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002174/1.218, allocations: 1.356 MB / 1.354 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007637/1.219, allocations: 0.7591 MB / 1.355 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003047/1.219, allocations: 24 kB / 1.355 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/1.22, allocations: 184.2 kB / 1.355 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/1.221, allocations: 88.81 kB / 1.355 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.056e-05/1.221, allocations: 47.97 kB / 1.355 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.04407/1.265, allocations: 79.39 MB / 1.433 GB, free: 114.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.21e-07/1.265, allocations: 0 / 1.433 GB, free: 114.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00213/1.267, allocations: 1.009 MB / 1.434 GB, free: 114 MB / 0.9981 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 (115): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * 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.004262/1.271, allocations: 2.757 MB / 1.436 GB, free: 111.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001741/1.273, allocations: 1.246 MB / 1.437 GB, free: 110.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.273, allocations: 0 / 1.437 GB, free: 110.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000893/1.274, allocations: 0.6644 MB / 1.438 GB, free: 109.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/1.275, allocations: 385.7 kB / 1.439 GB, free: 109.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6362/1.911, allocations: 411.3 MB / 1.84 GB, free: 255.5 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008917/1.912, allocations: 1.719 MB / 1.842 GB, free: 253.7 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001631/1.914, allocations: 0.7696 MB / 1.843 GB, free: 253.1 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001151/1.915, allocations: 1.102 MB / 1.844 GB, free: 252 MB / 1.123 GB Notification: Performance of SimCode: time 7.42e-07/1.915, allocations: 2.219 kB / 1.844 GB, free: 252 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.904/6.819, allocations: 105.7 MB / 1.947 GB, free: 147.4 MB / 1.123 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/6.819, allocations: 307.3 kB / 1.947 GB, free: 147 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.314/10.13, allocations: 2.812 kB / 1.947 GB, free: 147 MB / 1.123 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1)