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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001185/0.001185, 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.001139/0.001139, allocations: 191.7 kB / 16.13 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.189/1.189, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.052/2.052, allocations: 390.2 MB / 0.6643 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 67.89 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4636/0.4648, allocations: 140.4 MB / 0.949 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005012/0.4698, allocations: 5.441 MB / 0.9544 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1278/0.5977, allocations: 148.8 MB / 1.1 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008905/0.5986, allocations: 19.88 kB / 1.1 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006369/0.5993, allocations: 162.7 kB / 1.1 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001779/0.601, allocations: 0.5742 MB / 1.1 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.6028, allocations: 0.8615 MB / 1.101 GB, free: 5.73 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001624/0.6045, allocations: 1.767 MB / 1.103 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.6056, allocations: 1.044 MB / 1.104 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008081/0.6064, allocations: 0.6924 MB / 1.105 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008219/0.6073, allocations: 0.8087 MB / 1.105 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002285/0.6075, allocations: 112 kB / 1.106 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007951/0.6083, allocations: 463.5 kB / 1.106 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003214/0.6086, allocations: 394.5 kB / 1.106 GB, free: 424 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006713/0.6093, allocations: 0.8196 MB / 1.107 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001844/0.6112, allocations: 2.348 MB / 1.109 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.6112, allocations: 3.984 kB / 1.109 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of FrontEnd: time 7.81e-07/0.6112, allocations: 0 / 1.109 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.854e-05/0.6112, allocations: 0 / 1.109 GB, free: 13.23 MB / 0.8731 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.003651/0.6149, allocations: 2.027 MB / 1.111 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.6149, allocations: 8.031 kB / 1.111 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002331/0.6152, allocations: 228 kB / 1.112 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009426/0.6161, allocations: 262.6 kB / 1.112 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/0.6173, allocations: 0.9691 MB / 1.113 GB, free: 9.629 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.871e-05/0.6174, allocations: 115.1 kB / 1.113 GB, free: 9.516 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/0.6176, allocations: 152 kB / 1.113 GB, free: 9.367 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002335/0.6199, allocations: 1.58 MB / 1.115 GB, free: 7.73 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.6199, allocations: 0 / 1.115 GB, free: 7.73 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/0.6201, allocations: 60 kB / 1.115 GB, free: 7.672 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.842e-05/0.6201, allocations: 40 kB / 1.115 GB, free: 7.633 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002366/0.6225, allocations: 1.639 MB / 1.116 GB, free: 5.988 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005481/0.6279, allocations: 4.146 MB / 1.12 GB, free: 1.762 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001878/0.6298, allocations: 1.185 MB / 1.122 GB, free: 0.5664 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000717/0.6306, allocations: 471.7 kB / 1.122 GB, free: 100 kB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.574e-05/0.6307, allocations: 45.08 kB / 1.122 GB, free: 56 kB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001187/0.6319, allocations: 0.7822 MB / 1.123 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=128): time 2.314e-06/0.6319, allocations: 0 / 1.123 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of matching and sorting (n=128): time 0.003865/0.6357, allocations: 1.838 MB / 1.125 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.463e-05/0.6358, allocations: 197.2 kB / 1.125 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009101/0.6367, allocations: 0.8653 MB / 1.126 GB, free: 12.26 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.307e-05/0.6368, allocations: 53.69 kB / 1.126 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003588/0.6372, allocations: 0.6093 MB / 1.126 GB, free: 11.58 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002676/0.6375, allocations: 406.2 kB / 1.127 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003148/0.6378, allocations: 238.7 kB / 1.127 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.6379, allocations: 357.9 kB / 1.127 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007357/0.6387, allocations: 426.4 kB / 1.128 GB, free: 10.17 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008478/0.6395, allocations: 0.5565 MB / 1.128 GB, free: 9.586 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/0.6411, allocations: 0.9584 MB / 1.129 GB, free: 8.613 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.6411, allocations: 0 / 1.129 GB, free: 8.613 MB / 0.8887 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.00247/0.6436, allocations: 1.285 MB / 1.13 GB, free: 7.316 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.6436, allocations: 7.938 kB / 1.13 GB, free: 7.309 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.6436, allocations: 4 kB / 1.13 GB, free: 7.305 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005639/0.6442, allocations: 84.89 kB / 1.131 GB, free: 7.219 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.6452, allocations: 263.6 kB / 1.131 GB, free: 6.961 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001764/0.647, allocations: 1.536 MB / 1.132 GB, free: 5.285 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008911/0.6479, allocations: 146.8 kB / 1.132 GB, free: 5.141 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.873e-05/0.648, allocations: 51.95 kB / 1.132 GB, free: 5.09 MB / 0.8887 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.000443/0.6484, allocations: 340.2 kB / 1.133 GB, free: 4.746 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000194/0.6486, allocations: 122.5 kB / 1.133 GB, free: 4.625 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003334/0.652, allocations: 1.713 MB / 1.135 GB, free: 2.902 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.652, allocations: 12 kB / 1.135 GB, free: 2.891 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.652, allocations: 4 kB / 1.135 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.652, allocations: 7.969 kB / 1.135 GB, free: 2.879 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.6533, allocations: 1.413 MB / 1.136 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.6533, allocations: 0 / 1.136 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008568/0.6542, allocations: 219.6 kB / 1.136 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004889/0.6547, allocations: 88.77 kB / 1.136 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-05/0.6548, allocations: 39.97 kB / 1.136 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001589/0.6564, allocations: 1.552 MB / 1.138 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.6564, allocations: 0 / 1.138 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002492/0.6589, allocations: 1.414 MB / 1.139 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004085/0.6593, allocations: 371 kB / 1.14 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/0.6595, allocations: 40.03 kB / 1.14 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008375/0.6603, allocations: 87.16 kB / 1.14 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001952/0.6605, allocations: 117.1 kB / 1.14 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.335e-05/0.6606, allocations: 59.95 kB / 1.14 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007247/0.6614, allocations: 0.6425 MB / 1.14 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6614, allocations: 0 / 1.14 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008226/0.6622, allocations: 466.6 kB / 1.141 GB, free: 12.16 MB / 0.9044 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.003818/0.666, allocations: 2.486 MB / 1.143 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002019/0.668, allocations: 1.224 MB / 1.145 GB, free: 8.59 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.6681, allocations: 4.188 kB / 1.145 GB, free: 8.586 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.6692, allocations: 0.7362 MB / 1.145 GB, free: 7.84 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.6703, allocations: 299.9 kB / 1.146 GB, free: 7.551 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01543/0.6857, allocations: 10.63 MB / 1.156 GB, free: 12.58 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006825/0.6864, allocations: 1.236 MB / 1.157 GB, free: 11.32 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0009568/0.6874, allocations: 329.9 kB / 1.157 GB, free: 10.99 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007914/0.6882, allocations: 0.628 MB / 1.158 GB, free: 10.36 MB / 0.92 GB Notification: Performance of SimCode: time 2.7e-07/0.6882, allocations: 0 / 1.158 GB, free: 10.36 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.702/5.39, allocations: 28.71 MB / 1.186 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002542/5.39, allocations: 299.8 kB / 1.186 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.269/8.66, allocations: 0 / 1.186 GB, free: 13.65 MB / 0.9512 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)