Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_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.001182/0.001182, 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.001182/0.001182, allocations: 193.1 kB / 16.13 MB, free: 6.645 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.191/1.191, allocations: 222.9 MB / 239.8 MB, free: 4.59 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.058/2.058, allocations: 390.2 MB / 0.6643 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 59.91 kB / 0.812 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5071/0.5084, allocations: 140.4 MB / 0.9491 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.004954/0.5134, allocations: 4.472 MB / 0.9534 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1399/0.6533, allocations: 148.4 MB / 1.098 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008199/0.6542, allocations: 15.94 kB / 1.098 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006433/0.6548, allocations: 138.9 kB / 1.099 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001655/0.6565, allocations: 457.5 kB / 1.099 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001727/0.6583, allocations: 0.7358 MB / 1.1 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001351/0.6596, allocations: 1.277 MB / 1.101 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008342/0.6605, allocations: 0.606 MB / 1.102 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006344/0.6611, allocations: 434.1 kB / 1.102 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000613/0.6617, allocations: 497.6 kB / 1.102 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001719/0.6619, allocations: 59.94 kB / 1.102 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008355/0.6628, allocations: 407.6 kB / 1.103 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002438/0.663, allocations: 251 kB / 1.103 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004576/0.6635, allocations: 0.5087 MB / 1.104 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001512/0.665, allocations: 1.562 MB / 1.105 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.665, allocations: 0 / 1.105 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.32e-07/0.665, allocations: 0 / 1.105 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.705e-05/0.6651, allocations: 0 / 1.105 GB, free: 1.711 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002751/0.6678, allocations: 1.464 MB / 1.107 GB, free: 204 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.6679, allocations: 12.03 kB / 1.107 GB, free: 192 kB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001656/0.668, allocations: 135.7 kB / 1.107 GB, free: 48 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008794/0.6689, allocations: 195.3 kB / 1.107 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.6699, allocations: 0.766 MB / 1.108 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.721e-05/0.67, allocations: 66 kB / 1.108 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.6701, allocations: 91.98 kB / 1.108 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.6717, allocations: 0.9651 MB / 1.109 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.6717, allocations: 7.938 kB / 1.109 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.624e-05/0.6718, allocations: 40 kB / 1.109 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/0.6718, allocations: 20 kB / 1.109 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001745/0.6736, allocations: 1.155 MB / 1.11 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003882/0.6775, allocations: 2.669 MB / 1.113 GB, free: 9.922 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/0.679, allocations: 0.8447 MB / 1.113 GB, free: 9.07 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005437/0.6795, allocations: 326.7 kB / 1.114 GB, free: 8.746 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.069e-05/0.6796, allocations: 36.67 kB / 1.114 GB, free: 8.711 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009103/0.6805, allocations: 0.5315 MB / 1.114 GB, free: 8.16 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=88): time 2.144e-06/0.6806, allocations: 0 / 1.114 GB, free: 8.16 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88): time 0.003106/0.6837, allocations: 1.286 MB / 1.115 GB, free: 6.848 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.6838, allocations: 192.9 kB / 1.116 GB, free: 6.617 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00073/0.6845, allocations: 0.6528 MB / 1.116 GB, free: 5.957 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.257e-05/0.6846, allocations: 41.7 kB / 1.116 GB, free: 5.91 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002828/0.6849, allocations: 408.4 kB / 1.117 GB, free: 5.504 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/0.6851, allocations: 291.8 kB / 1.117 GB, free: 5.215 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002245/0.6853, allocations: 162.5 kB / 1.117 GB, free: 5.047 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.6855, allocations: 386.8 kB / 1.118 GB, free: 4.66 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004984/0.686, allocations: 269.8 kB / 1.118 GB, free: 4.398 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006006/0.6866, allocations: 390.5 kB / 1.118 GB, free: 3.992 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.6876, allocations: 0.632 MB / 1.119 GB, free: 3.348 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.6877, allocations: 4 kB / 1.119 GB, free: 3.344 MB / 0.8731 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001818/0.6895, allocations: 0.8721 MB / 1.12 GB, free: 2.461 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.6895, allocations: 7.938 kB / 1.12 GB, free: 2.453 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.6895, allocations: 0 / 1.12 GB, free: 2.453 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005689/0.6901, allocations: 80.84 kB / 1.12 GB, free: 2.371 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006554/0.6907, allocations: 171.8 kB / 1.12 GB, free: 2.203 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001808/0.6926, allocations: 1.508 MB / 1.121 GB, free: 0.5508 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006395/0.6932, allocations: 103.3 kB / 1.121 GB, free: 460 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.46e-05/0.6933, allocations: 35.97 kB / 1.121 GB, free: 424 kB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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,decAng.tNext,$PRE.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 (97): * Single equations (assignments): 96 * 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.0003652/0.6937, allocations: 274.7 kB / 1.122 GB, free: 140 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.6938, allocations: 82.97 kB / 1.122 GB, free: 56 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002359/0.6962, allocations: 1.168 MB / 1.123 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.96e-05/0.6962, allocations: 16 kB / 1.123 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.6962, allocations: 3.938 kB / 1.123 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.6962, allocations: 7.969 kB / 1.123 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/0.6976, allocations: 0.9384 MB / 1.124 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.6977, allocations: 0 / 1.124 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005955/0.6983, allocations: 151.8 kB / 1.124 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004778/0.6987, allocations: 88.7 kB / 1.124 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.743e-05/0.6988, allocations: 27.97 kB / 1.124 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001623/0.7004, allocations: 1.548 MB / 1.126 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.7005, allocations: 0 / 1.126 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001883/0.7023, allocations: 0.9981 MB / 1.127 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003147/0.7027, allocations: 287.6 kB / 1.127 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.7028, allocations: 23.94 kB / 1.127 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005998/0.7034, allocations: 71.92 kB / 1.127 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.7036, allocations: 72.89 kB / 1.127 GB, free: 10.42 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.767e-05/0.7036, allocations: 39.97 kB / 1.127 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005152/0.7042, allocations: 483 kB / 1.128 GB, free: 9.914 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.094e-06/0.7042, allocations: 0 / 1.128 GB, free: 9.914 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007082/0.7049, allocations: 315.2 kB / 1.128 GB, free: 9.605 MB / 0.8887 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,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (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 (100): * Single equations (assignments): 93 * 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.003209/0.7081, allocations: 2.066 MB / 1.13 GB, free: 7.695 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001476/0.7096, allocations: 0.8587 MB / 1.131 GB, free: 6.82 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.7096, allocations: 0 / 1.131 GB, free: 6.82 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008777/0.7105, allocations: 0.5393 MB / 1.131 GB, free: 6.27 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009718/0.7115, allocations: 280.3 kB / 1.132 GB, free: 6.004 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/0.7227, allocations: 7.263 MB / 1.139 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005234/0.7232, allocations: 1.04 MB / 1.14 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007487/0.724, allocations: 271 kB / 1.14 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005209/0.7245, allocations: 411.2 kB / 1.14 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of SimCode: time 2.71e-07/0.7245, allocations: 0 / 1.14 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5547/1.279, allocations: 21.25 MB / 1.161 GB, free: 7.965 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002801/1.28, allocations: 313.3 kB / 1.161 GB, free: 7.582 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.45/3.73, allocations: 3.516 kB / 1.161 GB, free: 7.582 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)