Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_latest_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.0008743/0.0008743, allocations: 95.92 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.005052/0.005053, allocations: 170.9 kB / 16.27 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.368/1.368, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.581/2.581, allocations: 462.6 MB / 0.7364 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003048/0.0003048, allocations: 15.94 kB / 0.9029 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2886, allocations: 159.6 MB / 1.059 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.007556/0.2962, allocations: 6.476 MB / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1553/0.4516, allocations: 151 MB / 1.213 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00112/0.4527, allocations: 23.88 kB / 1.213 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004369/0.4571, allocations: 1.651 MB / 1.214 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002428/0.4595, allocations: 0.7873 MB / 1.215 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002188/0.4617, allocations: 0.8485 MB / 1.216 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002868/0.4646, allocations: 2.625 MB / 1.218 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001338/0.466, allocations: 0.9029 MB / 1.219 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.4671, allocations: 0.661 MB / 1.22 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001183/0.4683, allocations: 0.7424 MB / 1.221 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002752/0.4685, allocations: 40 kB / 1.221 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003147/0.4717, allocations: 1.997 MB / 1.223 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0009555/0.4727, allocations: 1.048 MB / 1.224 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001505/0.4742, allocations: 1.186 MB / 1.225 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005643/0.4798, allocations: 5.176 MB / 1.23 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.4799, allocations: 4 kB / 1.23 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4799, allocations: 0 / 1.23 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.611e-05/0.48, allocations: 0 / 1.23 GB, free: 5.09 MB / 0.9825 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.006785/0.4868, allocations: 3.29 MB / 1.233 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.4868, allocations: 8.031 kB / 1.233 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003491/0.4872, allocations: 194.3 kB / 1.233 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001308/0.4885, allocations: 365.3 kB / 1.234 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4965/0.985, allocations: 87.6 MB / 1.319 GB, free: 149.4 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.604e-05/0.9851, allocations: 103.4 kB / 1.319 GB, free: 149.3 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002587/0.9854, allocations: 132.8 kB / 1.319 GB, free: 149.2 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002366/0.9877, allocations: 1.364 MB / 1.321 GB, free: 148 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.9878, allocations: 0 / 1.321 GB, free: 148 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/0.9879, allocations: 55.38 kB / 1.321 GB, free: 147.9 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.863e-05/0.9879, allocations: 32 kB / 1.321 GB, free: 147.9 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002061/0.99, allocations: 1.511 MB / 1.322 GB, free: 146.5 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.01568/1.006, allocations: 23.94 MB / 1.346 GB, free: 122.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/1.007, allocations: 1.128 MB / 1.347 GB, free: 121.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006075/1.008, allocations: 453 kB / 1.347 GB, free: 120.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.582e-05/1.008, allocations: 30.83 kB / 1.347 GB, free: 120.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008881/1.009, allocations: 0.662 MB / 1.348 GB, free: 120.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=100): time 2.935e-06/1.009, allocations: 4 kB / 1.348 GB, free: 120.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100): time 0.003702/1.013, allocations: 1.756 MB / 1.35 GB, free: 118.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/1.013, allocations: 188.9 kB / 1.35 GB, free: 118.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07659/1.089, allocations: 99.42 MB / 1.447 GB, free: 18.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002286/1.09, allocations: 49.69 kB / 1.447 GB, free: 18.64 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009485/1.091, allocations: 1.06 MB / 1.448 GB, free: 17.58 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003213/1.091, allocations: 324.7 kB / 1.448 GB, free: 17.27 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/1.091, allocations: 109.7 kB / 1.448 GB, free: 17.15 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.784e-05/1.091, allocations: 349.9 kB / 1.449 GB, free: 16.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000799/1.092, allocations: 0.4906 MB / 1.449 GB, free: 16.31 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008124/1.093, allocations: 0.6246 MB / 1.45 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/1.094, allocations: 1.014 MB / 1.451 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/1.094, allocations: 3.938 kB / 1.451 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002708/1.097, allocations: 1.511 MB / 1.452 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/1.097, allocations: 9.719 kB / 1.452 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/1.097, allocations: 0 / 1.452 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005365/1.098, allocations: 84.84 kB / 1.452 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008195/1.098, allocations: 239.7 kB / 1.453 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/1.1, allocations: 1.542 MB / 1.454 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/1.101, allocations: 287.6 kB / 1.454 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.265e-05/1.102, allocations: 55.39 kB / 1.454 GB, free: 10.76 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.0009107/1.102, allocations: 0.8078 MB / 1.455 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003179/1.103, allocations: 217.2 kB / 1.455 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002635/1.105, allocations: 1.632 MB / 1.457 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/1.105, allocations: 14.16 kB / 1.457 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/1.105, allocations: 0 / 1.457 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.968e-06/1.105, allocations: 11.72 kB / 1.457 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001592/1.107, allocations: 1.966 MB / 1.459 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/1.107, allocations: 0 / 1.459 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006623/1.108, allocations: 187.7 kB / 1.459 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004702/1.108, allocations: 90.22 kB / 1.459 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.572e-05/1.108, allocations: 27.98 kB / 1.459 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/1.11, allocations: 1.554 MB / 1.461 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/1.11, allocations: 0 / 1.461 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002087/1.112, allocations: 1.368 MB / 1.462 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007988/1.113, allocations: 0.7747 MB / 1.463 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002781/1.113, allocations: 35.92 kB / 1.463 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/1.114, allocations: 205.2 kB / 1.463 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/1.114, allocations: 89 kB / 1.463 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.786e-05/1.114, allocations: 47.97 kB / 1.463 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.06675/1.181, allocations: 79.41 MB / 1.541 GB, free: 2.145 MB / 1.076 GB Notification: Performance of sort global known variables: time 4.81e-07/1.181, allocations: 0 / 1.541 GB, free: 2.145 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002774/1.184, allocations: 1.02 MB / 1.542 GB, free: 1.199 MB / 1.076 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.005678/1.189, allocations: 2.776 MB / 1.544 GB, free: 14.69 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002268/1.192, allocations: 1.249 MB / 1.546 GB, free: 13.43 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.192, allocations: 0 / 1.546 GB, free: 13.43 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.00111/1.193, allocations: 0.672 MB / 1.546 GB, free: 12.75 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/1.195, allocations: 389.5 kB / 1.547 GB, free: 12.37 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7909/1.986, allocations: 411.3 MB / 1.948 GB, free: 264.5 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001305/1.987, allocations: 1.721 MB / 1.95 GB, free: 262.8 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.00198/1.989, allocations: 0.7757 MB / 1.951 GB, free: 262.1 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001521/1.991, allocations: 1.109 MB / 1.952 GB, free: 261 MB / 1.264 GB Notification: Performance of SimCode: time 6.21e-07/1.991, allocations: 0 / 1.952 GB, free: 261 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.254/5.245, allocations: 89.56 MB / 2.039 GB, free: 172.7 MB / 1.264 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/5.245, allocations: 319.4 kB / 2.04 GB, free: 172.3 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.518/8.764, allocations: 0 / 2.04 GB, free: 172.3 MB / 1.264 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1)