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.001307/0.001307, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001409/0.00141, allocations: 193.4 kB / 16.14 MB, free: 6.691 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.328/1.328, allocations: 222.9 MB / 239.8 MB, free: 4.535 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.566/2.566, allocations: 437 MB / 0.7099 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 67.89 kB / 0.8687 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5642/0.5655, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.008507/0.574, allocations: 6.956 MB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.149/0.723, allocations: 153.2 MB / 1.173 GB, free: 1.973 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001123/0.7242, allocations: 23.88 kB / 1.173 GB, free: 1.949 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004189/0.7284, allocations: 1.643 MB / 1.175 GB, free: 308 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002276/0.7307, allocations: 0.8042 MB / 1.176 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002062/0.7328, allocations: 0.8455 MB / 1.176 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002495/0.7353, allocations: 2.64 MB / 1.179 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001094/0.7364, allocations: 0.9107 MB / 1.18 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008584/0.7373, allocations: 0.7898 MB / 1.181 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008783/0.7381, allocations: 0.8986 MB / 1.182 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000177/0.7383, allocations: 96 kB / 1.182 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002839/0.7412, allocations: 2.044 MB / 1.184 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0008232/0.742, allocations: 1.138 MB / 1.185 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001102/0.7431, allocations: 1.274 MB / 1.186 GB, free: 4.793 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004707/0.7478, allocations: 5.279 MB / 1.191 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.7479, allocations: 4 kB / 1.191 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7479, allocations: 0 / 1.191 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.675e-05/0.7479, allocations: 0 / 1.191 GB, free: 15.5 MB / 0.9512 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.00677/0.7547, allocations: 3.971 MB / 1.195 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.7547, allocations: 12.03 kB / 1.195 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002065/0.755, allocations: 190.3 kB / 1.195 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/0.7563, allocations: 353.3 kB / 1.196 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5533/1.31, allocations: 87.61 MB / 1.281 GB, free: 220.8 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.653e-05/1.31, allocations: 105.4 kB / 1.281 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/1.31, allocations: 132 kB / 1.281 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/1.312, allocations: 1.361 MB / 1.283 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/1.312, allocations: 0 / 1.283 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/1.312, allocations: 56 kB / 1.283 GB, free: 219.3 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/1.312, allocations: 32.84 kB / 1.283 GB, free: 219.3 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002088/1.314, allocations: 1.503 MB / 1.284 GB, free: 218.1 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.01469/1.329, allocations: 23.9 MB / 1.308 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001863/1.331, allocations: 1.132 MB / 1.309 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000602/1.331, allocations: 451.5 kB / 1.309 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.193e-05/1.332, allocations: 37.09 kB / 1.309 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000912/1.332, allocations: 0.6451 MB / 1.31 GB, free: 192 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=100): time 3.676e-06/1.332, allocations: 4 kB / 1.31 GB, free: 192 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100): time 0.003968/1.336, allocations: 1.737 MB / 1.311 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/1.337, allocations: 196.9 kB / 1.312 GB, free: 190 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07902/1.416, allocations: 99.41 MB / 1.409 GB, free: 90.54 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002701/1.416, allocations: 49.7 kB / 1.409 GB, free: 90.48 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008414/1.417, allocations: 1.061 MB / 1.41 GB, free: 89.41 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002257/1.417, allocations: 323.3 kB / 1.41 GB, free: 89.09 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003184/1.417, allocations: 238.8 kB / 1.41 GB, free: 88.86 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.603e-05/1.417, allocations: 353.9 kB / 1.411 GB, free: 88.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007503/1.418, allocations: 492.8 kB / 1.411 GB, free: 88.02 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008194/1.419, allocations: 0.6323 MB / 1.412 GB, free: 87.36 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/1.42, allocations: 1.002 MB / 1.413 GB, free: 86.34 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/1.42, allocations: 3.938 kB / 1.413 GB, free: 86.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003278/1.424, allocations: 1.506 MB / 1.414 GB, free: 84.82 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/1.424, allocations: 9.562 kB / 1.414 GB, free: 84.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/1.424, allocations: 0 / 1.414 GB, free: 84.81 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000608/1.424, allocations: 80.83 kB / 1.414 GB, free: 84.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009045/1.425, allocations: 243.6 kB / 1.415 GB, free: 84.49 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001701/1.427, allocations: 1.529 MB / 1.416 GB, free: 82.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/1.429, allocations: 277.9 kB / 1.416 GB, free: 82.55 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.629e-05/1.429, allocations: 47.97 kB / 1.416 GB, free: 82.5 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.0009825/1.43, allocations: 0.8198 MB / 1.417 GB, free: 81.68 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005198/1.43, allocations: 225.1 kB / 1.417 GB, free: 81.46 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002827/1.433, allocations: 1.618 MB / 1.419 GB, free: 79.83 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/1.433, allocations: 12 kB / 1.419 GB, free: 79.82 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/1.433, allocations: 0 / 1.419 GB, free: 79.82 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/1.433, allocations: 3.984 kB / 1.419 GB, free: 79.81 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/1.435, allocations: 1.977 MB / 1.421 GB, free: 77.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/1.435, allocations: 0 / 1.421 GB, free: 77.79 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007016/1.436, allocations: 183.7 kB / 1.421 GB, free: 77.61 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000504/1.436, allocations: 80.78 kB / 1.421 GB, free: 77.52 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.665e-05/1.436, allocations: 39.97 kB / 1.421 GB, free: 77.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/1.438, allocations: 1.536 MB / 1.423 GB, free: 75.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/1.438, allocations: 4.062 kB / 1.423 GB, free: 75.81 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002569/1.44, allocations: 1.364 MB / 1.424 GB, free: 74.42 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009267/1.441, allocations: 0.7554 MB / 1.425 GB, free: 73.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000349/1.442, allocations: 31.91 kB / 1.425 GB, free: 73.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/1.443, allocations: 197.5 kB / 1.425 GB, free: 73.42 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/1.443, allocations: 80.88 kB / 1.425 GB, free: 73.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.766e-05/1.443, allocations: 47.97 kB / 1.425 GB, free: 73.29 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.05092/1.494, allocations: 79.4 MB / 1.503 GB, free: 9.867 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.31e-07/1.494, allocations: 0 / 1.503 GB, free: 9.867 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002954/1.497, allocations: 1.021 MB / 1.504 GB, free: 8.918 MB / 1.014 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.005885/1.503, allocations: 2.766 MB / 1.506 GB, free: 6.375 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00231/1.505, allocations: 1.242 MB / 1.507 GB, free: 5.125 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/1.505, allocations: 0 / 1.507 GB, free: 5.125 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001135/1.506, allocations: 0.6641 MB / 1.508 GB, free: 4.445 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002254/1.509, allocations: 398 kB / 1.509 GB, free: 4.062 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7438/2.252, allocations: 411.2 MB / 1.91 GB, free: 271 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009615/2.253, allocations: 1.723 MB / 1.912 GB, free: 269.3 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.00179/2.255, allocations: 0.7767 MB / 1.913 GB, free: 268.6 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001299/2.256, allocations: 1.101 MB / 1.914 GB, free: 267.5 MB / 1.217 GB Notification: Performance of SimCode: time 5.01e-07/2.256, allocations: 4 kB / 1.914 GB, free: 267.5 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.288/3.545, allocations: 106.3 MB / 2.017 GB, free: 162.5 MB / 1.217 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002448/3.545, allocations: 310.7 kB / 2.018 GB, free: 162.1 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.781/7.326, allocations: 0.5625 kB / 2.018 GB, free: 162.1 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)