Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_10_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.001199/0.001199, 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.001143/0.001143, allocations: 194.7 kB / 16.26 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.179/1.179, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.216/2.216, allocations: 437 MB / 0.7101 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 63.91 kB / 0.8689 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.458/0.4592, allocations: 151.6 MB / 1.017 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005594/0.4648, allocations: 4.998 MB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1303/0.5951, allocations: 148.6 MB / 1.167 GB, free: 8.672 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007163/0.5959, allocations: 19.94 kB / 1.167 GB, free: 8.652 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005899/0.5965, allocations: 154.8 kB / 1.167 GB, free: 8.5 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001651/0.5981, allocations: 0.517 MB / 1.168 GB, free: 7.984 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001651/0.5998, allocations: 0.7494 MB / 1.168 GB, free: 7.242 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001356/0.6012, allocations: 1.448 MB / 1.17 GB, free: 5.789 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007696/0.6019, allocations: 0.5987 MB / 1.17 GB, free: 5.172 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006302/0.6026, allocations: 0.4983 MB / 1.171 GB, free: 4.672 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006337/0.6032, allocations: 0.546 MB / 1.171 GB, free: 4.125 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001835/0.6034, allocations: 120 kB / 1.171 GB, free: 4.008 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007007/0.6041, allocations: 463.6 kB / 1.172 GB, free: 3.555 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000245/0.6044, allocations: 311 kB / 1.172 GB, free: 3.25 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004714/0.6049, allocations: 0.5869 MB / 1.173 GB, free: 2.66 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001478/0.6063, allocations: 1.651 MB / 1.174 GB, free: 1.004 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.6064, allocations: 0 / 1.174 GB, free: 1.004 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6064, allocations: 0 / 1.174 GB, free: 1.004 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.154e-05/0.6064, allocations: 0 / 1.174 GB, free: 1.004 MB / 0.92 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.002528/0.6089, allocations: 1.475 MB / 1.176 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.609, allocations: 8.031 kB / 1.176 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001622/0.6092, allocations: 147.7 kB / 1.176 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008617/0.61, allocations: 187.3 kB / 1.176 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009184/0.6109, allocations: 0.7661 MB / 1.177 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.417e-05/0.611, allocations: 66 kB / 1.177 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.931e-05/0.6111, allocations: 84 kB / 1.177 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/0.6126, allocations: 0.9691 MB / 1.178 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.6126, allocations: 4 kB / 1.178 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.778e-05/0.6127, allocations: 36 kB / 1.178 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.032e-05/0.6127, allocations: 20 kB / 1.178 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001644/0.6144, allocations: 1.155 MB / 1.179 GB, free: 11.95 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.003702/0.6181, allocations: 2.891 MB / 1.182 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.6195, allocations: 0.8521 MB / 1.183 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004995/0.62, allocations: 318.7 kB / 1.183 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.049e-05/0.6201, allocations: 36.62 kB / 1.183 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008597/0.621, allocations: 0.5354 MB / 1.184 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=88): time 2.054e-06/0.621, allocations: 0 / 1.184 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88): time 0.003016/0.624, allocations: 1.294 MB / 1.185 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.406e-05/0.6241, allocations: 192.9 kB / 1.185 GB, free: 5.621 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006788/0.6248, allocations: 0.6528 MB / 1.186 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.612e-05/0.6248, allocations: 41.7 kB / 1.186 GB, free: 4.914 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002595/0.6251, allocations: 416.3 kB / 1.186 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/0.6253, allocations: 280 kB / 1.186 GB, free: 4.223 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002199/0.6255, allocations: 158.5 kB / 1.187 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.6257, allocations: 390.7 kB / 1.187 GB, free: 3.672 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004875/0.6262, allocations: 269.9 kB / 1.187 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005906/0.6268, allocations: 394.5 kB / 1.188 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.6278, allocations: 0.6398 MB / 1.188 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.6278, allocations: 0 / 1.188 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001815/0.6297, allocations: 0.8643 MB / 1.189 GB, free: 1.469 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.6297, allocations: 8 kB / 1.189 GB, free: 1.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.6297, allocations: 0 / 1.189 GB, free: 1.461 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005607/0.6303, allocations: 88.83 kB / 1.189 GB, free: 1.371 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006522/0.6309, allocations: 171.8 kB / 1.189 GB, free: 1.203 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/0.6328, allocations: 1.636 MB / 1.191 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006593/0.6334, allocations: 103.2 kB / 1.191 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.244e-05/0.6335, allocations: 35.97 kB / 1.191 GB, free: 15.29 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: 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.0003143/0.6338, allocations: 269.6 kB / 1.191 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.634, allocations: 86.97 kB / 1.191 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002368/0.6364, allocations: 1.171 MB / 1.193 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.6364, allocations: 8 kB / 1.193 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.6364, allocations: 3.938 kB / 1.193 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.6364, allocations: 3.984 kB / 1.193 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009011/0.6373, allocations: 0.9425 MB / 1.193 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.6373, allocations: 0 / 1.193 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005889/0.6379, allocations: 159.8 kB / 1.194 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004191/0.6383, allocations: 72.73 kB / 1.194 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-05/0.6384, allocations: 35.91 kB / 1.194 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00164/0.6401, allocations: 1.654 MB / 1.195 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.6401, allocations: 3.984 kB / 1.195 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00186/0.6419, allocations: 0.9942 MB / 1.196 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000302/0.6422, allocations: 283.7 kB / 1.197 GB, free: 9.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.6424, allocations: 27.94 kB / 1.197 GB, free: 9.312 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006372/0.643, allocations: 76.14 kB / 1.197 GB, free: 9.242 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.6432, allocations: 72.89 kB / 1.197 GB, free: 9.172 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.129e-05/0.6432, allocations: 39.97 kB / 1.197 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004962/0.6437, allocations: 483 kB / 1.197 GB, free: 8.668 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6438, allocations: 4 kB / 1.197 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006518/0.6444, allocations: 331.3 kB / 1.198 GB, free: 8.34 MB / 0.9512 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.003184/0.6476, allocations: 2.059 MB / 1.2 GB, free: 6.434 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002206/0.6498, allocations: 1.081 MB / 1.201 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.6498, allocations: 7.938 kB / 1.201 GB, free: 5.332 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008659/0.6507, allocations: 0.5473 MB / 1.201 GB, free: 4.773 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.6517, allocations: 300.8 kB / 1.201 GB, free: 4.496 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/0.6623, allocations: 7.166 MB / 1.208 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004975/0.6628, allocations: 1.04 MB / 1.209 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007602/0.6636, allocations: 279.1 kB / 1.21 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000511/0.6641, allocations: 411.3 kB / 1.21 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of SimCode: time 4.31e-07/0.6641, allocations: 0 / 1.21 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3616/1.026, allocations: 22.28 MB / 1.232 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002542/1.026, allocations: 315.4 kB / 1.232 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.492/3.518, allocations: 2.188 kB / 1.232 GB, free: 5.16 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)