Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_10_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.0009356/0.0009359, allocations: 90.36 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.005841/0.005841, allocations: 168.9 kB / 16.26 MB, free: 6.68 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.383/1.383, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.633/2.633, allocations: 437.8 MB / 0.7121 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003356/0.0003357, allocations: 12 kB / 0.873 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5658/0.5662, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.006897/0.5731, allocations: 6.501 MB / 1.029 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1489/0.7221, allocations: 151 MB / 1.177 GB, free: 1.789 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001151/0.7233, allocations: 19.88 kB / 1.177 GB, free: 1.77 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00443/0.7277, allocations: 1.655 MB / 1.179 GB, free: 112 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001893/0.7296, allocations: 0.7942 MB / 1.179 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001926/0.7316, allocations: 0.8595 MB / 1.18 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002366/0.7339, allocations: 2.625 MB / 1.183 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001128/0.7351, allocations: 0.8951 MB / 1.184 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008487/0.7359, allocations: 0.6572 MB / 1.184 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008843/0.7368, allocations: 0.7385 MB / 1.185 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.7369, allocations: 44 kB / 1.185 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003023/0.74, allocations: 1.993 MB / 1.187 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0008055/0.7408, allocations: 1.04 MB / 1.188 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001036/0.7418, allocations: 1.194 MB / 1.189 GB, free: 5.191 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005095/0.7469, allocations: 5.176 MB / 1.194 GB, free: 0 / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.747, allocations: 0 / 1.194 GB, free: 0 / 0.9356 GB Notification: Performance of FrontEnd: time 2.054e-06/0.747, allocations: 0 / 1.194 GB, free: 0 / 0.9356 GB Notification: Performance of Transformations before backend: time 3.4e-05/0.747, allocations: 0 / 1.194 GB, free: 0 / 0.9356 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.005935/0.753, allocations: 3.294 MB / 1.197 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.753, allocations: 12.03 kB / 1.197 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002253/0.7532, allocations: 194.3 kB / 1.198 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.7544, allocations: 365.2 kB / 1.198 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5298/1.284, allocations: 87.6 MB / 1.283 GB, free: 188.7 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.472e-05/1.284, allocations: 102.4 kB / 1.284 GB, free: 188.6 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/1.284, allocations: 136 kB / 1.284 GB, free: 188.5 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00196/1.286, allocations: 1.365 MB / 1.285 GB, free: 187.2 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/1.286, allocations: 4 kB / 1.285 GB, free: 187.2 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/1.287, allocations: 52 kB / 1.285 GB, free: 187.2 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/1.287, allocations: 28 kB / 1.285 GB, free: 187.1 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001914/1.289, allocations: 1.512 MB / 1.287 GB, free: 185.6 MB / 0.9825 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.01504/1.304, allocations: 23.95 MB / 1.31 GB, free: 161.5 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/1.305, allocations: 1.133 MB / 1.311 GB, free: 160.4 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006216/1.306, allocations: 445.5 kB / 1.312 GB, free: 159.9 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.783e-05/1.306, allocations: 40.47 kB / 1.312 GB, free: 159.9 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008841/1.307, allocations: 0.6606 MB / 1.312 GB, free: 159.2 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=100): time 2.514e-06/1.307, allocations: 0 / 1.312 GB, free: 159.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=100): time 0.003625/1.311, allocations: 1.757 MB / 1.314 GB, free: 157.5 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/1.311, allocations: 192.9 kB / 1.314 GB, free: 157.2 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08044/1.391, allocations: 99.41 MB / 1.411 GB, free: 57.77 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002572/1.391, allocations: 45.7 kB / 1.411 GB, free: 57.72 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001023/1.393, allocations: 1.065 MB / 1.412 GB, free: 56.64 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003308/1.393, allocations: 326.9 kB / 1.413 GB, free: 56.33 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/1.393, allocations: 101.7 kB / 1.413 GB, free: 56.23 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 6.346e-05/1.393, allocations: 353.9 kB / 1.413 GB, free: 55.88 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007809/1.394, allocations: 494.4 kB / 1.413 GB, free: 55.39 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008166/1.395, allocations: 0.6342 MB / 1.414 GB, free: 54.73 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/1.396, allocations: 1.01 MB / 1.415 GB, free: 53.7 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/1.396, allocations: 3.938 kB / 1.415 GB, free: 53.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003098/1.399, allocations: 1.521 MB / 1.417 GB, free: 52.17 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/1.399, allocations: 7.984 kB / 1.417 GB, free: 52.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/1.399, allocations: 0 / 1.417 GB, free: 52.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006239/1.4, allocations: 80.81 kB / 1.417 GB, free: 52.08 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008896/1.401, allocations: 243.7 kB / 1.417 GB, free: 51.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001748/1.403, allocations: 1.534 MB / 1.418 GB, free: 50.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001897/1.405, allocations: 286.6 kB / 1.419 GB, free: 49.88 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.862e-05/1.405, allocations: 47.98 kB / 1.419 GB, free: 49.84 MB / 0.9825 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.001202/1.406, allocations: 0.8083 MB / 1.42 GB, free: 49.02 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006639/1.407, allocations: 224.5 kB / 1.42 GB, free: 48.8 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003017/1.41, allocations: 1.635 MB / 1.421 GB, free: 47.15 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/1.41, allocations: 8 kB / 1.421 GB, free: 47.14 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.41, allocations: 7.938 kB / 1.421 GB, free: 47.14 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/1.41, allocations: 7.969 kB / 1.421 GB, free: 47.13 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002321/1.412, allocations: 1.957 MB / 1.423 GB, free: 45.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/1.412, allocations: 3.75 kB / 1.423 GB, free: 45.15 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006829/1.413, allocations: 191.7 kB / 1.423 GB, free: 44.96 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005105/1.413, allocations: 84.77 kB / 1.424 GB, free: 44.88 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.229e-05/1.413, allocations: 35.97 kB / 1.424 GB, free: 44.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001436/1.415, allocations: 1.54 MB / 1.425 GB, free: 43.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.415, allocations: 8.016 kB / 1.425 GB, free: 43.16 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002477/1.417, allocations: 1.372 MB / 1.426 GB, free: 41.76 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008985/1.418, allocations: 0.7708 MB / 1.427 GB, free: 40.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002901/1.418, allocations: 27.94 kB / 1.427 GB, free: 40.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/1.42, allocations: 208.7 kB / 1.427 GB, free: 40.73 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/1.42, allocations: 92.81 kB / 1.427 GB, free: 40.64 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.255e-05/1.42, allocations: 47.97 kB / 1.428 GB, free: 40.6 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.06146/1.481, allocations: 79.39 MB / 1.505 GB, free: 9.184 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.22e-07/1.481, allocations: 0 / 1.505 GB, free: 9.184 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003088/1.484, allocations: 1.025 MB / 1.506 GB, free: 8.23 MB / 1.029 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.006236/1.491, allocations: 2.784 MB / 1.509 GB, free: 5.715 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002459/1.493, allocations: 1.249 MB / 1.51 GB, free: 4.457 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/1.493, allocations: 4 kB / 1.51 GB, free: 4.453 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001191/1.494, allocations: 0.6682 MB / 1.511 GB, free: 3.77 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002525/1.497, allocations: 394.4 kB / 1.511 GB, free: 3.391 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8073/2.304, allocations: 411.3 MB / 1.913 GB, free: 252.1 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001207/2.306, allocations: 1.721 MB / 1.914 GB, free: 250.3 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001968/2.308, allocations: 0.7784 MB / 1.915 GB, free: 249.7 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001546/2.309, allocations: 1.104 MB / 1.916 GB, free: 248.6 MB / 1.217 GB Notification: Performance of SimCode: time 8.02e-07/2.309, allocations: 0 / 1.916 GB, free: 248.6 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1283/2.437, allocations: 89.55 MB / 2.004 GB, free: 160.2 MB / 1.217 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001515/2.438, allocations: 318.1 kB / 2.004 GB, free: 159.9 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.307/5.745, allocations: 0 / 2.004 GB, free: 159.9 MB / 1.217 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1)