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.001145/0.001145, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008669/0.008669, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.308/1.308, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.135/2.135, allocations: 390.9 MB / 0.6664 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002811/0.0002812, allocations: 12 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5102/0.5105, allocations: 142.4 MB / 0.9552 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.004788/0.5153, allocations: 5.294 MB / 0.9603 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1352/0.6505, allocations: 150.8 MB / 1.108 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009122/0.6515, allocations: 19.88 kB / 1.108 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004123/0.6556, allocations: 1.62 MB / 1.109 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001906/0.6575, allocations: 0.7117 MB / 1.11 GB, free: 300 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001866/0.6594, allocations: 0.8461 MB / 1.111 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00233/0.6618, allocations: 2.435 MB / 1.113 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001147/0.6629, allocations: 0.9218 MB / 1.114 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009445/0.6639, allocations: 0.6375 MB / 1.115 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.6649, allocations: 0.7072 MB / 1.115 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002407/0.6652, allocations: 40 kB / 1.115 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002749/0.6679, allocations: 1.997 MB / 1.117 GB, free: 8.656 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0008314/0.6688, allocations: 1.048 MB / 1.118 GB, free: 7.605 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001014/0.6698, allocations: 1.143 MB / 1.119 GB, free: 6.449 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00441/0.6742, allocations: 5.102 MB / 1.124 GB, free: 1.332 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.6742, allocations: 0 / 1.124 GB, free: 1.332 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.032e-06/0.6742, allocations: 0 / 1.124 GB, free: 1.332 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.05e-05/0.6742, allocations: 0 / 1.124 GB, free: 1.332 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.004973/0.6792, allocations: 3.264 MB / 1.128 GB, free: 14.01 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.6793, allocations: 8.031 kB / 1.128 GB, free: 14 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001963/0.6795, allocations: 190.3 kB / 1.128 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.6805, allocations: 365.3 kB / 1.128 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07013/0.7506, allocations: 87.61 MB / 1.214 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.26e-05/0.7508, allocations: 102.5 kB / 1.214 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002389/0.751, allocations: 132 kB / 1.214 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0023/0.7533, allocations: 1.36 MB / 1.215 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.7533, allocations: 4 kB / 1.215 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.7535, allocations: 55.98 kB / 1.215 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/0.7535, allocations: 32 kB / 1.215 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002255/0.7558, allocations: 1.5 MB / 1.217 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01814/0.7739, allocations: 23.5 MB / 1.24 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001965/0.7759, allocations: 1.129 MB / 1.241 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006821/0.7766, allocations: 449.1 kB / 1.241 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.812e-05/0.7767, allocations: 41 kB / 1.241 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009674/0.7777, allocations: 0.6567 MB / 1.242 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=100): time 2.695e-06/0.7777, allocations: 0 / 1.242 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100): time 0.003756/0.7814, allocations: 1.753 MB / 1.244 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.667e-05/0.7815, allocations: 192.9 kB / 1.244 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4411/1.223, allocations: 99.41 MB / 1.341 GB, free: 209.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002267/1.223, allocations: 57.69 kB / 1.341 GB, free: 209.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009034/1.224, allocations: 1.057 MB / 1.342 GB, free: 208.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003079/1.224, allocations: 322.3 kB / 1.342 GB, free: 208.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/1.224, allocations: 105.5 kB / 1.342 GB, free: 208.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.305e-05/1.224, allocations: 353.9 kB / 1.343 GB, free: 208.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007638/1.225, allocations: 493.3 kB / 1.343 GB, free: 207.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007974/1.226, allocations: 0.6308 MB / 1.344 GB, free: 207.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/1.227, allocations: 1.008 MB / 1.345 GB, free: 206.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/1.227, allocations: 4 kB / 1.345 GB, free: 206.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002609/1.23, allocations: 1.516 MB / 1.346 GB, free: 204.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/1.23, allocations: 4 kB / 1.346 GB, free: 204.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/1.23, allocations: 0 / 1.346 GB, free: 204.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005307/1.23, allocations: 87.53 kB / 1.346 GB, free: 204.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008039/1.231, allocations: 242.2 kB / 1.347 GB, free: 204.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/1.233, allocations: 1.527 MB / 1.348 GB, free: 202.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/1.234, allocations: 277.6 kB / 1.348 GB, free: 202.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.598e-05/1.234, allocations: 51.97 kB / 1.348 GB, free: 202.2 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.0008567/1.235, allocations: 0.8224 MB / 1.349 GB, free: 201.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004513/1.236, allocations: 217.2 kB / 1.349 GB, free: 201.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002638/1.238, allocations: 1.627 MB / 1.351 GB, free: 199.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/1.238, allocations: 18.12 kB / 1.351 GB, free: 199.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/1.238, allocations: 0 / 1.351 GB, free: 199.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.639e-06/1.238, allocations: 7.984 kB / 1.351 GB, free: 199.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/1.24, allocations: 1.958 MB / 1.353 GB, free: 197.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/1.24, allocations: 0 / 1.353 GB, free: 197.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006276/1.241, allocations: 187.6 kB / 1.353 GB, free: 197.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000446/1.241, allocations: 81.7 kB / 1.353 GB, free: 197.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.055e-05/1.241, allocations: 35.91 kB / 1.353 GB, free: 197.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001268/1.242, allocations: 1.551 MB / 1.355 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.243, allocations: 0 / 1.355 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002092/1.245, allocations: 1.376 MB / 1.356 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008701/1.245, allocations: 0.7747 MB / 1.357 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003692/1.246, allocations: 24 kB / 1.357 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/1.247, allocations: 200.5 kB / 1.357 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/1.247, allocations: 84.88 kB / 1.357 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.789e-05/1.247, allocations: 47.97 kB / 1.357 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.04478/1.292, allocations: 79.39 MB / 1.435 GB, free: 113.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/1.292, allocations: 0 / 1.435 GB, free: 113.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001892/1.294, allocations: 1.01 MB / 1.436 GB, free: 112.7 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.004436/1.298, allocations: 2.775 MB / 1.438 GB, free: 110.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001746/1.3, allocations: 1.25 MB / 1.44 GB, free: 109 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.3, allocations: 0 / 1.44 GB, free: 109 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000865/1.301, allocations: 0.6751 MB / 1.44 GB, free: 108.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/1.303, allocations: 374 kB / 1.441 GB, free: 107.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6486/1.951, allocations: 411.5 MB / 1.843 GB, free: 251.5 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/1.952, allocations: 1.721 MB / 1.844 GB, free: 249.7 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001702/1.954, allocations: 0.7768 MB / 1.845 GB, free: 249 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001304/1.955, allocations: 1.097 MB / 1.846 GB, free: 247.9 MB / 1.123 GB Notification: Performance of SimCode: time 4.6e-07/1.955, allocations: 3.875 kB / 1.846 GB, free: 247.9 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.523/5.479, allocations: 88.91 MB / 1.933 GB, free: 160.1 MB / 1.123 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/5.479, allocations: 302.5 kB / 1.933 GB, free: 159.7 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.991/8.47, allocations: 4 kB / 1.933 GB, free: 159.7 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)