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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008735/0.0008735, allocations: 96.94 kB / 15.36 MB, free: 0.7344 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.005184/0.005185, allocations: 168.9 kB / 16.26 MB, free: 6.652 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.193/1.193, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.238/2.238, allocations: 437.8 MB / 0.7121 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002974/0.0002974, allocations: 16 kB / 0.8729 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4954/0.4957, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005001/0.5007, allocations: 4.566 MB / 1.028 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1375/0.6383, allocations: 146.9 MB / 1.171 GB, free: 7.844 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006587/0.639, allocations: 15.88 kB / 1.171 GB, free: 7.828 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005402/0.6395, allocations: 154.8 kB / 1.171 GB, free: 7.676 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001515/0.641, allocations: 498.6 kB / 1.172 GB, free: 7.191 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001565/0.6426, allocations: 0.7347 MB / 1.172 GB, free: 6.461 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001376/0.644, allocations: 1.347 MB / 1.174 GB, free: 5.109 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007218/0.6447, allocations: 0.5633 MB / 1.174 GB, free: 4.527 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004892/0.6452, allocations: 378.3 kB / 1.175 GB, free: 4.156 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004415/0.6457, allocations: 425.7 kB / 1.175 GB, free: 3.738 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.264e-05/0.6458, allocations: 28 kB / 1.175 GB, free: 3.711 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006397/0.6464, allocations: 371.6 kB / 1.175 GB, free: 3.348 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001776/0.6466, allocations: 195 kB / 1.176 GB, free: 3.156 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003911/0.647, allocations: 498.7 kB / 1.176 GB, free: 2.66 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001239/0.6482, allocations: 1.549 MB / 1.178 GB, free: 1.105 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.6483, allocations: 0 / 1.178 GB, free: 1.105 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6483, allocations: 0 / 1.178 GB, free: 1.105 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.287e-06/0.6483, allocations: 0 / 1.178 GB, free: 1.105 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.002115/0.6504, allocations: 1.261 MB / 1.179 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.6504, allocations: 12.03 kB / 1.179 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001555/0.6506, allocations: 135.7 kB / 1.179 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008239/0.6514, allocations: 207.3 kB / 1.179 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009036/0.6524, allocations: 0.7661 MB / 1.18 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.788e-05/0.6524, allocations: 70 kB / 1.18 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.6525, allocations: 84 kB / 1.18 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.654, allocations: 0.9691 MB / 1.181 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.654, allocations: 0 / 1.181 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.224e-05/0.6541, allocations: 36 kB / 1.181 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/0.6541, allocations: 20 kB / 1.181 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001705/0.6558, allocations: 1.171 MB / 1.182 GB, free: 12.24 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.003786/0.6596, allocations: 2.922 MB / 1.185 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/0.661, allocations: 0.856 MB / 1.186 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005378/0.6616, allocations: 326.7 kB / 1.186 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.193e-05/0.6617, allocations: 36.67 kB / 1.186 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008381/0.6625, allocations: 0.5315 MB / 1.187 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=88): time 3.948e-06/0.6625, allocations: 4 kB / 1.187 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88): time 0.003031/0.6656, allocations: 1.313 MB / 1.188 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.296e-05/0.6657, allocations: 196.9 kB / 1.188 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007022/0.6664, allocations: 0.6605 MB / 1.189 GB, free: 5.18 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.927e-05/0.6665, allocations: 41.7 kB / 1.189 GB, free: 5.133 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/0.6667, allocations: 404.4 kB / 1.189 GB, free: 4.73 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002132/0.6669, allocations: 280 kB / 1.19 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.124e-05/0.667, allocations: 69.67 kB / 1.19 GB, free: 4.379 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.6672, allocations: 390.7 kB / 1.19 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005053/0.6677, allocations: 281.8 kB / 1.19 GB, free: 3.715 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005806/0.6683, allocations: 386.5 kB / 1.191 GB, free: 3.309 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.6694, allocations: 0.6437 MB / 1.191 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.6694, allocations: 0 / 1.191 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00182/0.6712, allocations: 0.8877 MB / 1.192 GB, free: 1.758 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.6712, allocations: 4 kB / 1.192 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.6713, allocations: 0 / 1.192 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005611/0.6718, allocations: 80.84 kB / 1.192 GB, free: 1.672 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006506/0.6725, allocations: 167.8 kB / 1.192 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/0.6744, allocations: 1.543 MB / 1.194 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006564/0.675, allocations: 109.1 kB / 1.194 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.828e-05/0.6751, allocations: 35.97 kB / 1.194 GB, free: 15.68 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.0003413/0.6755, allocations: 269.6 kB / 1.194 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.6756, allocations: 86.97 kB / 1.194 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002388/0.678, allocations: 1.172 MB / 1.195 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.678, allocations: 12 kB / 1.196 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.678, allocations: 3.938 kB / 1.196 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.678, allocations: 3.984 kB / 1.196 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009503/0.679, allocations: 0.9386 MB / 1.196 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.679, allocations: 0 / 1.196 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005985/0.6796, allocations: 159.8 kB / 1.197 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004896/0.6801, allocations: 84.77 kB / 1.197 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.018e-05/0.6802, allocations: 31.97 kB / 1.197 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001649/0.6818, allocations: 1.559 MB / 1.198 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.6818, allocations: 4.031 kB / 1.198 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001902/0.6837, allocations: 1.006 MB / 1.199 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003319/0.6841, allocations: 299.5 kB / 1.199 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.6842, allocations: 27.98 kB / 1.2 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006681/0.6849, allocations: 83.47 kB / 1.2 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.685, allocations: 80.88 kB / 1.2 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.39e-05/0.6851, allocations: 39.97 kB / 1.2 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005175/0.6856, allocations: 483 kB / 1.2 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6856, allocations: 0 / 1.2 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006918/0.6863, allocations: 331.2 kB / 1.2 GB, free: 8.789 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.003226/0.6896, allocations: 2.06 MB / 1.202 GB, free: 6.883 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001543/0.6911, allocations: 0.8665 MB / 1.203 GB, free: 6.004 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.6911, allocations: 4 kB / 1.203 GB, free: 6 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008975/0.692, allocations: 0.5586 MB / 1.204 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.6932, allocations: 285.5 kB / 1.204 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/0.7039, allocations: 7.207 MB / 1.211 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005372/0.7045, allocations: 1.04 MB / 1.212 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007652/0.7052, allocations: 275.1 kB / 1.212 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005274/0.7058, allocations: 411.3 kB / 1.213 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of SimCode: time 4.51e-07/0.7058, allocations: 0 / 1.213 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08664/0.7924, allocations: 21.33 MB / 1.234 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/0.7927, allocations: 315.8 kB / 1.234 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.571/3.363, allocations: 0 / 1.234 GB, free: 6.742 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)