Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.TransmittedRadiation,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_11_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.001408/0.001408, allocations: 108 kB / 15.6 MB, free: 132 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.001283/0.001283, allocations: 197.9 kB / 16.54 MB, free: 6.672 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.247/1.247, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.457/2.457, allocations: 469.8 MB / 0.7424 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 63.84 kB / 0.9087 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2317, allocations: 159.2 MB / 1.064 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.008162/0.2399, allocations: 6.958 MB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.154/0.3939, allocations: 155.4 MB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009628/0.3948, allocations: 27.88 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003915/0.3988, allocations: 1.802 MB / 1.224 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002234/0.4011, allocations: 0.89 MB / 1.225 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00193/0.403, allocations: 0.9791 MB / 1.226 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002147/0.4051, allocations: 2.567 MB / 1.229 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001125/0.4063, allocations: 0.9492 MB / 1.23 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008547/0.4071, allocations: 0.8955 MB / 1.231 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009835/0.4081, allocations: 0.9351 MB / 1.231 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002235/0.4084, allocations: 184 kB / 1.232 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002708/0.4111, allocations: 2.231 MB / 1.234 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009476/0.412, allocations: 1.22 MB / 1.235 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001232/0.4133, allocations: 1.419 MB / 1.236 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004669/0.418, allocations: 5.38 MB / 1.242 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.418, allocations: 0 / 1.242 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.193e-06/0.418, allocations: 0 / 1.242 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.957e-05/0.418, allocations: 4 kB / 1.242 GB, free: 7.73 MB / 0.9981 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.005826/0.4238, allocations: 3.973 MB / 1.246 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.4239, allocations: 12.03 kB / 1.246 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002027/0.4241, allocations: 186.2 kB / 1.246 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/0.4252, allocations: 357.3 kB / 1.246 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4314/0.8567, allocations: 87.61 MB / 1.332 GB, free: 130.5 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.462e-05/0.8568, allocations: 98.55 kB / 1.332 GB, free: 130.4 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001835/0.857, allocations: 136 kB / 1.332 GB, free: 130.3 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001728/0.8587, allocations: 1.354 MB / 1.333 GB, free: 128.9 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.8587, allocations: 4 kB / 1.333 GB, free: 128.9 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.429e-05/0.8588, allocations: 55.94 kB / 1.333 GB, free: 128.8 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.8588, allocations: 28 kB / 1.333 GB, free: 128.8 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00175/0.8606, allocations: 1.504 MB / 1.335 GB, free: 127.3 MB / 0.9981 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.01251/0.8731, allocations: 23.91 MB / 1.358 GB, free: 103.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/0.8747, allocations: 1.117 MB / 1.359 GB, free: 102.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005383/0.8752, allocations: 443.7 kB / 1.36 GB, free: 101.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.421e-05/0.8753, allocations: 37.09 kB / 1.36 GB, free: 101.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007642/0.8761, allocations: 0.6566 MB / 1.36 GB, free: 100.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=100): time 2.354e-06/0.8761, allocations: 7.719 kB / 1.36 GB, free: 100.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100): time 0.003279/0.8794, allocations: 1.736 MB / 1.362 GB, free: 99.15 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.8794, allocations: 196.9 kB / 1.362 GB, free: 98.91 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06708/0.9465, allocations: 99.41 MB / 1.459 GB, free: 15.46 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001089/0.9466, allocations: 45.7 kB / 1.459 GB, free: 15.41 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009599/0.9476, allocations: 1.061 MB / 1.46 GB, free: 14.34 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002899/0.9479, allocations: 331.2 kB / 1.461 GB, free: 14.01 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003529/0.9483, allocations: 238.8 kB / 1.461 GB, free: 13.77 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.9484, allocations: 353.9 kB / 1.461 GB, free: 13.42 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008202/0.9492, allocations: 490.4 kB / 1.462 GB, free: 12.95 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009593/0.9502, allocations: 0.6246 MB / 1.462 GB, free: 12.29 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001637/0.9519, allocations: 1.006 MB / 1.463 GB, free: 11.26 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.9519, allocations: 3.938 kB / 1.463 GB, free: 11.26 MB / 1.014 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.00295/0.9548, allocations: 1.507 MB / 1.465 GB, free: 9.738 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.9549, allocations: 4 kB / 1.465 GB, free: 9.734 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.9549, allocations: 4.875 kB / 1.465 GB, free: 9.73 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005435/0.9554, allocations: 84.8 kB / 1.465 GB, free: 9.645 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008706/0.9563, allocations: 235.6 kB / 1.465 GB, free: 9.414 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/0.9583, allocations: 1.647 MB / 1.467 GB, free: 7.625 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/0.9595, allocations: 269.2 kB / 1.467 GB, free: 7.363 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.183e-05/0.9596, allocations: 52.03 kB / 1.467 GB, free: 7.312 MB / 1.014 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.0009358/0.9605, allocations: 0.8076 MB / 1.468 GB, free: 6.496 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004845/0.961, allocations: 229 kB / 1.468 GB, free: 6.27 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003067/0.9641, allocations: 1.618 MB / 1.47 GB, free: 4.652 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.9641, allocations: 16 kB / 1.47 GB, free: 4.637 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.9641, allocations: 0 / 1.47 GB, free: 4.637 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.9641, allocations: 3.984 kB / 1.47 GB, free: 4.633 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/0.9662, allocations: 1.975 MB / 1.471 GB, free: 2.613 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.9662, allocations: 0 / 1.471 GB, free: 2.613 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006781/0.9669, allocations: 179.8 kB / 1.472 GB, free: 2.438 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003974/0.9673, allocations: 69.83 kB / 1.472 GB, free: 2.367 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.816e-05/0.9674, allocations: 35.97 kB / 1.472 GB, free: 2.332 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001794/0.9692, allocations: 1.665 MB / 1.473 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.9692, allocations: 1.219 kB / 1.473 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002554/0.9717, allocations: 1.36 MB / 1.475 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000992/0.9727, allocations: 0.7592 MB / 1.475 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002928/0.973, allocations: 20 kB / 1.475 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/0.9741, allocations: 187.9 kB / 1.476 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.9743, allocations: 84.88 kB / 1.476 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.83e-05/0.9744, allocations: 47.97 kB / 1.476 GB, free: 14.02 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.06791/1.042, allocations: 79.4 MB / 1.553 GB, free: 14.59 MB / 1.107 GB Notification: Performance of sort global known variables: time 6.21e-07/1.042, allocations: 0 / 1.553 GB, free: 14.59 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.00229/1.045, allocations: 1.026 MB / 1.554 GB, free: 13.64 MB / 1.107 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.005269/1.05, allocations: 2.759 MB / 1.557 GB, free: 11.14 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.003048/1.053, allocations: 1.542 MB / 1.558 GB, free: 9.59 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.053, allocations: 4 kB / 1.558 GB, free: 9.586 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001088/1.054, allocations: 0.6684 MB / 1.559 GB, free: 8.902 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/1.056, allocations: 418.2 kB / 1.56 GB, free: 8.508 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6373/1.693, allocations: 410.6 MB / 1.961 GB, free: 239.6 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008466/1.694, allocations: 1.719 MB / 1.962 GB, free: 237.8 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001504/1.695, allocations: 0.7718 MB / 1.963 GB, free: 237.2 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/1.696, allocations: 1.108 MB / 1.964 GB, free: 236.1 MB / 1.264 GB Notification: Performance of SimCode: time 4.61e-07/1.696, allocations: 3.094 kB / 1.964 GB, free: 236.1 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.644/4.34, allocations: 107.7 MB / 2.069 GB, free: 129.7 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.72/37.06, allocations: 4.984 kB / 2.069 GB, free: 129.7 MB / 1.264 GB (rm -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.fmu > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1)