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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001213/0.001213, allocations: 108 kB / 15.61 MB, free: 152 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.001224/0.001224, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.253/1.253, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.136/2.136, allocations: 390.3 MB / 0.6647 GB, free: 484 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 67.91 kB / 0.8127 GB, free: 14.4 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4907/0.4919, allocations: 140.4 MB / 0.9497 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.005427/0.4974, allocations: 5.734 MB / 0.9553 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1391/0.6366, allocations: 155.2 MB / 1.107 GB, free: 316 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009013/0.6375, allocations: 27.88 kB / 1.107 GB, free: 288 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003287/0.6408, allocations: 1.77 MB / 1.109 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001644/0.6425, allocations: 0.7879 MB / 1.109 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001802/0.6443, allocations: 0.9719 MB / 1.11 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001682/0.646, allocations: 2.361 MB / 1.113 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/0.647, allocations: 0.9836 MB / 1.114 GB, free: 9.355 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007283/0.6477, allocations: 0.8604 MB / 1.114 GB, free: 8.492 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008253/0.6486, allocations: 0.9024 MB / 1.115 GB, free: 7.586 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002127/0.6488, allocations: 188 kB / 1.116 GB, free: 7.402 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002577/0.6514, allocations: 2.231 MB / 1.118 GB, free: 5.168 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0007808/0.6522, allocations: 1.224 MB / 1.119 GB, free: 3.941 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001002/0.6532, allocations: 1.372 MB / 1.12 GB, free: 2.562 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00429/0.6575, allocations: 5.314 MB / 1.125 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.6575, allocations: 4 kB / 1.125 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.203e-06/0.6575, allocations: 0 / 1.125 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.227e-05/0.6575, allocations: 0 / 1.125 GB, free: 13.23 MB / 0.8887 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.005524/0.663, allocations: 3.94 MB / 1.129 GB, free: 9.227 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.6631, allocations: 8.031 kB / 1.129 GB, free: 9.219 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001894/0.6633, allocations: 190.2 kB / 1.129 GB, free: 9.023 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/0.6645, allocations: 361.2 kB / 1.13 GB, free: 8.668 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07196/0.7364, allocations: 87.6 MB / 1.215 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.927e-05/0.7366, allocations: 110.5 kB / 1.215 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002829/0.7369, allocations: 136 kB / 1.216 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002168/0.739, allocations: 1.36 MB / 1.217 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.7391, allocations: 3.938 kB / 1.217 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.7392, allocations: 52 kB / 1.217 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.7392, allocations: 32 kB / 1.217 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002136/0.7414, allocations: 1.496 MB / 1.218 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01803/0.7594, allocations: 23.44 MB / 1.241 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001986/0.7614, allocations: 1.109 MB / 1.242 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006832/0.7621, allocations: 445.8 kB / 1.243 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.028e-05/0.7622, allocations: 41.08 kB / 1.243 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009683/0.7632, allocations: 0.6528 MB / 1.244 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=100): time 2.524e-06/0.7632, allocations: 0 / 1.244 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100): time 0.004135/0.7673, allocations: 1.745 MB / 1.245 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.671e-05/0.7674, allocations: 192.9 kB / 1.245 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4526/1.22, allocations: 99.41 MB / 1.343 GB, free: 207.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002434/1.22, allocations: 53.7 kB / 1.343 GB, free: 207.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008104/1.221, allocations: 1.054 MB / 1.344 GB, free: 206.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002238/1.221, allocations: 325.2 kB / 1.344 GB, free: 206.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003045/1.222, allocations: 248.7 kB / 1.344 GB, free: 206.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.012e-05/1.222, allocations: 353.3 kB / 1.344 GB, free: 205.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007088/1.222, allocations: 490.4 kB / 1.345 GB, free: 205.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007456/1.223, allocations: 0.6258 MB / 1.346 GB, free: 204.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/1.225, allocations: 0.9998 MB / 1.347 GB, free: 203.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/1.225, allocations: 0.875 kB / 1.347 GB, free: 203.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003059/1.228, allocations: 1.503 MB / 1.348 GB, free: 202.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/1.228, allocations: 8 kB / 1.348 GB, free: 202.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/1.228, allocations: 3.984 kB / 1.348 GB, free: 202.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005627/1.228, allocations: 89.5 kB / 1.348 GB, free: 202 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008262/1.229, allocations: 235.7 kB / 1.348 GB, free: 201.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001609/1.231, allocations: 1.632 MB / 1.35 GB, free: 200 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/1.232, allocations: 285.3 kB / 1.35 GB, free: 199.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.846e-05/1.232, allocations: 43.98 kB / 1.35 GB, free: 199.7 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.0008907/1.233, allocations: 0.8141 MB / 1.351 GB, free: 198.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004657/1.233, allocations: 218 kB / 1.351 GB, free: 198.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002612/1.236, allocations: 1.629 MB / 1.353 GB, free: 197 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/1.236, allocations: 14.02 kB / 1.353 GB, free: 197 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/1.236, allocations: 0 / 1.353 GB, free: 197 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/1.236, allocations: 7.969 kB / 1.353 GB, free: 197 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/1.238, allocations: 1.961 MB / 1.355 GB, free: 195 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/1.238, allocations: 0 / 1.355 GB, free: 195 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006649/1.238, allocations: 183.7 kB / 1.355 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00041/1.239, allocations: 80.53 kB / 1.355 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.625e-05/1.239, allocations: 27.98 kB / 1.355 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001347/1.24, allocations: 1.66 MB / 1.357 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.24, allocations: 0 / 1.357 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002211/1.242, allocations: 1.368 MB / 1.358 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007842/1.243, allocations: 0.7552 MB / 1.359 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003138/1.244, allocations: 31.92 kB / 1.359 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/1.245, allocations: 183.9 kB / 1.359 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/1.245, allocations: 84.88 kB / 1.359 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-05/1.245, allocations: 47.97 kB / 1.359 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.04562/1.29, allocations: 79.4 MB / 1.437 GB, free: 111 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.91e-07/1.291, allocations: 7.75 kB / 1.437 GB, free: 111 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002378/1.293, allocations: 0.9902 MB / 1.438 GB, free: 110.1 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.004462/1.297, allocations: 2.753 MB / 1.44 GB, free: 107.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002709/1.3, allocations: 1.547 MB / 1.442 GB, free: 106.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/1.3, allocations: 0 / 1.442 GB, free: 106.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009077/1.301, allocations: 0.6606 MB / 1.442 GB, free: 105.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/1.303, allocations: 409.5 kB / 1.443 GB, free: 105 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6195/1.922, allocations: 410.8 MB / 1.844 GB, free: 251.6 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009192/1.923, allocations: 1.724 MB / 1.846 GB, free: 249.8 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001626/1.925, allocations: 0.7715 MB / 1.846 GB, free: 249.2 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001174/1.926, allocations: 1.104 MB / 1.847 GB, free: 248.1 MB / 1.123 GB Notification: Performance of SimCode: time 4.21e-07/1.926, allocations: 0 / 1.847 GB, free: 248.1 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5744/2.5, allocations: 107 MB / 1.952 GB, free: 142.2 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/14.92, allocations: 5.047 kB / 1.952 GB, free: 142.2 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)