Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_10_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.001148/0.001148, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001237/0.001237, allocations: 192.6 kB / 16.25 MB, free: 6.621 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.202/1.202, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.327/2.327, allocations: 437 MB / 0.7101 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 64.05 kB / 0.8688 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4661/0.4674, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.007117/0.4745, allocations: 6.924 MB / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.132/0.6065, allocations: 149 MB / 1.169 GB, free: 6.227 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009795/0.6076, allocations: 19.94 kB / 1.169 GB, free: 6.207 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007469/0.6083, allocations: 198.3 kB / 1.169 GB, free: 6.012 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002158/0.6105, allocations: 0.7105 MB / 1.17 GB, free: 5.305 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001887/0.6124, allocations: 0.8825 MB / 1.171 GB, free: 4.426 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002132/0.6145, allocations: 2.137 MB / 1.173 GB, free: 2.281 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00117/0.6157, allocations: 1.014 MB / 1.174 GB, free: 1.219 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009128/0.6166, allocations: 0.8369 MB / 1.175 GB, free: 388 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008862/0.6175, allocations: 0.9066 MB / 1.176 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002104/0.6178, allocations: 215.9 kB / 1.176 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008075/0.6186, allocations: 0.5386 MB / 1.176 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003602/0.619, allocations: 482.5 kB / 1.177 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007043/0.6197, allocations: 0.968 MB / 1.178 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001971/0.6216, allocations: 2.512 MB / 1.18 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.6217, allocations: 3.984 kB / 1.18 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6217, allocations: 0 / 1.18 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.6217, allocations: 0 / 1.18 GB, free: 10.75 MB / 0.9356 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.003406/0.6251, allocations: 2.066 MB / 1.182 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.6251, allocations: 15.98 kB / 1.182 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002298/0.6254, allocations: 220.1 kB / 1.183 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009245/0.6263, allocations: 258.6 kB / 1.183 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.6275, allocations: 0.9731 MB / 1.184 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.362e-05/0.6275, allocations: 115.1 kB / 1.184 GB, free: 7 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.6277, allocations: 148 kB / 1.184 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00235/0.6301, allocations: 1.584 MB / 1.186 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.786e-05/0.6301, allocations: 3.938 kB / 1.186 GB, free: 5.211 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/0.6302, allocations: 64 kB / 1.186 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.662e-05/0.6303, allocations: 36 kB / 1.186 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002333/0.6326, allocations: 1.639 MB / 1.187 GB, free: 3.469 MB / 0.9356 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.005706/0.6383, allocations: 4.568 MB / 1.192 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00187/0.6402, allocations: 1.192 MB / 1.193 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007158/0.6409, allocations: 475.8 kB / 1.193 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.092e-05/0.641, allocations: 53 kB / 1.193 GB, free: 13 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001207/0.6423, allocations: 0.786 MB / 1.194 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=128): time 2.385e-06/0.6423, allocations: 0 / 1.194 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of matching and sorting (n=128): time 0.003917/0.6462, allocations: 1.842 MB / 1.196 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.6e-05/0.6463, allocations: 197.2 kB / 1.196 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008956/0.6472, allocations: 0.8693 MB / 1.197 GB, free: 9.191 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.86e-05/0.6473, allocations: 53.7 kB / 1.197 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003592/0.6476, allocations: 0.6054 MB / 1.198 GB, free: 8.516 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/0.6479, allocations: 406.1 kB / 1.198 GB, free: 8.113 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003199/0.6482, allocations: 242.7 kB / 1.198 GB, free: 7.871 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.6484, allocations: 357.9 kB / 1.199 GB, free: 7.516 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007223/0.6491, allocations: 422.4 kB / 1.199 GB, free: 7.102 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008472/0.6499, allocations: 0.5565 MB / 1.2 GB, free: 6.52 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001546/0.6515, allocations: 0.9701 MB / 1.201 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.6515, allocations: 0 / 1.201 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002462/0.654, allocations: 1.297 MB / 1.202 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.654, allocations: 6.344 kB / 1.202 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.654, allocations: 8.094 kB / 1.202 GB, free: 4.219 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005771/0.6546, allocations: 80.77 kB / 1.202 GB, free: 4.137 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.6556, allocations: 259.6 kB / 1.202 GB, free: 3.883 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001878/0.6575, allocations: 1.66 MB / 1.204 GB, free: 2.078 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009348/0.6585, allocations: 150.8 kB / 1.204 GB, free: 1.93 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-05/0.6586, allocations: 55.95 kB / 1.204 GB, free: 1.875 MB / 0.9512 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.0004383/0.659, allocations: 344.7 kB / 1.204 GB, free: 1.527 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/0.6592, allocations: 114.6 kB / 1.204 GB, free: 1.414 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003349/0.6626, allocations: 1.717 MB / 1.206 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.6626, allocations: 16 kB / 1.206 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.6626, allocations: 0 / 1.206 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.6626, allocations: 7.969 kB / 1.206 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.6639, allocations: 1.416 MB / 1.207 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.664, allocations: 0 / 1.207 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008633/0.6648, allocations: 219.7 kB / 1.208 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004249/0.6653, allocations: 76.73 kB / 1.208 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.788e-05/0.6653, allocations: 39.95 kB / 1.208 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001657/0.667, allocations: 1.674 MB / 1.209 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.667, allocations: 0 / 1.209 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002456/0.6695, allocations: 1.41 MB / 1.211 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004207/0.6699, allocations: 375.1 kB / 1.211 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/0.6701, allocations: 35.84 kB / 1.211 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008916/0.671, allocations: 99.8 kB / 1.211 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001874/0.6712, allocations: 109.3 kB / 1.211 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.161e-05/0.6713, allocations: 51.97 kB / 1.211 GB, free: 9.938 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007013/0.672, allocations: 0.6542 MB / 1.212 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/0.672, allocations: 0 / 1.212 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0008675/0.6729, allocations: 482.6 kB / 1.213 GB, free: 8.801 MB / 0.9669 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.003834/0.6767, allocations: 2.489 MB / 1.215 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003509/0.6802, allocations: 1.556 MB / 1.216 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.6802, allocations: 0 / 1.216 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.6814, allocations: 0.7441 MB / 1.217 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/0.6826, allocations: 370 kB / 1.218 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01472/0.6974, allocations: 10.53 MB / 1.228 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006705/0.6981, allocations: 1.241 MB / 1.229 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0009534/0.699, allocations: 330.2 kB / 1.229 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007874/0.6998, allocations: 0.6319 MB / 1.23 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.6998, allocations: 0 / 1.23 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.401/1.101, allocations: 30.51 MB / 1.26 GB, free: 230.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001538/1.101, allocations: 305.2 kB / 1.26 GB, free: 230 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.336/3.437, allocations: 2.188 kB / 1.26 GB, free: 230 MB / 0.9981 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)