Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",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.007432/0.007432, allocations: 99.06 kB / 15.73 MB, free: 6.02 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.001761/0.001761, allocations: 195.9 kB / 16.68 MB, free: 5.934 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.311/2.311, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 67.89 kB / 0.9504 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6838/0.6851, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005975/0.6911, allocations: 5.457 MB / 1.093 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1645/0.8557, allocations: 151.1 MB / 1.24 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.857, allocations: 22.12 kB / 1.24 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009082/0.858, allocations: 207.5 kB / 1.241 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002733/0.8608, allocations: 0.6796 MB / 1.241 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002674/0.8635, allocations: 0.977 MB / 1.242 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002462/0.8659, allocations: 1.902 MB / 1.244 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001659/0.8676, allocations: 1.076 MB / 1.245 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001304/0.8689, allocations: 0.7962 MB / 1.246 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001269/0.8702, allocations: 0.8673 MB / 1.247 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000445/0.8707, allocations: 208 kB / 1.247 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001293/0.872, allocations: 0.5621 MB / 1.247 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000524/0.8725, allocations: 490.4 kB / 1.248 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001109/0.8736, allocations: 0.9017 MB / 1.249 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003541/0.8772, allocations: 2.492 MB / 1.251 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.8772, allocations: 0 / 1.251 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8772, allocations: 0 / 1.251 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.559e-05/0.8773, allocations: 0 / 1.251 GB, free: 6.039 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.004808/0.8821, allocations: 2.029 MB / 1.253 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.8822, allocations: 15.97 kB / 1.253 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003818/0.8826, allocations: 224.1 kB / 1.253 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/0.8838, allocations: 262.5 kB / 1.254 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00172/0.8855, allocations: 0.9926 MB / 1.255 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.8856, allocations: 115.1 kB / 1.255 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002582/0.8859, allocations: 152 kB / 1.255 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003065/0.889, allocations: 1.584 MB / 1.256 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.819e-05/0.889, allocations: 0 / 1.256 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001781/0.8892, allocations: 60 kB / 1.257 GB, free: 460 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.102e-05/0.8892, allocations: 40 kB / 1.257 GB, free: 420 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00292/0.8922, allocations: 1.643 MB / 1.258 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007075/0.8993, allocations: 4.099 MB / 1.262 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002154/0.9014, allocations: 1.176 MB / 1.263 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008238/0.9023, allocations: 479.6 kB / 1.264 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.9024, allocations: 45.08 kB / 1.264 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001298/0.9037, allocations: 0.7744 MB / 1.265 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=128): time 3.336e-06/0.9037, allocations: 0 / 1.265 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of matching and sorting (n=128): time 0.00443/0.9082, allocations: 1.842 MB / 1.266 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.9083, allocations: 197.2 kB / 1.267 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.9095, allocations: 0.8576 MB / 1.267 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001224/0.9096, allocations: 57.69 kB / 1.267 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004888/0.9101, allocations: 0.6171 MB / 1.268 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003523/0.9105, allocations: 406.2 kB / 1.268 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003793/0.9109, allocations: 242.7 kB / 1.269 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.911, allocations: 345.9 kB / 1.269 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008319/0.9118, allocations: 430.3 kB / 1.269 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009542/0.9128, allocations: 0.5604 MB / 1.27 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001752/0.9146, allocations: 0.9545 MB / 1.271 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.9146, allocations: 4 kB / 1.271 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002841/0.9174, allocations: 1.289 MB / 1.272 GB, free: 144 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.9175, allocations: 7.938 kB / 1.272 GB, free: 136 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.9175, allocations: 0 / 1.272 GB, free: 136 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006071/0.9181, allocations: 84.95 kB / 1.272 GB, free: 48 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.9193, allocations: 255.6 kB / 1.272 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002042/0.9213, allocations: 1.658 MB / 1.274 GB, free: 13.99 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/0.9225, allocations: 138.7 kB / 1.274 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/0.9226, allocations: 55.95 kB / 1.274 GB, free: 13.8 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 30 (incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.decAng.tNext,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,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 148 * 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.0006588/0.9233, allocations: 345.4 kB / 1.275 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003123/0.9236, allocations: 118.6 kB / 1.275 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003772/0.9274, allocations: 1.705 MB / 1.276 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/0.9274, allocations: 16 kB / 1.276 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.9274, allocations: 0 / 1.276 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/0.9274, allocations: 3.984 kB / 1.276 GB, free: 11.6 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/0.9293, allocations: 1.408 MB / 1.278 GB, free: 10.14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.9293, allocations: 0 / 1.278 GB, free: 10.14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009649/0.9303, allocations: 223.6 kB / 1.278 GB, free: 9.922 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000482/0.9307, allocations: 68.78 kB / 1.278 GB, free: 9.852 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001267/0.9309, allocations: 43.95 kB / 1.278 GB, free: 9.809 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00191/0.9328, allocations: 1.678 MB / 1.28 GB, free: 7.988 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.9328, allocations: 0 / 1.28 GB, free: 7.988 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003058/0.9359, allocations: 1.41 MB / 1.281 GB, free: 6.559 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007432/0.9367, allocations: 375.1 kB / 1.281 GB, free: 6.172 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003174/0.937, allocations: 35.91 kB / 1.282 GB, free: 6.137 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/0.9381, allocations: 83.91 kB / 1.282 GB, free: 6.055 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000293/0.9384, allocations: 109.2 kB / 1.282 GB, free: 5.945 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/0.9386, allocations: 59.95 kB / 1.282 GB, free: 5.887 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001032/0.9396, allocations: 0.6464 MB / 1.282 GB, free: 5.23 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.9e-07/0.9396, allocations: 0 / 1.282 GB, free: 5.23 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001233/0.9409, allocations: 462.6 kB / 1.283 GB, free: 4.777 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: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.004688/0.9456, allocations: 2.482 MB / 1.285 GB, free: 2.445 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002664/0.9483, allocations: 1.236 MB / 1.286 GB, free: 1.195 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.9483, allocations: 0 / 1.286 GB, free: 1.195 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001421/0.9497, allocations: 0.7403 MB / 1.287 GB, free: 456 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/0.9514, allocations: 331.9 kB / 1.288 GB, free: 140 kB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01812/0.9695, allocations: 9.373 MB / 1.297 GB, free: 6.605 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000952/0.9705, allocations: 1.232 MB / 1.298 GB, free: 5.34 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001353/0.9719, allocations: 329.8 kB / 1.298 GB, free: 5.016 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001016/0.9729, allocations: 0.632 MB / 1.299 GB, free: 4.383 MB / 1.029 GB Notification: Performance of SimCode: time 6.81e-07/0.9729, allocations: 3.938 kB / 1.299 GB, free: 4.379 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08667/1.06, allocations: 30.19 MB / 1.328 GB, free: 6.52 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.7/16.76, allocations: 11.69 kB / 1.328 GB, free: 6.508 MB / 1.061 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)