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.001965/0.001965, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.002826/0.002826, allocations: 192.9 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.693/2.693, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.33/4.33, allocations: 390.2 MB / 0.6644 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002476/0.002476, allocations: 59.91 kB / 0.8122 GB, free: 14.72 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.114/1.117, allocations: 140.4 MB / 0.9492 GB, free: 9.031 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.01074/1.127, allocations: 5.452 MB / 0.9545 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.3156/1.443, allocations: 148.9 MB / 1.1 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004153/1.447, allocations: 23.88 kB / 1.1 GB, free: 7.145 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00218/1.45, allocations: 154.7 kB / 1.1 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005931/1.456, allocations: 0.5951 MB / 1.101 GB, free: 6.398 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00524/1.461, allocations: 0.8771 MB / 1.102 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004521/1.465, allocations: 1.892 MB / 1.103 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002906/1.468, allocations: 1.076 MB / 1.104 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002015/1.47, allocations: 0.8018 MB / 1.105 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001827/1.472, allocations: 0.8678 MB / 1.106 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004509/1.473, allocations: 204 kB / 1.106 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001794/1.475, allocations: 0.5504 MB / 1.107 GB, free: 84 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0007133/1.475, allocations: 478.6 kB / 1.107 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001693/1.477, allocations: 0.9055 MB / 1.108 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004995/1.482, allocations: 2.438 MB / 1.111 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 8.345e-06/1.482, allocations: 0 / 1.111 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of FrontEnd: time 6.041e-06/1.482, allocations: 0 / 1.111 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.639e-05/1.482, allocations: 3.938 kB / 1.111 GB, free: 12.25 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.007835/1.49, allocations: 2.027 MB / 1.113 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.748e-05/1.49, allocations: 8.031 kB / 1.113 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005045/1.491, allocations: 224 kB / 1.113 GB, free: 9.926 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002254/1.493, allocations: 258.6 kB / 1.113 GB, free: 9.672 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002794/1.496, allocations: 0.973 MB / 1.114 GB, free: 8.656 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001976/1.496, allocations: 119.1 kB / 1.114 GB, free: 8.539 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004551/1.496, allocations: 148 kB / 1.114 GB, free: 8.395 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005826/1.502, allocations: 1.58 MB / 1.116 GB, free: 6.758 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.491e-05/1.502, allocations: 0 / 1.116 GB, free: 6.758 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003164/1.503, allocations: 64 kB / 1.116 GB, free: 6.695 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.779e-05/1.503, allocations: 36 kB / 1.116 GB, free: 6.66 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006287/1.509, allocations: 1.643 MB / 1.117 GB, free: 5.012 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01395/1.523, allocations: 4.146 MB / 1.121 GB, free: 0.7852 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003298/1.527, allocations: 1.181 MB / 1.123 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001342/1.528, allocations: 479.6 kB / 1.123 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001825/1.528, allocations: 45.08 kB / 1.123 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002583/1.531, allocations: 0.7854 MB / 1.124 GB, free: 14.28 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=128): time 6.392e-06/1.531, allocations: 0 / 1.124 GB, free: 14.28 MB / 0.8887 GB Notification: Performance of matching and sorting (n=128): time 0.007787/1.539, allocations: 1.838 MB / 1.126 GB, free: 12.42 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001757/1.539, allocations: 193.3 kB / 1.126 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002542/1.541, allocations: 0.8731 MB / 1.127 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0003/1.542, allocations: 53.7 kB / 1.127 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001088/1.543, allocations: 0.6093 MB / 1.127 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.001023/1.544, allocations: 406.2 kB / 1.128 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001046/1.545, allocations: 246.7 kB / 1.128 GB, free: 9.957 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002824/1.545, allocations: 349.9 kB / 1.128 GB, free: 9.609 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001897/1.547, allocations: 426.4 kB / 1.129 GB, free: 9.191 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001943/1.549, allocations: 0.5604 MB / 1.129 GB, free: 8.605 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003307/1.552, allocations: 0.9506 MB / 1.13 GB, free: 7.641 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/1.553, allocations: 0 / 1.13 GB, free: 7.641 MB / 0.8887 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.0059/1.558, allocations: 1.289 MB / 1.131 GB, free: 6.34 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.517e-05/1.559, allocations: 12.09 kB / 1.131 GB, free: 6.328 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/1.559, allocations: 0 / 1.131 GB, free: 6.328 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001162/1.56, allocations: 88.7 kB / 1.132 GB, free: 6.238 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002636/1.562, allocations: 251.6 kB / 1.132 GB, free: 5.992 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00471/1.567, allocations: 1.642 MB / 1.133 GB, free: 4.203 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00269/1.57, allocations: 148.6 kB / 1.134 GB, free: 4.059 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005654/1.57, allocations: 51.95 kB / 1.134 GB, free: 4.008 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.001843/1.572, allocations: 348.5 kB / 1.134 GB, free: 3.656 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00107/1.573, allocations: 118.5 kB / 1.134 GB, free: 3.539 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008742/1.582, allocations: 1.709 MB / 1.136 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-05/1.582, allocations: 16 kB / 1.136 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.497e-06/1.582, allocations: 0 / 1.136 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-05/1.582, allocations: 7.969 kB / 1.136 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00407/1.586, allocations: 1.413 MB / 1.137 GB, free: 344 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.353e-05/1.587, allocations: 3.938 kB / 1.137 GB, free: 340 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002099/1.589, allocations: 223.6 kB / 1.137 GB, free: 116 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009969/1.59, allocations: 68.8 kB / 1.137 GB, free: 44 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003172/1.59, allocations: 43.95 kB / 1.137 GB, free: 0 / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004086/1.594, allocations: 1.674 MB / 1.139 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-05/1.594, allocations: 12.08 kB / 1.139 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006946/1.601, allocations: 1.402 MB / 1.14 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001544/1.603, allocations: 379 kB / 1.141 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006944/1.603, allocations: 35.91 kB / 1.141 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002337/1.606, allocations: 87.91 kB / 1.141 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005273/1.606, allocations: 109.2 kB / 1.141 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002788/1.607, allocations: 55.95 kB / 1.141 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002314/1.609, allocations: 0.6464 MB / 1.142 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of sort global known variables: time 4.71e-07/1.609, allocations: 0 / 1.142 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002401/1.611, allocations: 458.6 kB / 1.142 GB, free: 10.96 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.009819/1.621, allocations: 2.489 MB / 1.145 GB, free: 8.629 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00913/1.631, allocations: 1.552 MB / 1.146 GB, free: 7.062 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.631, allocations: 4.062 kB / 1.146 GB, free: 7.059 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.003053/1.634, allocations: 0.7362 MB / 1.147 GB, free: 6.312 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003299/1.637, allocations: 333.8 kB / 1.147 GB, free: 6.004 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03604/1.673, allocations: 10.63 MB / 1.158 GB, free: 11.04 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002005/1.675, allocations: 1.232 MB / 1.159 GB, free: 9.777 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.00296/1.678, allocations: 329.9 kB / 1.159 GB, free: 9.453 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00229/1.68, allocations: 0.6281 MB / 1.16 GB, free: 8.824 MB / 0.92 GB Notification: Performance of SimCode: time 5.3e-06/1.681, allocations: 0 / 1.16 GB, free: 8.824 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1187/1.799, allocations: 29.57 MB / 1.189 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004832/1.8, allocations: 295.9 kB / 1.189 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.974/6.774, allocations: 0 / 1.189 GB, free: 11.25 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)